summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/include/hyperv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hyperv/include/hyperv.h')
-rw-r--r--sys/dev/hyperv/include/hyperv.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index ca8231b..db54366 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -537,7 +537,8 @@ typedef struct hv_vmbus_channel {
struct hv_device* device;
struct vmbus_softc *vmbus_sc;
hv_vmbus_channel_state state;
- hv_vmbus_channel_offer_channel offer_msg;
+ uint32_t ch_flags; /* VMBUS_CHAN_FLAG_ */
+ uint32_t ch_id; /* channel id */
/*
* These are based on the offer_msg.monitor_id.
* Save it here for easy access.
@@ -628,12 +629,18 @@ typedef struct hv_vmbus_channel {
struct task ch_detach_task;
TAILQ_ENTRY(hv_vmbus_channel) ch_link;
+ uint32_t ch_subidx; /* subchan index */
+
+ struct hv_guid ch_guid_type;
+ struct hv_guid ch_guid_inst;
struct sysctl_ctx_list ch_sysctl_ctx;
} hv_vmbus_channel;
#define HV_VMBUS_CHAN_ISPRIMARY(chan) ((chan)->primary_channel == NULL)
+#define VMBUS_CHAN_FLAG_HASMNF 0x0001
+
static inline void
hv_set_channel_read_state(hv_vmbus_channel* channel, boolean_t state)
{
OpenPOWER on IntegriCloud