Bug 1190842

Summary: Backport fix for vhost-user XML
Product: [Fedora] Fedora Reporter: James Chapman <james.p.chapman>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 21CC: agedosier, berrange, clalancette, crobinso, itamar, jforbes, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-05 23:02:08 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:

Description James Chapman 2015-02-09 17:44:17 UTC
There is a bug in the version of libvirt (1.2.9.1) that ships with Fedora 21, where the vhostuser interface mode can only be set to server and not client. The option to set either is required when using vhost-user with OpenvSwitch.

However a fix has been merged for this issue and is available on libvrt-1.2.10:

commit 302720742f6e159af45631475d720cf807e905b9
Author: Maxime Leroy <maxime.leroy>
Date:   Fri Oct 17 18:45:18 2014 +0200

    conf: tests: fix virDomainNetDefFormat for vhost-user in client mode
    
    The mode attribute is required for the source element of vhost-user.
    Thus virDomainNetDefFormat should always generate a xml with it and not
    only when the mode is server.
    
    The commit fixes the issue. And it adds a vhostuser interface in
    'client' mode to qemuxml2argv-net-vhostuser.(args|xml) to test this
    usecase.

Can libvirt-1.2.10 be made available for Fedora 21 via yum ?

Comment 1 Cole Robinson 2015-02-09 18:27:12 UTC
Thanks for the report. We don't rebase new versions of libvirt into stable fedora (except libvirt maint releases), but I can backport the patch. If you need libvirt 1.2.10 on fedora 21 I suggest using fedora virt preview:

http://fedoraproject.org/wiki/Virtualization_Preview_Repository

Comment 2 James Chapman 2015-02-10 09:27:43 UTC
Hi Cole

Ok, we can use the virt preview repo.

Thanks

Comment 3 Fedora Update System 2015-04-28 16:54:52 UTC
libvirt-1.2.9.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libvirt-1.2.9.3-1.fc21

Comment 4 Fedora Update System 2015-04-29 13:06:00 UTC
Package libvirt-1.2.9.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.2.9.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7150/libvirt-1.2.9.3-1.fc21
then log in and leave karma (feedback).