From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRTV1-0000kw-JI for qemu-devel@nongnu.org; Thu, 16 Jul 2009 12:07:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRTUw-0000jE-En for qemu-devel@nongnu.org; Thu, 16 Jul 2009 12:07:58 -0400 Received: from [199.232.76.173] (port=40896 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRTUw-0000j9-0z for qemu-devel@nongnu.org; Thu, 16 Jul 2009 12:07:54 -0400 Received: from rv-out-0708.google.com ([209.85.198.245]:12572) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRTUt-0003VU-DZ for qemu-devel@nongnu.org; Thu, 16 Jul 2009 12:07:51 -0400 Received: by rv-out-0708.google.com with SMTP id b17so42196rvf.22 for ; Thu, 16 Jul 2009 09:07:50 -0700 (PDT) Message-ID: <4A5F5053.5000809@codemonkey.ws> Date: Thu, 16 Jul 2009 11:07:47 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v3 5/5] switch -drive to QemuOpts. References: <1247756224-19219-1-git-send-email-kraxel@redhat.com> <1247756224-19219-6-git-send-email-kraxel@redhat.com> In-Reply-To: <1247756224-19219-6-git-send-email-kraxel@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: qemu-devel@nongnu.org Gerd Hoffmann wrote: > Demo QemuOpts in action ;) > > Implementing a alternative way to specify the filename should be > just a few lines of code now once we decided how the cmd line syntax > should look like. > > Signed-off-by: Gerd Hoffmann > $ x86_64-softmmu/qemu-system-x86_64 -hda ~/images/linux.img -snapshot drive: : index="0" media="disk" file="/home/anthony/images/linux.img" snapshot="1" qemu: '1' invalid snapshot option Not quite sure that's the action you were looking for... Regards, Anthony Liguori > --- > hw/device-hotplug.c | 12 ++-- > sysemu.h | 15 +--- > vl.c | 215 +++++++++++++++++++++++++++------------------------ > 3 files changed, 125 insertions(+), 117 deletions(-) >