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: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] exception looking up device number for hda
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Mon, 08 Aug 2005 17:06:54 -0700
Cc: Mike Wray <mike.wray@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, takebe_akio@xxxxxxxxxxxxxx
Delivery-date: Tue, 09 Aug 2005 00:05:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200508081548.18887.mark.williamson@xxxxxxxxxxxx>
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> <3FC59BBFF4B882takebe_akio@xxxxxxxxxxxxxx> <42F6EFE2.8010107@xxxxxxxxx> <200508081548.18887.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Mark Williamson wrote:
I was looking for suggestions as to how:

a) IDE hard drives for VMX domains should be configured
b) VBD based devices for VMX domains should be configured


Ah, I guess we have to distinguish the two...

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

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.

        -Arun

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