diff options
author | Nir Weiner <nir.weiner@oracle.com> | 2019-04-16 15:59:11 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-06-02 21:32:06 -0400 |
commit | 4ea57425584798ccde1da6343cbfbb22497f2e4e (patch) | |
tree | f27b426846bd2780869fec38c267dce1eba8c189 /include/hw/virtio | |
parent | c6d369fd78c654fa618e382b39da850393b8a0da (diff) |
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