diff options
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 2f30456d90a5..138d6634c79d 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h | |||
@@ -755,4 +755,13 @@ static inline void hv_poll_channel(struct vmbus_channel *channel, | |||
755 | cb(channel); | 755 | cb(channel); |
756 | } | 756 | } |
757 | 757 | ||
758 | enum hvutil_device_state { | ||
759 | HVUTIL_DEVICE_INIT = 0, /* driver is loaded, waiting for userspace */ | ||
760 | HVUTIL_READY, /* userspace is registered */ | ||
761 | HVUTIL_HOSTMSG_RECEIVED, /* message from the host was received */ | ||
762 | HVUTIL_USERSPACE_REQ, /* request to userspace was sent */ | ||
763 | HVUTIL_USERSPACE_RECV, /* reply from userspace was received */ | ||
764 | HVUTIL_DEVICE_DYING, /* driver unload is in progress */ | ||
765 | }; | ||
766 | |||
758 | #endif /* _HYPERV_VMBUS_H */ | 767 | #endif /* _HYPERV_VMBUS_H */ |