diff options
| author | Nir Weiner | 2019-04-16 14:59:11 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-06-03 03:32:06 +0200 |
| commit | 4ea57425584798ccde1da6343cbfbb22497f2e4e (patch) | |
| tree | f27b426846bd2780869fec38c267dce1eba8c189 /include/hw/virtio | |
| parent | vhost-scsi: The vhost backend should be stopped when the VM is not running (diff) | |
| download | qemu-4ea57425584798ccde1da6343cbfbb22497f2e4e.tar.gz qemu-4ea57425584798ccde1da6343cbfbb22497f2e4e.tar.xz qemu-4ea57425584798ccde1da6343cbfbb22497f2e4e.zip | |
vhost-scsi: Add VMState descriptor
As preparation of enabling migration of vhost-scsi device,
define it’s VMState. Note, we keep the convention of
verifying in the pre_save() method that the vhost backend
must be stopped before attempting to save the device
state. Similar to how it is done for vhost-vsock.
Reviewed-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Nir Weiner <nir.weiner@oracle.com>
Message-Id: <20190416125912.44001-3-liran.alon@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/hw/virtio')
0 files changed, 0 insertions, 0 deletions
