Bug 1198016

Summary: qemu will hang when specify "-realtime mlock=on" and "-sandbox on" at the same time
Product: Red Hat Enterprise Linux 7 Reporter: jinliu
Component: qemu-kvm-rhevAssignee: Amit Shah <amit.shah>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: hhuang, juzhang, lmiksik, mazhang, mrezanin, virt-maint, xfu
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: qemu-2.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-04 16:31:04 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:

Description jinliu 2015-03-03 08:45:10 UTC
Description of problem:
when using "-realtime mlock=on" and "-sandbox on" at the same time, qemu-kvm will hang.

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.2.0-5.el7.x86_64
host kernel:
3.10.0-230.el7.x86_64
Guest kernel:
3.10.0-230.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.boot guest with "-realtime mlock=on" and "-sandbox on". cli as followings:
# /usr/libexec/qemu-kvm -realtime mlock=on -sandbox on -monitor stdio
2.
3.

Actual results:
After step 1, qemu-kvm will hang.

Expected results:
After step 1, qemu-kvm works well.

Additional info:

Comment 2 jinliu 2015-03-03 09:22:42 UTC
I also test with qemu-kvm-rhev-2.1.2-23.el7.x86_64, don't hit this issue. So QE add "Regression" keyword. 

Any mistake, free to correct me. Thx.

Comment 6 mazhang 2015-06-11 03:15:01 UTC
Reproduce this bug on qemu-kvm-rhev-2.2.0-9.el7.x86_64.

Host:
qemu-kvm-rhev-2.2.0-9.el7.x86_64
3.10.0-262.el7.x86_64

Steps:
Start qemu-kvm with:
/usr/libexec/qemu-kvm -realtime mlock=on -sandbox on -monitor stdio

Result:
qemu-kvm hang.

# ps ax |grep qemu
19960 pts/0    Zl+    0:00 [qemu-kvm] <defunct>


Verify this bug on qemu-kvm-rhev-2.3.0-2.el7.

Result:
qemu-kvm works well.
#  /usr/libexec/qemu-kvm -realtime mlock=on -sandbox on -monitor stdio
QEMU 2.3.0 monitor - type 'help' for more information
(qemu) VNC server running on `::1:5900'

(qemu) 
(qemu) info status
VM status: running

So this bug has been fixed.

Comment 10 errata-xmlrpc 2015-12-04 16:31:04 UTC
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/RHBA-2015-2546.html