From: Mark Williamson Subject: Re: exception looking up device number for hda Date: Tue, 9 Aug 2005 02:49:51 +0100 Message-ID: <200508090249.52113.mark.williamson@cl.cam.ac.uk> References: <42F3BF2C.70403@intel.com> <200508081548.18887.mark.williamson@cl.cam.ac.uk> <42F7F39E.3020300@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42F7F39E.3020300@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Arun Sharma Cc: Mike Wray , xen-devel@lists.xensource.com, takebe_akio@jp.fujitsu.com List-Id: xen-devel@lists.xenproject.org > > Hope about an optional: vbd:/emu: prefix (or similar) on the second part > > of the triplet for a disk? The default (for non VMX domains) could be > > "vbd" so existing behaviour would remain the same. > > Sounds good to me. How about: > > hda = VBD hda > vbd://hda = VBD hda > ioemu://hda = IDE hda Sounds fine but I think I'd actually ditch the // to fit in with the phy: and file: syntax we already have. (and as David said in another post, to avoid looking like a URL). > The VBD patches are not ready yet - so I'd like to propose that we do: > > - self.create_configured_devices() > + if self.image.ostype != 'vmx': > + self.create_configured_devices() > > and > > - self.create_blkif() > + if self.image.ostype != 'vmx': > + self.create_blkif() > > When our VBD patches are ready, we'll revert this. Is there still a need for these changes if the ioemu: prefix is implemented? Cheers, Mark