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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue