From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities] Date: Sun, 14 Jun 2009 10:58:33 +0300 Message-ID: <4A34ADA9.80709@redhat.com> References: <20090610145540.GI19375@poweredge.glommer> <20090610150129.GC28601@redhat.com> <200906101624.30659.paul@codesourcery.com> <20090610174301.GC7416@shareable.org> <20090610182227.GN28601@redhat.com> <20090610192702.GH7416@shareable.org> <1244796209.16425.20.camel@blaa> <4A326C7E.3020309@codemonkey.ws> <1244822007.30522.68.camel@blaa> <4A327E87.6080005@codemonkey.ws> <1244825333.26769.20.camel@blaa> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , Jamie Lokier , "Michael S. Tsirkin" , Carsten Otte , kvm@vger.kernel.org, Glauber Costa , Rusty Russell , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Blue Swirl , Christian Borntraeger , Paul Brook To: Mark McLoughlin Return-path: Received: from mx2.redhat.com ([66.187.237.31]:44624 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753321AbZFNIBD (ORCPT ); Sun, 14 Jun 2009 04:01:03 -0400 In-Reply-To: <1244825333.26769.20.camel@blaa> Sender: kvm-owner@vger.kernel.org List-ID: Mark McLoughlin wrote: >> I think the point is that you don't need version numbers if you have a >> proper device tree. >> > > How do you add a new attribute to the device tree and, when a supplied > device tree lacking said attribute, distinguish between a device tree > from an old version of qemu (i.e. use the old default) and a partial > device tree from the VM manager (i.e. use the new default) ? > -baseline 0.10 > >> NB the device tree contains no host configuration information. >> > > So, it wouldn't e.g. include the path to the image file for a block > device? That would always be specified on the command line? > Or in a different file. I agree splitting host and guest configuration is a must-have, this ensures portability of virtual machines across hosts and time. -- error compiling committee.c: too many arguments to function