[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 04/20] include/hw/virtio: document virtio_notify_config
From: |
Alex Bennée |
Subject: |
[PATCH v3 04/20] include/hw/virtio: document virtio_notify_config |
Date: |
Mon, 10 Jul 2023 16:35:06 +0100 |
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
include/hw/virtio/virtio.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 0492d26900..0671989383 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -276,6 +276,13 @@ extern const VMStateInfo virtio_vmstate_info;
int virtio_load(VirtIODevice *vdev, QEMUFile *f, int version_id);
+/**
+ * virtio_notify_config() - signal a change to device config
+ * @vdev: the virtio device
+ *
+ * Assuming the virtio device is up (VIRTIO_CONFIG_S_DRIVER_OK) this
+ * will trigger a guest interrupt and update the config version.
+ */
void virtio_notify_config(VirtIODevice *vdev);
bool virtio_queue_get_notification(VirtQueue *vq);
--
2.39.2
- [PATCH v3 00/20] virtio: add vhost-user-generic, reduce c&p and support standalone, Alex Bennée, 2023/07/10
- [PATCH v3 01/20] include: attempt to document device_class_set_props, Alex Bennée, 2023/07/10
- [PATCH v3 03/20] hw/virtio: fix typo in VIRTIO_CONFIG_IRQ_IDX comments, Alex Bennée, 2023/07/10
- [PATCH v3 05/20] include/hw/virtio: add kerneldoc for virtio_init, Alex Bennée, 2023/07/10
- [PATCH v3 04/20] include/hw/virtio: document virtio_notify_config,
Alex Bennée <=
- [PATCH v3 07/20] virtio: add vhost-user-base and a generic vhost-user-device, Alex Bennée, 2023/07/10
- [PATCH v3 11/20] hw/virtio: derive vhost-user-gpio from vhost-user-device, Alex Bennée, 2023/07/10
- [PATCH v3 02/20] include/hw: document the device_class_set_parent_* fns, Alex Bennée, 2023/07/10
- [RFC PATCH v3 15/20] hw/virtio: move vhost_user_init earlier, Alex Bennée, 2023/07/10
- [RFC PATCH v3 19/20] hw/virtio: probe backend for specs if it supports it, Alex Bennée, 2023/07/10
- [PATCH v3 09/20] hw/virtio: derive vhost-user-rng from vhost-user-device, Alex Bennée, 2023/07/10
- [PATCH v3 06/20] include/hw/virtio: document some more usage of notifiers, Alex Bennée, 2023/07/10
- [PATCH v3 08/20] virtio: add PCI stub for vhost-user-device, Alex Bennée, 2023/07/10
- [PATCH v3 10/20] hw/virtio: add config support to vhost-user-device, Alex Bennée, 2023/07/10