vmm: Move devices creation to Vm creation

This moves the devices creation out of the dedicated restore function
which will be eventually removed.

This factorizes the creation of all devices into a single location.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-12-01 10:32:56 +01:00
parent bccfa81368
commit 1c36065754
3 changed files with 29 additions and 19 deletions
+3
View File
@@ -1253,6 +1253,9 @@ impl Vmm {
activate_evt,
true,
timestamp,
None,
None,
None,
Some(&snapshot),
)
.map_err(|e| {