mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +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] https://github.com/cloud-hypervisor/cloud-hypervisor/commit/099cdd2af88ac6a8ede490e73ff0eb58a812bde2 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
@@ -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)?;
|
||||
|
||||
Reference in New Issue
Block a user