Bug 1190842 - Backport fix for vhost-user XML
Summary: Backport fix for vhost-user XML
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 21
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-09 17:44 UTC by James Chapman
Modified: 2015-06-05 23:02 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-05 23:02:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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).


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