Red Hat Bugzilla – Bug 853306
cpu usage is high while guest is in safe mode
Last modified: 2014-09-11 05:48:44 EDT
Description of problem:
Press F8 and enter Save model, cpu usage is high
Version-Release number of selected component (if applicable):
Steps to Reproduce:
/usr/libexec/qemu-kvm -drive file=/home/winXP-32-virtio.qcow2,if=none,id=virtio-disk1,media=disk,aio=threads,cache=none,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=virtio-disk1,id=virtio1 -device rtl8139,netdev=idG74fKJ,mac=9a:a6:40:72:d0:c5,id=ndev00idG74fKJ,bus=pci.0,addr=0x3 -netdev tap,id=idG74fKJ,vhost=on,script=/home/autotest-devel/client/tests/kvm/scripts/qemu-ifup-switch -m 4096 -smp 2,cores=1,threads=1,sockets=2 -cpu 'Opteron_G3' -vnc :0 -vga std -rtc base=utc,clock=host,driftfix=slew -M rhel6.3.0 -boot order=cdn,once=c,menu=off -no-kvm-pit-reinjection -monitor stdio
2. Press F8 and enter save model
efer_reload 0 0
exits 9309221 3153
fpu_reload 1524738 382
halt_exits 1273 0
halt_wakeup 1243 0
host_state_reload 2282478 382
hypercalls 74557 18
insn_emulation 1635667 325
insn_emulation_fail 0 0
invlpg 0 0
io_exits 830377 324
irq_exits 6460556 2352
irq_injections 272620 149
irq_window 0 0
largepages 2423 0
mmio_exits 372137 0
mmu_cache_miss 438 0
mmu_flooded 0 0
mmu_pde_zapped 0 0
mmu_pte_updated 0 0
mmu_pte_write 2 0
mmu_recycled 0 0
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3974 root 20 0 4514m 3.5g 4344 R 99.9 47.6 19:32.71 qemu-kvm
3976 root 20 0 4514m 3.5g 4344 R 99.9 47.6 19:27.02 qemu-kvm
3960 root 20 0 4514m 3.5g 4344 S 0.7 47.6 0:10.05 qemu-kvm
3. guest: winxp
processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9600B Quad-Core Processor
stepping : 3
cpu MHz : 2300.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock
bogomips : 4587.96
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
I don't understand what "save model" would be (after pressing f8). Since it's a windows guest, I guess you mean "safe mode", which is a boot mode in Windows XP, and "press f8" means "press f8 inside the guest when windows begins to boot".
Please try something similar with a newer version of Windows (tests with win7-32 and win7-64 would be very welcome).
(In reply to comment #2)
> I don't understand what "save model" would be (after pressing f8). Since
> it's a windows guest, I guess you mean "safe mode", which is a boot mode in
> Windows XP, and "press f8" means "press f8 inside the guest when windows
> begins to boot".
sorry, it's safe mode
> Please try something similar with a newer version of Windows (tests with
> win7-32 and win7-64 would be very welcome).
can not enter safe mode with other guests(win7 and win2008)
no, reproduce on qemu-kvm-0.12.1.2-2.295.el6.x86_64
IIUC, this is not a regression, so postponing to 6.5
We suspect that this is a Windows issue (especially as a guest). Is there an option to do the same with Hyper-V instead of KVM?
(In reply to Ronen Hod from comment #8)
> We suspect that this is a Windows issue (especially as a guest). Is there an
> option to do the same with Hyper-V instead of KVM?
Seems a little old needinfo.
Could you please let your team have a look and give some testing if possible? Thanks
(In reply to juzhang from comment #10)
> (In reply to Ronen Hod from comment #8)
> > QE,
> > We suspect that this is a Windows issue (especially as a guest). Is there an
> > option to do the same with Hyper-V instead of KVM?
> Hi Lei,
> Seems a little old needinfo.
> Could you please let your team have a look and give some testing if
> possible? Thanks
> Best Regards,
Apologize for the late response Junyi, I've talked with shwang@ regarding the test request, please let us know what exacat senarios you'd like us to have a try, thanks.
(In reply to Qian Guo from comment #14)
> And only can reproduce it with windows xp guest
> Test windows7 32bit and windows7 64bit sp1 in safe mode, not hit such issue
Thanks a lot.
I am closing this bug. We are only dealing with very critical XP-specific bugs.