diff options
author | 2019-04-16 15:59:11 +0300 | |
---|---|---|
committer | 2019-06-02 21:32:06 -0400 | |
commit | 4ea57425584798ccde1da6343cbfbb22497f2e4e (patch) | |
tree | f27b426846bd2780869fec38c267dce1eba8c189 /util/qemu-coroutine.c | |
parent | vhost-scsi: The vhost backend should be stopped when the VM is not running (diff) | |
download | 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 'util/qemu-coroutine.c')
0 files changed, 0 insertions, 0 deletions