From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrp0F-0000wf-02 for qemu-devel@nongnu.org; Tue, 03 Jun 2014 09:43:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wrp04-000798-CM for qemu-devel@nongnu.org; Tue, 03 Jun 2014 09:43:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrp04-000792-3v for qemu-devel@nongnu.org; Tue, 03 Jun 2014 09:43:36 -0400 Message-ID: <538DD0F5.8000307@redhat.com> Date: Tue, 03 Jun 2014 15:43:17 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <537F8083.7040802@m2r.biz> <5382F4A6.3000907@m2r.biz> <5385F670.5040207@m2r.biz> <538613EB.3030009@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] libxl: change default QEMU machine to pc-i440fx-1.6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: xen-devel@lists.xensource.com, Ian Campbell , Ian Jackson , qemu-devel@nongnu.org, Fabio Fantoni , Anthony.Perard@citrix.com, tiejun.chen@intel.com, Paul Durrant Il 03/06/2014 15:38, Stefano Stabellini ha scritto: > Thanks, this sounds like the best option by far. > > I noticed that "-soundhw hda" becomes "-device intel-hda". > > Given that the VM config file exports a soundhw paramter, we would need > a programmatic way to get the -device command line option from the > soundhw paramter. Is there a way to do that? A table. :) -soundhw corresponding -device syntax --------------------------------------------------------- ac97 -device AC97 adlib -device adlib cs4231a -device cs4231a es1370 -device ES1370 gus -device gus hda -device intel-hda,id=libxl-intel-hda \ -device hda-duplex,bus=libxl-intel-hda.0 pcspk -device isa-pcspk sb16 -device sb16 (To review it start with "git grep _register_soundhw"). Paolo