Bug 1250850 - qemu should report conflict warning message when multiple virtio-serial using the same path
qemu should report conflict warning message when multiple virtio-serial usin...
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
7.2
x86_64 Linux
medium Severity medium
: rc
: ---
Assigned To: Amit Shah
Virtualization Bugs
:
Depends On:
Blocks: 1256170
  Show dependency treegraph
 
Reported: 2015-08-06 03:10 EDT by quxiaoya
Modified: 2017-01-30 06:17 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1256170 (view as bug list)
Environment:
Last Closed: 2017-01-30 06:17:06 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description quxiaoya 2015-08-06 03:10:50 EDT
Description of problem:

when boot a guest with multiple virtio-serial using same path,qemu didn't report any error message( As serial port cannot tranfer data from guest to host)

Version-Release number of selected component (if applicable):
host info:
# uname -r
3.10.0-302.el7.x86_64
# rpm -qa | grep qemu
qemu-kvm-rhev-2.3.0-14.el7.x86_64

guest info:
# uname -r
3.10.0-300.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. boot a guest with multiple virtio-serial using same path

cli:
/usr/libexec/qemu-kvm -smp 4 -m 4G -M pc -drive file=/home/sys_disk/RHEL-Server-7.2-64-virtio.qcow2-0805,format=qcow2,cache=none,if=none,werror=stop,rerror=stop,id=drive-disk0 -device ide-drive,drive=drive-disk0,id=disk0,bootindex=1 \

-monitor stdio -spice id=on,port=5933,disable-ticketing \
-netdev tap,id=tap0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=tap0,mac=24:be:05:18:95:23 \

-qmp tcp:0:6766,server,nowait \

-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -chardev socket,id=channel1,path=/tmp/helloworld,server,nowait \

-device virtserialport,nr=1,chardev=channel1,name=com.redhat.rhevm.vdsm1,bus=virtio-serial0.0,id=port1 -chardev socket,id=channel2,path=/tmp/helloworld,server,nowait \

-device virtserialport,nr=2,chardev=channel2,name=com.redhat.rhevm.vdsm2,bus=virtio-serial0.0,id=port2



Actual results:
qemu will not report this conflict error

Expected results:

qemu report this conflict error 

Additional info:
Comment 4 Amit Shah 2017-01-30 06:17:06 EST
This is fixed in commit d0a0bfe6729ef6044d76ea49fafa07e29fa598bd which was released as part of upstream qemu 2.2.

RHEL7.3 contains qemu 2.6, so I'm marking this as fixed in CURRENTRELEASE.

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