mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 19:00:16 +00:00
dm: fix assertion in pci_irq_reserve
atkbdc_init will call pci_irq_reserve to reserve irq 1 & 12, which need pci_irq_init be called first. Tracked-On: #1402 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -499,12 +499,12 @@ vm_reset_vdevs(struct vmctx *ctx)
|
||||
pci_irq_deinit(ctx);
|
||||
ioapic_deinit();
|
||||
|
||||
pci_irq_init(ctx);
|
||||
atkbdc_init(ctx);
|
||||
vrtc_init(ctx);
|
||||
vpit_init(ctx);
|
||||
|
||||
ioapic_init(ctx);
|
||||
pci_irq_init(ctx);
|
||||
init_pci(ctx);
|
||||
|
||||
if (acpi) {
|
||||
|
Reference in New Issue
Block a user