Skip to content

Commit 12a98ac

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

File tree

1 file changed

+3
-1
lines changed
  • src/vmm/src/arch/aarch64/gic/gicv3

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,12 @@ impl GICv3 {
142142
fd: 0,
143143
flags: 0,
144144
};
145+
assert_eq!(kvm_bindings::kvm_device_type_KVM_DEV_TYPE_ARM_VGIC_ITS, 8);
146+
assert_eq!(kvm_bindings::KVM_DEV_ITS_ADDR_TYPE);
145147

146148
let msi_address = Self::get_msi_address(gic_device.vcpu_count());
147149
info!(
148-
"MSI address for VM with {} vCPUs: {msi_address:x#}",
150+
"MSI address for VM with {} vCPUs: {msi_address:#x}",
149151
gic_device.vcpu_count()
150152
);
151153

0 commit comments

Comments
 (0)