Skip to content

Commit

Permalink
virtio-devices: vdpa: Not restore on paused state
Browse files Browse the repository at this point in the history
Since vdpa device does not support pause/resume [1], it does not make
sense to restore on paused state.

[1] 099cdd2

Signed-off-by: Bo Chen <chen.bo@intel.com>
  • Loading branch information
likebreath committed Jun 14, 2024
1 parent 827b150 commit ed931cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtio-devices/src/vdpa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit ed931cf

Please sign in to comment.