Bug 996011
Summary: | vlan and queues options cause core dumped when qemu-kvm process quit(or ctrl+c) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | FuXiangChun <xfu> |
Component: | qemu-kvm | Assignee: | Vlad Yasevich <vyasevic> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.0 | CC: | hhuang, juzhang, knoel, michen, mst, qiguo, rbalakri, rmainz, virt-maint, vyasevic |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-1.5.3-70.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 08:01:18 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
FuXiangChun
2013-08-12 08:19:41 UTC
Low priority, we don't use vlan for qdev. Not a blocker, since it can only happen when running QEMU manually. (netdev and vlan together). Vlad already fixed it upstream, so we shall get it as part of the 7.1 rebase. Fix included in qemu-kvm-1.5.3-70.el7 Reproduced this bug with qemu-kvm-1.5.3-69.el7.x86_64 Steps: 1.Boot guest with vlan and queues /usr/libexec/qemu-kvm -monitor stdio -device virtio-net-pci,netdev=fuxc1,vlan=1 -netdev tap,id=fuxc1,vhost=on,script=/etc/qemu-ifup,queues=2 2.quit it (qemu) q Detaching after fork from child process 6502. /etc/qemu-ifdown: could not launch network script Program received signal SIGSEGV, Segmentation fault. qemu_free_net_client (nc=0x0) at net/net.c:291 291 if (nc->send_queue) { (gdb) bt #0 qemu_free_net_client (nc=0x0) at net/net.c:291 #1 0x00005555556e6010 in qemu_del_nic (nic=0x5555565ac030) at net/net.c:355 #2 0x00005555556e7429 in net_cleanup () at net/net.c:1092 #3 0x00007ffff2c95e79 in __run_exit_handlers () from /lib64/libc.so.6 #4 0x00007ffff2c95ec5 in exit () from /lib64/libc.so.6 #5 0x00007ffff2c7eafc in __libc_start_main () from /lib64/libc.so.6 #6 0x0000555555605fed in _start () (gdb) So this bug is reproduced. Verify this bug with qemu-kvm-1.5.3-75.el7.x86_64 Try to launch qemu-kvm # /usr/libexec/qemu-kvm -monitor stdio -device virtio-net-pci,netdev=fuxc1,vlan=2 -netdev tap,id=fuxc1,vhost=on,script=/etc/qemu-ifup,queues=2 Result: Can not boot when vlan and netdev together. QEMU 1.5.3 monitor - type 'help' for more information (qemu) qemu-kvm: -device virtio-net-pci,netdev=fuxc1,vlan=2: Property 'virtio-net-pci.vlan' doesn't take value 'legacy-vlan' /etc/qemu-ifdown: could not launch network script So this bug is fixed by qemu-kvm-1.5.3-75.el7.x86_64 Verify this this bug with qemu-kvm-rhev-2.1.2-3.el7.x86_64 Try to launch qemu-kvm # /usr/libexec/qemu-kvm -monitor stdio -device virtio-net-pci,netdev=fuxc1,vlan=2 -netdev tap,id=fuxc1,vhost=on,script=/etc/qemu-ifup,queues=2 Result: Can not boot when vlan and netdev together. QEMU 2.1.2 monitor - type 'help' for more information (qemu) qemu-kvm: -device virtio-net-pci,netdev=fuxc1,vlan=2: Property 'virtio-net-pci.vlan' doesn't take value 'vlan' /etc/qemu-ifdown: could not launch network script So this bug is fixed by qemu-kvm-rhev-2.1.2-3.el7.x86_64 So according to above, this bug is verified 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-0349.html |