Bug 516672

Summary: Disable unused/unsupported features on qemu-kvm
Product: Red Hat Enterprise Linux 5 Reporter: Suqin Huang <shuang>
Component: kvmAssignee: Juan Quintela <quintela>
Status: CLOSED ERRATA QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: ehabkost, lihuang, ovirt-maint, quintela, riek, tools-bugs, virt-maint, ykaul
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-83-126.el5 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 07:57:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suqin Huang 2009-08-11 02:48:58 UTC
Description of problem:
Bug 512837 is not fixed complete, bug the issue left is not blocker, just nice to have. Open this bug to trace it according to https://bugzilla.redhat.com/show_bug.cgi?id=512837#c25.

Version-Release number of selected component (if applicable):


How reproducible:
kvm-83-105.el5

Steps to Reproduce:

1.
> c- bluetooth don't work "-bt <foo>" give an error telling that blueooth is not
> supported

=> FAIL error is not given.
/usr/libexec/qemu-kvm -m 2048 -drive file=/data/images/images/RHEL-4.8-64.qcow2
-cpu qemu64,+sse2   -vnc :12 -monitor stdio  -bt aa   
QEMU 0.9.1 monitor - type 'help' for more information
(qemu) 

this will be fixed in a next zstream, not a blocker.

2.
> -h only -soundhw ac97 is supported
>    -soundhw es1370 and -soundhw sb16 fail

=> FAIL pc speaker also supported 

Sorry, we knew it, will take a look for a zstream.

3.
another question. the unsupported features still in the help. is it ok  ?
[root@excalibur images]# /usr/libexec/qemu-kvm --help | grep  blue     
-bt hci,null    Dumb bluetooth HCI - doesn't respond to commands
                Emulate a bluetooth device 'dev' in scatternet 'n'

[root@excalibur images]# /usr/libexec/qemu-kvm --help | grep  enable-nesting
-enable-nesting enable support for running a VM inside the VM (AMD only)

[root@excalibur images]# /usr/libexec/qemu-kvm --help | grep vga
-vga [std|cirrus|vmware]  

Will take a look.  Not a blocker either, because it is not "trivial" to find
the qemu-kvm.




  
Actual results:


Expected results:


Additional info:

Comment 6 Eduardo Habkost 2009-10-13 19:10:28 UTC
--disable-pcspkr configure option added on kvm-83-126.el5.

Comment 10 Suqin Huang 2009-11-05 08:41:43 UTC
reproduce on kvm-83-105.el5_4.8
1. -bt 
/usr/libexec/qemu-kvm -m 2G -smp 2 images/rhel4.8-32.raw  -vnc :3 -monitor stdio -bt aa

no error

2. -soundhw ?
/usr/libexec/qemu-kvm -m 2G -smp 2 images/rhel4.8-32.raw  -vnc :3 -monitor stdio -soundhw ?

Valid sound card names (comma separated):
pcspk       PC speaker
ac97        Intel 82801AA AC97 Audio

3. --help
/usr/libexec/qemu-kvm --help | grep blue
-bt hci,null    Dumb bluetooth HCI - doesn't respond to commands
                Emulate a bluetooth device 'dev' in scatternet 'n'
[root@dhcp-66-70-6 images]# /usr/libexec/qemu-kvm --help | grep enable-nesting
-enable-nesting enable support for running a VM inside the VM (AMD only)
[root@dhcp-66-70-6 images]# /usr/libexec/qemu-kvm --help | grep vga
-vga [std|cirrus|vmware]


Fix on kvm-83-132.el5
1. -bt 
/usr/libexec/qemu-kvm -m 2G -smp 2 images/rhel4.8-32.raw  -vnc :3 -monitor stdio -bt aa

/usr/libexec/qemu-kvm: invalid option -- '-bt'

2. -soundhw
/usr/libexec/qemu-kvm -m 2G -smp 2 images/rhel4.8-32.raw  -vnc :3 -monitor stdio -soundhw ?
Valid sound card names (comma separated):
ac97        Intel 82801AA AC97 Audio

-soundhw all will enable all of the above

3. --help
#/usr/libexec/qemu-kvm --help | grep  blue
#/usr/libexec/qemu-kvm --help | grep  enable-nesting
# /usr/libexec/qemu-kvm --help | grep vga
-vga [std|cirrus]

Comment 13 errata-xmlrpc 2010-03-30 07:57:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html