From: Avi Kivity <[email protected]> This allows the apic code to be run early, before virtual memory is set up.
Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]> diff --git a/kvm/user/test/x86/apic.c b/kvm/user/test/x86/apic.c index 504def2..63d326d 100644 --- a/kvm/user/test/x86/apic.c +++ b/kvm/user/test/x86/apic.c @@ -426,8 +426,8 @@ int main() { setup_vm(); - g_apic = vmap(0xfee00000, 0x1000); - g_ioapic = vmap(0xfec00000, 0x1000); + g_apic = (void *)0xfee00000; + g_ioapic = (void *)0xfec00000; test_lapic_existence(); -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
