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 1001180 - Disable or remove devices pci-serial-2x, pci-serial-4x
Summary: Disable or remove devices pci-serial-2x, pci-serial-4x
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1001216
Blocks: 720747
TreeView+ depends on / blocked
 
Reported: 2013-08-26 15:52 UTC by Markus Armbruster
Modified: 2014-06-18 03:35 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-1.5.3-15.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:51:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Markus Armbruster 2013-08-26 15:52:30 UTC
The PCI serial devices can be hot-plugged, unlike the ISA ones.  We don't have libvirt plumbing, yet (bug 998813).  Windows needs .INF files to make them work.  Since we still don't have one for the multi-port devices, disable them.

How reproducible:
Always

Steps to Reproduce:
1. qemu-kvm -nodefaults -display none -monitor stdio -S -chardev null,id=s1 -chardev null,id=s2 -device pci-serial-2x,chardev1=s1,chardev2=s2
2. qemu-kvm -nodefaults -display none -monitor stdio -S -chardev null,id=s1 -chardev null,id=s2 -chardev null,id=s3 -chardev null,id=s4 -device pci-serial-4x,chardev1=s1,chardev2=s2,chardev3=s3,chardev4=s4

Actual results:
-device pci-serial-2x and -device pci-serial-4x are both accepted

Expected results:
They're both rejected, just like -device nonexistant

Comment 2 Miroslav Rezanina 2013-11-07 08:25:00 UTC
Fix included in qemu-kvm-1.5.3-15.el7

Comment 4 Shaolong Hu 2013-11-26 02:50:41 UTC
Verified on qemu-kvm-1.5.3-19.el7.x86_64:

# /usr/libexec/qemu-kvm -nodefaults -display none -monitor stdio -S -chardev null,id=s1 -chardev null,id=s2 -device pci-serial-2x,chardev1=s1,chardev2=s2
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) qemu-kvm: -device pci-serial-2x,chardev1=s1,chardev2=s2: Parameter 'driver' expects device type

# /usr/libexec/qemu-kvm -nodefaults -display none -monitor stdio -S -chardev null,id=s1 -chardev null,id=s2 -chardev null,id=s3 -chardev null,id=s4 -device pci-serial-4x,chardev1=s1,chardev2=s2,chardev3=s3,chardev4=s4
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) qemu-kvm: -device pci-serial-4x,chardev1=s1,chardev2=s2,chardev3=s3,chardev4=s4: Parameter 'driver' expects device type

# /usr/libexec/qemu-kvm -device help 2>&1 | grep pci
name "pci-bridge", bus PCI, desc "Standard PCI Bridge"
name "virtio-blk-pci", bus PCI, alias "virtio-blk"
name "virtio-scsi-pci", bus PCI
name "virtio-net-pci", bus PCI, alias "virtio-net"
name "pci-serial", bus PCI
name "virtio-serial-pci", bus PCI, alias "virtio-serial"
name "kvm-pci-assign", bus PCI, alias "pci-assign", desc "KVM-based PCI passthrough"
name "pci-testdev", bus PCI, desc "PCI Test Device"
name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment"
name "virtio-balloon-pci", bus PCI, alias "virtio-balloon"
name "virtio-rng-pci", bus PCI

Comment 5 Ludek Smid 2014-06-13 10:51:20 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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