From 1722465ebd480af0f924bf00c5edceb81dd3003a Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Sun, 17 May 2009 10:43:05 -0500 Subject: [PATCH] kvm: extboot: Update number of HDs reported by BIOS The Vista boot loaded expects the bios to report a correct count of the bootable disks; and extboot disks are bootable. This fixes Vista boot from virtio-blk issue. Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- kvm/extboot/extboot.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kvm/extboot/extboot.S b/kvm/extboot/extboot.S index e3d1adf846..1e60f68785 100644 --- a/kvm/extboot/extboot.S +++ b/kvm/extboot/extboot.S @@ -32,6 +32,9 @@ _start: xor %ax, %ax mov %ax, %ds + /* there is one more bootable HD */ + incb 0x0475 + /* save old int 19 */ mov (0x19*4), %eax mov %eax, %cs:old_int19 -- 2.11.4.GIT