I'm just gonna answer him very shortly here :

virsh destroy jamm12a
virsh define /etc/libvirt/qemu/jamm12a.xml
virsh start jamm12a

And yes, this convo doesn't belong here.

----- Original Message -----
From: "Avi Kivity" <a...@redhat.com>
To: "Neil Aggarwal" <n...@jammconsulting.com>
Cc: kvm@vger.kernel.org
Sent: Sunday, October 25, 2009 7:46:15 AM
Subject: Re: Using snmpd on host to monitor guest bandwidth usage

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