summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-07-10 16:35:12 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-10-04 04:54:05 -0400
commitf92a2d61cd86fd585b1b2a57295fcde278aebd78 (patch)
tree6175f36a387f03e8bd99aa0ade3d737aa3cee390 /hw/net/virtio-net.c
parenteee77809733d3a94c0d78a29a93d032c1faefd2c (diff)
downloadfocaccia-qemu-f92a2d61cd86fd585b1b2a57295fcde278aebd78.tar.gz
focaccia-qemu-f92a2d61cd86fd585b1b2a57295fcde278aebd78.zip
hw/virtio: add config support to vhost-user-device
To use the generic device the user will need to provide the config
region size via the command line. We also add a notifier so the guest
can be pinged if the remote daemon updates the config.

With these changes:

  -device vhost-user-device-pci,virtio-id=41,num_vqs=2,config_size=8

is equivalent to:

  -device vhost-user-gpio-pci

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230710153522.3469097-11-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions