From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: [PATCH] extboot should update number of HDs reported by BIOS Date: Tue, 24 Mar 2009 10:43:21 +0200 Message-ID: <20090324084321.GA30294@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: anthony@codemonkey.ws To: kvm@vger.kernel.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:42975 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813AbZCXIrY (ORCPT ); Tue, 24 Mar 2009 04:47:24 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: This fixes Vista boot from virtio-blk issue. Signed-off-by: Gleb Natapov 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.