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 683295 - qemu-kvm: Invalid parameter 'vhostforce'
Summary: qemu-kvm: Invalid parameter 'vhostforce'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: jason wang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580954 674562
TreeView+ depends on / blocked
 
Reported: 2011-03-09 02:12 UTC by Amos Kong
Modified: 2015-05-25 00:06 UTC (History)
4 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.151.el6
Doc Type: Bug Fix
Doc Text:
Cause: bug in the qemu option parse code. Consequence: vhost_force option could not be used. Fix: Fix qemu option parsing code. Result: vhost_force option could be used to force start vhost_net backend.
Clone Of:
Environment:
Last Closed: 2011-05-19 11:28:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0534 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2011-05-19 11:20:36 UTC

Description Amos Kong 2011-03-09 02:12:37 UTC
Description of problem:
vhostforce can't be used with '-netdev tap,...,forcevhost=off' ?


Version-Release number of selected component (if applicable):
qemu-kvm-debuginfo-0.12.1.2-2.148.el6.x86_64
qemu-img-0.12.1.2-2.148.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.148.el6.x86_64
gpxe-roms-qemu-0.9.7-6.4.el6.noarch
qemu-kvm-0.12.1.2-2.148.el6.x86_64

How reproducible:


Steps to Reproduce:
1. start guest with '-netdev tap,...,forcevhost=off'

  
Actual results:
qemu exits, error msg:
qemu: -netdev tap,id=idgzAJ1F,vhost=on,ifname=t0-113608-cltH,script=/etc/qemu-ifup,downscript=no,forcevhost=off: Invalid parameter 'forcevhost'

Expected results:
Guest can boot up successfully 

Additional info:

# qemu-kvm -drive file='/mnt/linux/RHEL-Server-5.6-64-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,format=qcow2,aio=native,snapshot=on
 -device
virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1
-device
virtio-net-pci,netdev=idqJrk0t,mac=9a:0c:2b:2e:ab:13,netdev=idqJrk0t,id=ndev00idqJrk0t,bus=pci.0,addr=0x3
-netdev
tap,id=idqJrk0t,vhost=on,ifname='t0-165012-Ywsy',script='/etc/qemu-ifup',downscript='no',vhostforce=off ...

Comment 6 Amos Kong 2011-03-21 08:54:57 UTC
'vhostforce' option can be used in qemu-kvm-0.12.1.2-2.151.el6

I checked by perf tool, vhost_net can be forced enabled for rhel5/4 when 'vhostforce' is 'on' in fixed version.

So moving to VERIFIED.

Comment 7 jason wang 2011-05-05 09:48:48 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: bug in the qemu option parse code.

Consequence: vhost_force option could not be used.

Fix: Fix qemu option parsing code.

Result: vhost_force option could be used to force start vhost_net backend.

Comment 8 errata-xmlrpc 2011-05-19 11:28:52 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-2011-0534.html

Comment 9 errata-xmlrpc 2011-05-19 13:02:00 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-2011-0534.html


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