WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] exception looking up device number for hda

To: Arun Sharma <arun.sharma@xxxxxxxxx>
Subject: Re: [Xen-devel] exception looking up device number for hda
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 9 Aug 2005 02:49:51 +0100
Cc: Mike Wray <mike.wray@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, takebe_akio@xxxxxxxxxxxxxx
Delivery-date: Tue, 09 Aug 2005 01:50:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42F7F39E.3020300@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <42F3BF2C.70403@xxxxxxxxx> <200508081548.18887.mark.williamson@xxxxxxxxxxxx> <42F7F39E.3020300@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
> > 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel