From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nu1Ok-0005Q4-Sc for qemu-devel@nongnu.org; Tue, 23 Mar 2010 06:31:46 -0400 Received: from [199.232.76.173] (port=38554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu1Oj-0005PR-Mm for qemu-devel@nongnu.org; Tue, 23 Mar 2010 06:31:46 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nu1Oh-0005GH-9O for qemu-devel@nongnu.org; Tue, 23 Mar 2010 06:31:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55131) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nu1Og-0005GD-SW for qemu-devel@nongnu.org; Tue, 23 Mar 2010 06:31:43 -0400 Message-ID: <4BA89885.2050206@redhat.com> Date: Tue, 23 Mar 2010 11:31:33 +0100 From: Jes Sorensen MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt References: <4BA7C40C.2040505@codemonkey.ws> <20100322201003.GC28709@redhat.com> <4BA7E23A.2070502@redhat.com> <4BA7E6F0.5010501@codemonkey.ws> <4BA881D5.8000506@redhat.com> <4BA89725.8000601@redhat.com> In-Reply-To: <4BA89725.8000601@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "libvir-list@redhat.com" , qemu-devel On 03/23/10 11:25, Gerd Hoffmann wrote: > On 03/23/10 09:54, Jes Sorensen wrote: >> One problem I have found, and I am not sure how to fix this in this >> context. Sometimes when hacking on qemu, I want to try out a new >> qemu binary on an existing image, without replacing the system wide >> one and may want to pass new command line flags for testing those, plus >> have access to the monitor. > > Works with the wrapper script trick mentioned above. > > virsh edit $domain > grep for > make it point to a wrapper script. > > My setup: > > [root@xenb ~]# virsh dumpxml fedora | grep emulator > /root/bin/qemu-wrapper > [root@xenb ~]# cat /root/bin/qemu-wrapper Ah right thanks! However, it's a hack to get around the real problem with libvirt. Not to mention that the output from virsh dumpxml is where you have to cover your eyes and try not getting sick while editing :( Having a normal config file in readable format where you could add regular command line options manually would make life so much easier. Cheers, Jes