WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Network Packet Flow in HVM

To: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Network Packet Flow in HVM
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sun, 1 Jun 2008 14:43:43 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 01 Jun 2008 04:44:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <351629.46160.qm@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <351629.46160.qm@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Sun, Jun 01, 2008 at 09:50:08AM +0530, Abhinav Srivastava wrote:
> 
> Hi there,
> 
> I am working on a project in which I have to track a packet flow from dom0 to 
> domU. I know how this is done in case of Paravirtualized (PV) guest
> domain. In case of PV's split model, dom0 (backend) and domU (frontend) share 
> I/O channel that is setup during the domU boot and it is used to copy packets 
> between two domains.
> 
> In case of HVM domain, there is no shared memory between dom0 and domU then 
> how this packet copying is being performed?  I know QEMU-dm is being used in 
> dom0 to emulate the network interface for domU. 
> 
> If there is no memory then how domU get packets from dom0 and vice-versa? 
> Does Xen pass actual packet from dom0 to domU which is very costly?
> 
> It would be really helpful if you could let me know exact packet flow as it 
> would help me understand the networking subsystem. I tried finding some 
> document but there are no publicly availabe documents that describe network 
> virtualization and packet flow in case of HVM domain.
> 
> I would really appreciate your reply and pointers.
> 

Yes, qemu emulated virtual NIC is pretty slow for HVM domains..

Luckily you can run paravirtual _drivers_ insite HVM domU so then you can
bypass the emulation.. almost like with "full" paravirtual domU.

-- Pasi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>