RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1170391 - qemu core dump when repeadly hotplug/hotunplug serial port that transftering data
Summary: qemu core dump when repeadly hotplug/hotunplug serial port that transftering ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: pagupta
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1227833 (view as bug list)
Depends On: 1170042
Blocks: RHV4.1PPC
TreeView+ depends on / blocked
 
Reported: 2014-12-04 00:30 UTC by langfang
Modified: 2017-02-14 06:01 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1170042
Environment:
Last Closed: 2017-02-14 06:01:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 langfang 2014-12-11 05:58:31 UTC
No sure whether it is the same problem or not.Hotplug/hotunplug port  will hit such error: Ncat: Connection refused--->on host

Version:
# uname -r
3.10.0-216.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-2.1.2-16.el7.x86_64

Guest:

3.10.0-216.el7.x86_64


Steps:
1.Boot guest
 ...-device virtio-serial-pci,id=virtio-serial0,max_ports=3,vectors=4,bus=pci.0,addr=0x5 -chardev socket,id=channel0,path=/var/lib/libvirt/qemu/rhel58.channel0,server,nowait -chardev socket,id=channel1,path=/var/lib/libvirt/qemu/rhel58.channel1,server,nowait 

2.hotplug port
{"execute":"device_add","arguments":{"driver":"virtserialport","bus":"virtio-serial0.0","nr":"1","chardev":"channel0","name":
"org.linux-kvm.port.0","id":"port0"}}
{"return": {}}


3.Tried to transfer data-->successfully

4.hotunplug port

{"execute":"device_del","arguments":{"id":"port0"}}

5.hotplug port again
..
{"execute":"device_add","arguments":{"driver":"virtserialport","bus":"virtio-serial0.0","nr":"1","chardev":"channel0","name":
"org.linux-kvm.port.0","id":"port0"}}
{"return": {}}

6.Tried to transfer data
In guest
# cat lang.txt >/dev/vport2p1 

Host:
# nc -U /var/lib/libvirt/qemu/rhel58.channel0
Ncat: Connection refused.


My CLI:
 /usr/libexec/qemu-kvm -enable-kvm -m 8G -smp 8 -name VM -uuid `uuidgen` -nodefaults -rtc base=utc -drive file=iscsi://10.66.90.100:3260/iqn.2001-05.com.equallogic\:0-8a0906-6ca1f7d03-9f7f4a4673153e85-s2-flang-310194/0,if=none,id=drive-data-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK2 -device virtio-scsi-pci,bus=pci.0,addr=0x7,id=scsi1 -device scsi-hd,bus=scsi1.0,drive=drive-data-disk,id=data-disk -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:60:3f:29,addr=0x4 -monitor stdio -boot menu=on,order=d -qmp tcp:0:4447,server,nowait -spice port=8000,disable-ticketing -vga qxl -vga std -device virtio-balloon-pci,bus=pci.0,id=balloon0  -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -device virtio-serial-pci,id=virtio-serial0,max_ports=3,vectors=4,bus=pci.0,addr=0x5 -chardev socket,id=channel0,path=/var/lib/libvirt/qemu/rhel58.channel0,server,nowait -chardev socket,id=channel1,path=/var/lib/libvirt/qemu/rhel58.channel1,server,nowait

Comment 6 David Gibson 2016-04-21 04:21:00 UTC
*** Bug 1227833 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.