mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
virtio-devices: vdpa: Don't restore on paused state
Since vdpa device does not support pause/resume [1], it does not make
sense to restore on paused state.
[1] 099cdd2af8
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
6cb76abbf1
commit
cdd3ff5e5a
@ -151,7 +151,7 @@ impl Vdpa {
|
||||
last: state.iova_range_last,
|
||||
},
|
||||
state.backend_features,
|
||||
true,
|
||||
false,
|
||||
)
|
||||
} else {
|
||||
let device_type = vhost.get_device_id().map_err(Error::GetDeviceId)?;
|
||||
|
Loading…
Reference in New Issue
Block a user