Bug 1083969
| Summary: | libguestfs-test-tool hangs when the guest is boot with -cpu host | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Qian Guo <qiguo> | ||||||||
| Component: | kernel | Assignee: | Marcelo Tosatti <mtosatti> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 7.0 | CC: | choma, hhuang, juzhang, knoel, lilu, michen, qiguo, rbalakri, virt-maint, xfu | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | kernel-3.10.0-186.el7 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-03-05 11:48:14 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 833649 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Qian Guo
2014-04-03 10:22:24 UTC
Created attachment 882211 [details]
libguestfs-test-tool result of cpu host
Created attachment 882212 [details]
libguestfs-test-tool result of cpu SandyBridge
According to bug 986048 comment 31 , I reproduced this issue and file this bug, this bug is not a regression. Reassigning to Marcelo. Maybe it's a dupe of Bug 1038427? (In reply to Ademar Reis from comment #5) > Reassigning to Marcelo. Maybe it's a dupe of Bug 1038427? Ademar, it is not because bug of BZ 1038427 results in [70040.943669] nested_vmx_run: VMCS MSR_{LOAD,STORE} unsupported Created attachment 940236 [details] test with comment7, libguestfs-test-tool can finish with -cpu host *** Bug 1038427 has been marked as a duplicate of this bug. *** Patch(es) available on kernel-3.10.0-186.el7 Reproduced this bug with kernel-3.10.0-183.el7
Steps:
1.Confirm nested =1
# cat /sys/module/kvm_intel/parameters/nested
Y
2.Boot guest with -cpu host
# /usr/libexec/qemu-kvm -S -name rhel7 -M pc -nodefaults -vga std -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 -drive id=drive_image1,if=none,cache=none,aio=native,file=/home/rhel7u1/rhel7u1cp1.qcow2 -device virtio-blk-pci,id=image1,drive=drive_image1,bus=pci.0,addr=04 -device virtio-net-pci,mac=16:33:3f:09:12:78,id=vnet0,netdev=hostdev0,bus=pci.0,addr=05 -netdev tap,id=hostdev0,vhost=on,script=/etc/qemu-ifup -m 4G -smp 4,sockets=1,cores=4,threads=1 -cpu host -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -vnc :3 -rtc base=localtime,clock=host,driftfix=slew -boot menu=on -enable-kvm -monitor stdio -qmp unix:/tmp/q1,server,nowait -device virtio-balloon-pci,id=b1
3.Inside guest:
# libguestfs-test-tool
Actual results:
The tool hangs at
...
NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
...
So this bug is reproduced
Verify this bug with kernel-3.10.0-197.el7.x86_64 and qemu-kvm-rhev-2.1.2-6.el7.x86_64
Steps as above,
result,
Guest# libguestfs-test-tool
************************************************************
* IMPORTANT NOTICE
*
* When reporting bugs, include the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
SELinux: Enforcing
...
libguestfs: closing guestfs handle 0x7fb2fcb2de80 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfstIGn2Z
===== TEST FINISHED OK =====
So this bug is fixed
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0290.html |