vmm: Fix the memory slot index
The memory slot index provided to the DeviceManager was wrong since only the RAM memory regions are set as user memory regions to KVM. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
b5eab43aa5
commit
b9f677c46c
1 changed files with 1 additions and 1 deletions
|
|
@ -1400,7 +1400,7 @@ impl<'a> Vm<'a> {
|
|||
&config,
|
||||
msi_capable,
|
||||
userspace_ioapic,
|
||||
arch_mem_regions.len() as u32,
|
||||
ram_regions.len() as u32,
|
||||
)
|
||||
.map_err(Error::DeviceManager)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue