diff --git a/hypervisor/arch/x86/guest/vioapic.c b/hypervisor/arch/x86/guest/vioapic.c index 4d34fd10e..0d453a6cb 100644 --- a/hypervisor/arch/x86/guest/vioapic.c +++ b/hypervisor/arch/x86/guest/vioapic.c @@ -540,6 +540,8 @@ vioapic_reset(struct vioapic *vioapic) for (pin = 0U; pin < pincount; pin++) { vioapic->rtbl[pin].full = MASK_ALL_INTERRUPTS; } + vioapic->id = 0U; + vioapic->ioregsel = 0U; } struct vioapic *