From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nikolai K. Bochev" Subject: Re: Using snmpd on host to monitor guest bandwidth usage Date: Sun, 25 Oct 2009 09:02:01 +0200 (EET) Message-ID: <586498211.4551256454120989.JavaMail.root@yellowwing> References: <4AE3E627.8060006@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Neil Aggarwal To: Avi Kivity Return-path: Received: from host71.126.index.evro.net ([83.148.126.71]:54638 "EHLO yellowwing.dodo.bg" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751879AbZJYHBC (ORCPT ); Sun, 25 Oct 2009 03:01:02 -0400 In-Reply-To: <4AE3E627.8060006@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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" To: "Neil Aggarwal" 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 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: > > > > > > > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html