From f99466561050b77e25019bc7bd250f47c0a6a242 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 9 Dec 2019 15:09:05 +0000 Subject: [PATCH] vmm: Reduce the minimum IRQ constant Now that the GED device does not use a hardcoded IRQ number the starting IRQ number can be restored (needed for the hardcoded serial port IRQ.) Signed-off-by: Rob Bradford --- vmm/src/vm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/vm.rs b/vmm/src/vm.rs index 7c1e46529..ed2f4ef5f 100755 --- a/vmm/src/vm.rs +++ b/vmm/src/vm.rs @@ -51,7 +51,7 @@ use vm_memory::{ use vmm_sys_util::eventfd::EventFd; use vmm_sys_util::terminal::Terminal; -const X86_64_IRQ_BASE: u32 = 6; +const X86_64_IRQ_BASE: u32 = 5; // CPUID feature bits const TSC_DEADLINE_TIMER_ECX_BIT: u8 = 24; // tsc deadline timer ecx bit.