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

xen-devel

[Top] [All Lists]

RE: [Xen-devel] HVM guest sees two NICs even though just one vif configu

To: "Fischer, Anna" <anna.fischer@xxxxxx>
Subject: RE: [Xen-devel] HVM guest sees two NICs even though just one vif configured
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 6 Aug 2009 12:18:44 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: 2009年8月06日 04:17:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0199E0D51A61344794750DC57738F58E6D6A5011FF@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <0199E0D51A61344794750DC57738F58E6D6A501125@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C6A06C22.1173D%keir.fraser@xxxxxxxxxxxxx> <0199E0D51A61344794750DC57738F58E6D6A5011AE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.0908061202310.7746@kaball-desktop > <0199E0D51A61344794750DC57738F58E6D6A5011FF@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008年08月23日)
On Thu, 6 Aug 2009, Fischer, Anna wrote:
> > Subject: RE: [Xen-devel] HVM guest sees two NICs even though just one
> > vif configured
> > 
> > On Thu, 6 Aug 2009, Fischer, Anna wrote:
> > > > Subject: Re: [Xen-devel] HVM guest sees two NICs even though just
> > one
> > > > vif configured
> > > >
> > > > On 06/08/2009 10:32, "Fischer, Anna" <anna.fischer@xxxxxx> wrote:
> > > >
> > > > > For me this does not sound right. If I configure my guest with
> > only a
> > > > single
> > > > > NIC in the configuration file, then there should not be any way
> > for
> > > > the guest
> > > > > to set up and use two NICs at the same time.
> > > > >
> > > > > Is this a known issue? How is this supposed to be handled?
> > > >
> > > > I think it's deliberate, to allow install of an OS with emulated
> > > > driver,
> > > > followed by switchover to PV drivers, wth no need for config
> > changes.
> > >
> > > I assumed that was the reason behind this. However, a switchover
> > would need to guarantee that a guest cannot use two NICs at the same
> > time, doesn't it? Because otherwise the guest can send out of two
> > separate devices at the same time and it could cause unexpected
> > behaviour unless it is explicitly prevented at the backends in Dom0,
> > e.g. through filtering or anti-spoofing I guess.
> > >
> > 
> > I more recent qemu allows the pv drivers in the guest to disconnect the
> > emulated devices to avoid these problems.
>
> I am not too confident with having to rely on the guest to make such a 
> disconnect happen. Is there no way to do this in Xen/Dom0?
>
The idea is that the pv drivers should load only after having
disabled the emulated devices.
After all if the pv drivers are badly written you can end up with a
corrupted disk anyway.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] HVM guest sees two NICs even though just one vif configured , Fischer, Anna
Next by Date: Re: [Xen-devel] [PATCH] hvm emul: fix cmpxchg emulation to use an atomic operation , Keir Fraser
Previous by Thread: RE: [Xen-devel] HVM guest sees two NICs even though just one vif configured , Fischer, Anna
Next by Thread: RE: [Xen-devel] HVM guest sees two NICs even though just one vif configured , Fischer, Anna
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /