Bug 1001088

Summary: Disable or remove display devices we won't support
Product: Red Hat Enterprise Linux 7 Reporter: Markus Armbruster <armbru>
Component: qemu-kvmAssignee: Markus Armbruster <armbru>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, huding, juzhang, knoel, mazhang, michen, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-15.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:09:32 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:
Bug Depends On: 1001216    
Bug Blocks: 720747    

Description Markus Armbruster 2013-08-26 13:12:39 UTC
Description of problem:
The following block devices should be removed or made unavailable with -device / device_add:

name "isa-cirrus-vga", bus ISA
name "isa-vga", bus ISA

How reproducible:
Always

Steps to Reproduce:
1. for X in the above devices: -device X

Actual results:
-device X is accepted

Expected results:
-device X is rejected, just like -device nonexistant

Additional info:
Equally unwanted vmware-svga is tracked seperately (bug 921971).

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

Comment 4 mazhang 2013-11-20 12:23:16 UTC
Reproduce this bug with qemu-kvm-common-1.5.3-14.el7.x86_64

host:
qemu-kvm-common-1.5.3-14.el7.x86_64
qemu-img-1.5.3-14.el7.x86_64
qemu-kvm-tools-1.5.3-14.el7.x86_64
libvirt-daemon-driver-qemu-1.1.1-12.el7.x86_64
qemu-kvm-1.5.3-14.el7.x86_64

steps:
1 List qemu-kvm device name.
 #/usr/libexec/qemu-kvm -device ?

2 Run following command line
 #/usr/libexec/qemu-kvm -device isa-vga -monitor stdio
 #/usr/libexec/qemu-kvm -device isa-cirrus-vga -monitor stdio

result:
1 Got following in device list.
name "isa-vga", bus ISA
name "isa-cirrus-vga", bus ISA

2 qemu-kvm accepted isa-vga and isa-cirrus-vga device.
# /usr/libexec/qemu-kvm -device isa-vga -monitor stdio
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) VNC server running on `::1:5900'

# /usr/libexec/qemu-kvm -device isa-cirrus-vga -monitor stdio
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) VNC server running on `::1:5900'



Verify this bug with qemu-kvm-1.5.3-14.el7.x86_64

steps same as reproduce.

result:
1 Not found isa-vga and isa-cirrus-vga in device list.

2 isa-vga and isa-cirrus-vga is rejected
# /usr/libexec/qemu-kvm -device isa-vga -monitor stdio
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) qemu-kvm: -device isa-vga: Parameter 'driver' expects device type

# /usr/libexec/qemu-kvm -device isa-cirrus-vga -monitor stdio
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) qemu-kvm: -device isa-cirrus-vga: Parameter 'driver' expects device type

so this bug has been fixed.

Comment 6 Ludek Smid 2014-06-13 11:09:32 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.