Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuIGu-0003cz-No for qemu-devel@nongnu.org; Wed, 24 Mar 2010 00:32:48 -0400 Received: from [140.186.70.92] (port=38972 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuIGt-0003cp-2k for qemu-devel@nongnu.org; Wed, 24 Mar 2010 00:32:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuIGr-0004jl-SM for qemu-devel@nongnu.org; Wed, 24 Mar 2010 00:32:46 -0400 Received: from sinclair.provo.novell.com ([137.65.248.137]:7930) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuIGr-0004jM-H3 for qemu-devel@nongnu.org; Wed, 24 Mar 2010 00:32:45 -0400 Message-Id: <4BA9418A020000480009128F@sinclair.provo.novell.com> Date: Tue, 23 Mar 2010 22:32:42 -0600 From: "Bruce Rogers" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [Qemu-devel] Windows XP and 2003 fails to install List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Windows XP and 2003 are not installing on current kvm via libvirt, due to = an issue with the drive geometry presented via the BIOS. They do not reboot, after the first portion of the install. libvirt version 0.7.6 is utilizing the -drive ... / -device ... command = line arguments to qemu-kvm, which are not correctly interacting with the = bios causing incorrect geometry to be provided in the bios calls. If you = use the -hda ... command line parameter to specify the disk (or the = implicit version), then Windows will install correctly. I was able to change the code to artificially indicate that the bios = should provide a translated geometry (as it does for -file), which = resulted in the correct geometry being written to the master boot record = (or at least the same as I get with old style way of providing a file to = -hda. So far in debugging this, I've been able to determine that there is a CMOS = byte which indicates to the BIOS what IDE drives should use translation. = This gets handled correctly for the old way of specifying drives, but the = same isn't done in the qdev storage device code. Any tips on how this should be resolved? Bruce