Bug 705313 - Attach interface doesn't work with RHEL6 supplied qemu-kvm
Summary: Attach interface doesn't work with RHEL6 supplied qemu-kvm
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
: 705235 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 10:51 UTC by Neil Wilson
Modified: 2015-03-18 08:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 08:09:40 UTC


Attachments (Terms of Use)

Description Neil Wilson 2011-05-17 10:51:55 UTC
Description of problem:

Libvirt  doesn't allow you to dynamically attach network interfaces on the RHEL6.0 supplied version of qemu-kvm


Version-Release number of selected component (if applicable):
libvirt  - tested on 0.8.8, code has not changed in 0.9.1 version.
qemu-kvm (0.12.1(qemu-kvm-0.12.1.2)) - version 2:0.12.1.2-2.113.el6_0.8


How reproducible:


Steps to Reproduce:
1. Launch server ('virsh create')
2. Create a bridge network with 'virsh net-create'
3. Attempt to associate bridge with server 
'virsh attach-interface srv-vvh2o network vir0001'


  
Actual results:
error: Failed to attach interface
error: internal error unable to add host net: unknown command: 'host_net_add'

Expected results:

Network should have been hotplugged into virtual server.


Additional info:

Checking the monitor command it looks like the version of qemu on RHEL6 has the 'netdev_add' command not the 'host_net_add' command.

The versioning in the qemu capabilities section of libvirt only activates this feature on qemu versions >= 13. 

RHEL6 qemu-kvm is showing '0.12.1(qemu-kvm-0.12.1.2)'

Comment 2 Jiri Denemark 2011-05-24 11:38:00 UTC
*** Bug 705235 has been marked as a duplicate of this bug. ***


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