public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] extboot should update number of HDs reported by BIOS
@ 2009-03-24  8:43 Gleb Natapov
  2009-03-24 10:03 ` Tomasz Chmielewski
  2009-03-24 12:36 ` Avi Kivity
  0 siblings, 2 replies; 5+ messages in thread
From: Gleb Natapov @ 2009-03-24  8:43 UTC (permalink / raw)
  To: kvm; +Cc: anthony

This fixes Vista boot from virtio-blk issue.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/extboot/extboot.S b/extboot/extboot.S
index e3d1adf..1e60f68 100644
--- a/extboot/extboot.S
+++ b/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
--
			Gleb.

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-24 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24  8:43 [PATCH] extboot should update number of HDs reported by BIOS Gleb Natapov
2009-03-24 10:03 ` Tomasz Chmielewski
2009-03-24 10:02   ` Gleb Natapov
2009-03-24 17:29     ` Dor Laor
2009-03-24 12:36 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox