From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joao Martins Subject: Re: [PATCH v2 2/2] libxl: implement virDomainInterfaceStats Date: Wed, 02 Dec 2015 13:02:40 +0000 Message-ID: <565EEBF0.7000007@oracle.com> References: <1448305020-22680-1-git-send-email-joao.m.martins@oracle.com> <1448305020-22680-3-git-send-email-joao.m.martins@oracle.com> <565E3F25.3070004@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <565E3F25.3070004@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jim Fehlig , libvir-list@redhat.com Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 12/02/2015 12:45 AM, Jim Fehlig wrote: > On 11/23/2015 11:57 AM, Joao Martins wrote: >> Introduce support for domainInterfaceStats API call for querying >> network interface statistics. Consequently it also enables the >> use of `virsh domifstat ` command plus >> seeing the interfaces names instead of "-" when doing >> `virsh domiflist `. >> >> After successful guest creation we fill the network >> interfaces names based on domain, device id and append suffix >> if it's emulated in the following form: vif.[-emu]. > > One interesting Xen behavior that has existing for many, many years is that a PV > nic is implicitly created for each emulated nic specified in the config. The > guest OS picks which one to use. These days most will use the PV nic, and if > they are nice, "unplug" the emulated one via the unplug protocol. E.g. an HVM > guest with > > > > >