From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH] rev5: support colon in filenames Date: Wed, 15 Jul 2009 10:40:37 -0500 Message-ID: <4A5DF875.2020808@us.ibm.com> References: <1245862739.6278.7.camel@localhost> <1246063310.6278.115.camel@localhost> <1246511321.6429.31.camel@localhost> <4A4C754D.10109@redhat.com> <4A4CAD86.9020607@us.ibm.com> <4A4CB39F.5070506@redhat.com> <1247041831.6297.12.camel@localhost> <1247644283.14246.3.camel@localhost> <4A5DF252.50408@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linuxram@us.ibm.com, qemu-devel@nongnu.org, Kevin Wolf , Jan Kiszka , kvm-devel , Paul Brook To: Blue Swirl Return-path: Received: from e38.co.us.ibm.com ([32.97.110.159]:46526 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753611AbZGOPsZ (ORCPT ); Wed, 15 Jul 2009 11:48:25 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e38.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n6FFbXHf025312 for ; Wed, 15 Jul 2009 09:37:33 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n6FFeira251084 for ; Wed, 15 Jul 2009 09:40:48 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6FFehY9026676 for ; Wed, 15 Jul 2009 09:40:44 -0600 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Blue Swirl wrote: > Then how about something like: > -drive name=hda,if=ide,cache=off,file_is_arg -filearg foo.img > -drive name=vda,if=virtio,cache=writeback,file_comes_next -patharg foo.img > -drive name=sdb,if=scsi,unit=1,fnarg -fnarg boo.img > The explicit ordering part seems clunky to me. How about: -drive name=vda,if=virtio -drive.vda.file filename.img What's nice about this syntax is it generalizes well. You could have: -drive.vda.if virtio -drive.vda.file filename.img -net nic,model=rtl8139,name=foo -net.foo.macaddr 00:11:43:55:44:22 -- Regards, Anthony Liguori