From patchwork Tue Mar 24 08:43:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 13908 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2O8lReQ022779 for ; Tue, 24 Mar 2009 08:47:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754885AbZCXIrZ (ORCPT ); Tue, 24 Mar 2009 04:47:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754441AbZCXIrZ (ORCPT ); Tue, 24 Mar 2009 04:47:25 -0400 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 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2O8lL2v010845; Tue, 24 Mar 2009 04:47:21 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2O8lGRc003565; Tue, 24 Mar 2009 04:47:16 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2O8lLk3015668; Tue, 24 Mar 2009 04:47:21 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 587) id 1C56718D41C; Tue, 24 Mar 2009 10:43:21 +0200 (IST) Date: Tue, 24 Mar 2009 10:43:21 +0200 From: Gleb Natapov To: kvm@vger.kernel.org Cc: anthony@codemonkey.ws Subject: [PATCH] extboot should update number of HDs reported by BIOS Message-ID: <20090324084321.GA30294@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This fixes Vista boot from virtio-blk issue. Signed-off-by: Gleb Natapov --- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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