Bug 1182494
Summary: | BUG: qemu-kvm hang when enabled both sandbox and mlock | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | mazhang <mazhang> | ||||
Component: | qemu-kvm-rhev | Assignee: | Paolo Bonzini <pbonzini> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 7.1 | CC: | chayang, hhuang, huding, juzhang, mazhang, michen, pbonzini, pmoore, snagar, tlavigne, virt-maint, xfu, ypu | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-rhev-2.1.2-21.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-03-05 09:58:12 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: | |||||||
Attachments: |
|
Description
mazhang
2015-01-15 09:46:26 UTC
Created attachment 980391 [details]
system calls
qemu-kvm-1.5.3-60.el7 can't hit this problem. qemu-kvm-1.5.3-85.el7.x86_64 works well. Summary: qemu-kvm-rhev-2.1.2-13.el7 pass qemu-kvm-rhev-2.1.2-16.el7 pass qemu-kvm-rhev-2.1.2-17.el7 pass qemu-kvm-rhev-2.1.2-18.el7 fail qemu-kvm-rhev-2.1.2-19.el7 fail qemu-kvm-1.5.3-60.el7 pass qemu-kvm-1.5.3-85.el7 pass I can reproduce it, it looks like mlockall() is missing from the syscall whitelist. Start qemu-kvm by libvirt also hit this problem. libvirt-1.2.8-12.el7.x86_64 /etc/libvirt/qemu.conf ... # Use seccomp syscall whitelisting in QEMU. # 1 = on, 0 = off, -1 = use QEMU default # Defaults to -1. # seccomp_sandbox = 1 ... Libvirt xml file. ... <name>rhel7.1</name> <uuid>83ff576d-e168-49d1-9b2c-8b7f2e6643dc</uuid> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <memoryBacking> <locked/> </memoryBacking> ... Fix included in qemu-kvm-rhev-2.1.2-21.el7 Reproduced with qemu-kvm-rhev-2.1.2-20.el7.x86_64. Steps: 1. start a guest with both -sandbox on -realtime mlock=on Actual Result: No response from HMP. qemu-kvm died. ps shows: [qemu-kvm] <defunct> Verified pass with qemu-kvm-rhev-2.1.2-21.el7.x86_64. Guest can boot up correctly. So this bug got 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-0624.html |