All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nikolai K. Bochev" <n.bochev@grandstarco.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org, Neil Aggarwal <neil@JAMMConsulting.com>
Subject: Re: Using snmpd on host to monitor guest bandwidth usage
Date: Sun, 25 Oct 2009 09:02:01 +0200 (EET)	[thread overview]
Message-ID: <586498211.4551256454120989.JavaMail.root@yellowwing> (raw)
In-Reply-To: <4AE3E627.8060006@redhat.com>

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" <avi@redhat.com>
To: "Neil Aggarwal" <neil@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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2009-10-25  7:01 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
2009-10-25  7:02       ` Nikolai K. Bochev [this message]

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=586498211.4551256454120989.JavaMail.root@yellowwing \
    --to=n.bochev@grandstarco.com \
    --cc=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.