virtio-devices, vm-virtio: Refactor queue state saving/restoring

Use a separate QueueState structure which can be versioned.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-06-01 09:30:03 +00:00
committed by Sebastien Boeuf
parent 831dff8b4e
commit 57f532a760
5 changed files with 29 additions and 22 deletions
-2
View File
@@ -12,8 +12,6 @@
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_derive;
use std::fmt;