Skip to content

Commit 4e2caaf

Browse files
committed
TBD
Signed-off-by: Babis Chalios <[email protected]>
1 parent 8aeecc4 commit 4e2caaf

File tree

1 file changed

+7
-0
lines changed
  • src/vmm/src/arch/aarch64/gic/gicv3

1 file changed

+7
-0
lines changed

src/vmm/src/arch/aarch64/gic/gicv3/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ mod regs;
66
use kvm_ioctls::{DeviceFd, VmFd};
77

88
use crate::arch::aarch64::gic::{GicError, GicState};
9+
use crate::logger::info;
910

1011
#[derive(Debug)]
1112
pub struct GICv3(super::GIC);
@@ -142,6 +143,12 @@ impl GICv3 {
142143
flags: 0,
143144
};
144145

146+
let msi_address = Self::get_msi_address(gic_device.vcpu_count());
147+
info!(
148+
"MSI address for VM with {} vCPUs: {msi_address:x#}",
149+
gic_device.vcpu_count()
150+
);
151+
145152
let its_fd = vm
146153
.create_device(&mut its_device)
147154
.map_err(GicError::CreateGIC)?;

0 commit comments

Comments
 (0)