From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueq73-0000dW-RJ for qemu-devel@nongnu.org; Tue, 21 May 2013 13:12:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ueq71-0006Rz-O1 for qemu-devel@nongnu.org; Tue, 21 May 2013 13:12:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ueq71-0006Rm-GY for qemu-devel@nongnu.org; Tue, 21 May 2013 13:12:35 -0400 Message-ID: <519BAAFA.6030101@redhat.com> Date: Tue, 21 May 2013 11:12:26 -0600 From: Eric Blake MIME-Version: 1.0 References: <519B2E24.40104@gmail.com> <20130521083953.GB31290@redhat.com> <20130521095527.GB29303@iris.ozlabs.ibm.com> <20130521100136.GE31290@redhat.com> <871u90z3mk.fsf@codemonkey.ws> In-Reply-To: <871u90z3mk.fsf@codemonkey.ws> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2TWCFFXTNJGUOGCRWEPWL" Subject: Re: [Qemu-devel] [libvirt] [qemu-devel] Default machine type setting for ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , libvir-list@redhat.com, "qemu-devel@nongnu.org" , Paul Mackerras , Pradipta Kumar Banerjee This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2TWCFFXTNJGUOGCRWEPWL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/21/2013 10:42 AM, Anthony Liguori wrote: > Perhaps the right thing to do for OpenStack is to allow for a user > specified configuration file to select things like the default hardware= > models/machine types? Then this could become node configuration instea= d > of dynamic configuration. >=20 > I think it could be useful for general users too. Every domain require= s > a lot of the same boiler plate bits. I think a lot of configurations > would benefit from being able to set global domain options. I have also argued in the past that it would be useful for libvirt to support the idea of a template, where you can specify a domain XML that inherits defaults from the template. We've already done things like this for networking, nwfilter, and even secret management (in domain XML, you declare that you are using a named network object, and that network object serves as the template instead of you having to hard-code all the elements into your domain XML), so we have a design to base it on. But until someone adds such a feature for libvirt, then OpenStack should be passing explicit XML to libvirt, and tracking defaults at the OpenStack layer. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2TWCFFXTNJGUOGCRWEPWL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRm6r6AAoJEKeha0olJ0NqvE8H/RgJGdmAos1sawwJXCxOKL9c 1ixCJKGuJ6OcB9foyAGUxu/TAaf8b6dFXoANaEDuTkchbg661i/wBiVzLMkxHkoe wIjL7lt8fqRJfr7GXJECwUsdETbcggSU7UFjSHblqk7WEa0Dg/P1tbK39C+B+fBg MJ39qbW16DWRDGwiTt5nb3xriYxLTCiQQHwDBrmzbO68z4BUZsLpcCoalyo8SUGN GmdbYPOafWxBYIb19HYio+9HZT0lbJqB5GPDdQ7s9VSf8MTOlrAu+IJoaQHXQin5 j+bbMKAo72oZb8iiIxthIRm38eP3d9+R/McRINcmXQNPHuebgkDYUJZoElwsv2U= =QNxe -----END PGP SIGNATURE----- ------enig2TWCFFXTNJGUOGCRWEPWL--