diff options
author | Changpeng Liu <changpeng.liu@intel.com> | 2018-01-04 09:53:31 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-01-18 21:52:37 +0200 |
commit | 4c3e257b5e6ccba6bd34f780fab8008e0d79680a (patch) | |
tree | 30483268b49b9826d8387f443b88d19e9a58a5f5 /hw/virtio/virtio-pci.c | |
parent | 1bcf209154445a5837a8fc0fc9d88200fedb25b2 (diff) | |
download | qemu-4c3e257b5e6ccba6bd34f780fab8008e0d79680a.zip qemu-4c3e257b5e6ccba6bd34f780fab8008e0d79680a.tar.gz qemu-4c3e257b5e6ccba6bd34f780fab8008e0d79680a.tar.bz2 |
vhost-user: add new vhost user messages to support virtio config space
Add VHOST_USER_GET_CONFIG/VHOST_USER_SET_CONFIG messages which can be
used for live migration of vhost user devices, also vhost user devices
can benefit from the messages to get/set virtio config space from/to the
I/O target. For the purpose to support virtio config space change,
VHOST_USER_SLAVE_CONFIG_CHANGE_MSG message is added as the event notifier
in case virtio config space change in the slave I/O target.
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-pci.c')
0 files changed, 0 insertions, 0 deletions