Bug 507024

Summary: When shutting down Windows XP qemu-kvm hangs waiting on a futex
Product: [Fedora] Fedora Reporter: Bryan Christ <bryan.christ>
Component: qemuAssignee: Glauber Costa <gcosta>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dwmw2, gcosta, itamar, jaswinder, markmc, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-22 07:24:44 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bryan Christ 2009-06-19 17:18:03 EDT
Description of problem:

When shutting down Windows XP qemu-kvm hangs waiting on a futex which never gets released.  Since Qemu will not release the mouse, the process must be killed via the console to get the mouse back.  On reboot, Windows XP is not happy about the dirty shutdown.

Version-Release number of selected component (if applicable):


How reproducible:  100%


Steps to Reproduce:
1.  Launch a Windows XP session with qemu-kvm
2.  On Windows choose Start -> Shutdown
3.  Wait
  
Actual results:

Gnome system monitor indicates that qemu-kvm is waiting for a futex that never gets unlocked.

Additional Info:

qemu-0.10.5-3.fc11.x86_64
qemu-kvm-0.10.5-3.fc11.x86_64

Launching with:

qemu-kvm -monitor stdio -boot c -m 384 -hda /home/bchrist/work/virt/winxp.img -net nic,vlan=0 -net user,vlan=0 -localtime -soundhw es1370 -sdl
Comment 1 Mark McLoughlin 2009-06-22 07:24:44 EDT
Thanks Bryan, it's a known problem - one workaround is to use "QEMU_AUDIO_DRV=pa, the other is just to remove the -soundhw argument

*** This bug has been marked as a duplicate of bug 495964 ***