public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: kvm@vger.kernel.org
Cc: anthony@codemonkey.ws
Subject: [PATCH] extboot should update number of HDs reported by BIOS
Date: Tue, 24 Mar 2009 10:43:21 +0200	[thread overview]
Message-ID: <20090324084321.GA30294@redhat.com> (raw)

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.

             reply	other threads:[~2009-03-24  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24  8:43 Gleb Natapov [this message]
2009-03-24 10:03 ` [PATCH] extboot should update number of HDs reported by BIOS Tomasz Chmielewski
2009-03-24 10:02   ` Gleb Natapov
2009-03-24 17:29     ` Dor Laor
2009-03-24 12:36 ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090324084321.GA30294@redhat.com \
    --to=gleb@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox