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] nat does not work with hvm

To: Erdem Bayer <ebayer@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] nat does not work with hvm
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 14 Apr 2007 11:08:59 +0100
Delivery-date: Sat, 14 Apr 2007 03:06:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46207B15.1070805@xxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd+fOstKXP+SupwEdueEwAWy6hiGQ==
Thread-topic: [Xen-devel] nat does not work with hvm
User-agent: Microsoft-Entourage/11.3.3.061214
On 14/4/07 07:56, "Erdem Bayer" <ebayer@xxxxxxxxxxxx> wrote:

> But the network-nat script still runs in that case right?

Network-nat will run once, when xend is started. It's not run per-vif.

> So what should be in the qemu-ifup script?

Something a bit like what's in vif-nat, perhaps? That's the script that gets
run per-vif for non-hvm domains.

> Also should there also be a qemu-ifdown script to undo the changes?

Not needed. Everything should tear down automatically when the qemu process
dies.

 -- Keir

> I think in the qemu-ifup I should write a rule to switch the vifX.0
> created by the network-nat script and the tap interface created by the
> qemu-ifup script? Am I right about this?



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