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] Re: [PATCH][XEND] Fix HVM Domain Creation When No Vifs Confi

To: Daniel Stekloff <dsteklof@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH][XEND] Fix HVM Domain Creation When No Vifs Configured
From: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
Date: Thu, 13 Jul 2006 23:04:03 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Delivery-date: Thu, 13 Jul 2006 15:04:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1152827195.3766.24.camel@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/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: AcamyEBafucUChK7EduX+wAWy6MkeA==
Thread-topic: [PATCH][XEND] Fix HVM Domain Creation When No Vifs Configured
User-agent: Microsoft-Entourage/11.2.4.060510
On 13/7/06 10:46, "Daniel Stekloff" <dsteklof@xxxxxxxxxx> wrote:
> On Thu, 2006-07-13 at 22:32 +0100, Christian Limpach wrote:
>> Dan,
>> 
>>> Currently - with the new qemu code, HVM domain creation will fail if a
>>> vif isn't configured. Xm-test will not pass sanity tests to run. The new
>>> qemu expects "-net none", otherwise it defaults to "-net nic -net
>>> user". 
>>> 
>>> This patch simply adds "-net none" to the qemu-dm cmdline if no vifs are
>>> configured. 
>>> 
>>> Please apply this patch or something similar, xm-test is broken for HVM
>>> testing without it.
>> 
>> I've been meaning to look into this.  I think I'd like to take a slightly
>> different approach:  change the default in qemu to be -net none.
>> I'll get to it eventually, but if you want to look into providing a patch,
>> that would be great!
> 
> 
> I thought about that... but shouldn't we keep the number of changes to
> qemu to a minimum? Why support more and more specific xen changes to
> qemu than necessary?

Sure, but this is a very simple and not very intrusive change.
I think it's preferable to fix things at the source, in this case it's
clearly qemu having an unreasonable default for our usage model.

    christian


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