kvm: Fixup boot selector

The boot selector for modern boot protocol is 64K not 4K.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
Cyrill Gorcunov
2015-06-01 16:39:38 +01:00
committed by Will Deacon
parent ea2e4ea0ce
commit 5f6772b8ea
+1 -1
View File
@@ -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