|
@@ -150,10 +150,18 @@ struct VirtIODevice
|
|
VMChangeStateEntry *vmstate;
|
|
VMChangeStateEntry *vmstate;
|
|
char *bus_name;
|
|
char *bus_name;
|
|
uint8_t device_endian;
|
|
uint8_t device_endian;
|
|
|
|
+ /**
|
|
|
|
+ * @user_guest_notifier_mask: gate usage of ->guest_notifier_mask() callback.
|
|
|
|
+ * This is used to suppress the masking of guest updates for
|
|
|
|
+ * vhost-user devices which are asynchronous by design.
|
|
|
|
+ */
|
|
bool use_guest_notifier_mask;
|
|
bool use_guest_notifier_mask;
|
|
AddressSpace *dma_as;
|
|
AddressSpace *dma_as;
|
|
QLIST_HEAD(, VirtQueue) *vector_queues;
|
|
QLIST_HEAD(, VirtQueue) *vector_queues;
|
|
QTAILQ_ENTRY(VirtIODevice) next;
|
|
QTAILQ_ENTRY(VirtIODevice) next;
|
|
|
|
+ /**
|
|
|
|
+ * @config_notifier: the event notifier that handles config events
|
|
|
|
+ */
|
|
EventNotifier config_notifier;
|
|
EventNotifier config_notifier;
|
|
bool device_iotlb_enabled;
|
|
bool device_iotlb_enabled;
|
|
};
|
|
};
|