From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM hangs with windows XP guest - help with debugging? Date: Tue, 01 Apr 2008 20:10:19 +0300 Message-ID: <47F26C7B.3040706@qumranet.com> References: <645d17210804010746s621b9918qf684f623d44f10ee@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: Jonathan Underwood Return-path: In-Reply-To: <645d17210804010746s621b9918qf684f623d44f10ee@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Jonathan Underwood wrote: > Hi, > > I am trying to run Windows XP pro as a guest under kvm. The host > system is Fedora 8. I have seen this behaviour with kvm-60 (as > currently packaged for Fedora 8) and kvm-64 (using the rawhide > package). > > Essentially, I install XP Pro successfuly. When I then try and run the > SP2 exe in order to update it to SP2, KVM always freezes at the point > where is says "Running post install processes). The command line I am > using is: > > /usr/bin/qemu-kvm -M pc -m 512 -smp 1 -monitor pty -localtime -no-acpi > -boot c -hda /home/VM/WindowsXP.img -net > nic,macaddr=00:16:3e:2a:1b:db,vlan=0 -net tap,fd=12,script=,vlan=0 > -usb -usbdevice tablet -no-kvm-pit > > I have tried this both via virt-manager (i.e. connecting to the guest > via vnc) and straight at the command line, and it happens for both. > > Host machine details: > > model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz > > kernel 2.6.24.3-50.fc8 (x86_64) > > When kvm hangs, there's no output produced on the console. What can I > do to debug this further? > Please run 'kvm_stat -1' (found in the tarball) while the guest is hanging and report the output. Also report whether the qemu process is consuming cpu or not. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace