[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 55/66] include/hw/virtio: document some more usage of notifiers
From: |
Michael S. Tsirkin |
Subject: |
[PULL 55/66] include/hw/virtio: document some more usage of notifiers |
Date: |
Mon, 10 Jul 2023 19:05:03 -0400 |
From: Alex Bennée <alex.bennee@linaro.org>
Lets document some more of the core VirtIODevice structure.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230710153522.3469097-7-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
include/hw/virtio/virtio.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 631490bda4..c8f72850bc 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -150,10 +150,18 @@ struct VirtIODevice
VMChangeStateEntry *vmstate;
char *bus_name;
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;
AddressSpace *dma_as;
QLIST_HEAD(, VirtQueue) *vector_queues;
QTAILQ_ENTRY(VirtIODevice) next;
+ /**
+ * @config_notifier: the event notifier that handles config events
+ */
EventNotifier config_notifier;
bool device_iotlb_enabled;
};
--
MST
- Re: [PULL 46/66] virtio-iommu: Fix 64kB host page size VFIO device assignment, (continued)
[PULL 59/66] vdpa: Restore MAC address filtering state, Michael S. Tsirkin, 2023/07/10
[PULL 57/66] pcie: Specify 0 for ARI next function numbers, Michael S. Tsirkin, 2023/07/10
[PULL 54/66] include/hw/virtio: add kerneldoc for virtio_init, Michael S. Tsirkin, 2023/07/10
[PULL 45/66] hw/pci: warn when PCIe device is plugged into non-zero slot of downstream port, Michael S. Tsirkin, 2023/07/10
[PULL 55/66] include/hw/virtio: document some more usage of notifiers,
Michael S. Tsirkin <=
[PULL 60/66] vdpa: Restore packet receive filtering state relative with _F_CTRL_RX feature, Michael S. Tsirkin, 2023/07/10
[PULL 58/66] vdpa: Use iovec for vhost_vdpa_net_load_cmd(), Michael S. Tsirkin, 2023/07/10
[PULL 62/66] vdpa: Accessing CVQ header through its structure, Michael S. Tsirkin, 2023/07/10
[PULL 56/66] pcie: Use common ARI next function number, Michael S. Tsirkin, 2023/07/10
[PULL 61/66] vhost: Fix false positive out-of-bounds, Michael S. Tsirkin, 2023/07/10
[PULL 63/66] vdpa: Avoid forwarding large CVQ command failures, Michael S. Tsirkin, 2023/07/10
[PULL 64/66] vdpa: Allow VIRTIO_NET_F_CTRL_RX in SVQ, Michael S. Tsirkin, 2023/07/10
[PULL 65/66] vdpa: Restore packet receive filtering state relative with _F_CTRL_RX_EXTRA feature, Michael S. Tsirkin, 2023/07/10
[PULL 66/66] vdpa: Allow VIRTIO_NET_F_CTRL_RX_EXTRA in SVQ, Michael S. Tsirkin, 2023/07/10
Re: [PULL 00/66] pc,pci,virtio: cleanups, fixes, features, Richard Henderson, 2023/07/11