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

[Xen-devel] Question about HVM network

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Question about HVM network
From: cc Luit <universalbillow@xxxxxxxxx>
Date: Sun, 6 Nov 2011 22:12:50 +0800
Delivery-date: Sun, 06 Nov 2011 06:13:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=nBimI+U0n01kitu1Wivj3sV68iWaVNRzuKRUjiDW3z4=; b=gmQPe2hKvgb9MME1ErZFmMCfNa43+25cZrtAFbTNs6k7/sX5hm65vP3P73nSgzRjHG xqRj347YHBlzoEw1J9x+bgWG2gFeCJ2LX7H9HXsGnVTTOblmXnwKOeMS8rhLZ/Ftxvjc RQW3vD99rFvSIqcY3aEC/JwtcLAXGV7R91p0I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, all,

I've a question about how network of HVM works, 
when hvm startup, I found the qemu register the io port 0xc100-0xc1ff to the function rtl8139_ioport_write, is this means qemu emulate the rtl8139 NIC to handle network io event?

but when I scp a file to the remote machine, I cannot find any write to these ports, so I'm curious how hvm's network works?

first I'm not using the passthrough, so I think that it will use DMA: after it write the content to the memory, it will use PIO to write to one of the port to tell the qemu it need to start DMA, but there is no write to the port, then how does the rtc8139 emulated by qemu know when to start the DMA and where is the memory address?

hope someone can help me~ thanks in advance.

--
- Luit @ Parallel Processing Institute, Fudan University 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>