On 10/25/2009 02:23 AM, Neil Aggarwal wrote:
As far as i know, you can fix the vm's interfaces on the
host. I'm using libvirt and you can do it there as described in here :
http://libvirt.org/formatdomain.html#elementsNICSBridge (
What you're looking for is<target dev='vnet0'/>  directive ).
Setting the target device name is not working.

Here is what I did:

I stopped both my guests.

Next, I opened the file /etc/libvirt/qemu/jamm12a.xml
for my first virtual host and added a target element
for the interface:
     <interface type='bridge'>
       <mac address='54:52:00:4f:83:67'/>
       <source bridge='br0'/>
       <target dev='vnet1'/>
     </interface>


Please take this to the libvirt mailing list, since that is all handled by libvirt, not qemu or kvm.

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to