From: Avi Kivity <avi@redhat.com>
To: Neil Aggarwal <neil@JAMMConsulting.com>
Cc: kvm@vger.kernel.org
Subject: Re: Using snmpd on host to monitor guest bandwidth usage
Date: Sun, 25 Oct 2009 07:46:15 +0200 [thread overview]
Message-ID: <4AE3E627.8060006@redhat.com> (raw)
In-Reply-To: <CAC7D10BF7F445BD8E67602F5E26A224@neilhp>
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.
next prev parent reply other threads:[~2009-10-25 5:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-24 13:52 Using snmpd on host to monitor guest bandwidth usage Neil Aggarwal
2009-10-24 19:49 ` Nikolai K. Bochev
2009-10-25 0:23 ` Neil Aggarwal
2009-10-25 5:46 ` Avi Kivity [this message]
2009-10-25 7:02 ` Nikolai K. Bochev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE3E627.8060006@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=neil@JAMMConsulting.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.