From 5f6772b8eae94a05d4cf8d8116d1a9f97deeead8 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 28 Mar 2010 18:21:05 +0400 Subject: [PATCH] kvm: Fixup boot selector The boot selector for modern boot protocol is 64K not 4K. Signed-off-by: Cyrill Gorcunov Signed-off-by: Pekka Enberg --- kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm.c b/kvm.c index c546be0..1051514 100644 --- a/kvm.c +++ b/kvm.c @@ -160,7 +160,7 @@ void kvm__enable_singlestep(struct kvm *self) warning("KVM_SET_GUEST_DEBUG failed"); } -#define BOOT_LOADER_SELECTOR 0x0100 +#define BOOT_LOADER_SELECTOR 0x1000 #define BOOT_LOADER_IP 0x0000 #define BOOT_LOADER_SP 0x8000