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

[Xen-devel] Wondering about pv devcie configuration and usage

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Wondering about pv devcie configuration and usage
From: Stefan Bader <stefan.bader@xxxxxxxxxxxxx>
Date: Wed, 19 Oct 2011 14:06:34 +0200
Delivery-date: Wed, 19 Oct 2011 05:08:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15
I know this is more of a design problem and maybe there are already changes to
solve that...

When looking at xen 4.1.1 and 3.0 kernels it looks to me that the decision about
unplugging is done based on what drivers are available, while the decision about
whether the blkfront driver makes the disk available is done based on the
theoretical major.

So when having a disk defined as "hda" in the config, a kernel that has the pci
frontend and the blk frontend available will first unplug the ide disk and then
refuse to use the pv disk because the hda major would not be the right one. Even
naming the disk xvda in the config will cause an emulated device to appear (if
unplugging is prevented).

I know this all goes back quite a while. Just wondering whether it would be an
acceptable approach to

- For a PV guest that defines sd? or hd? names, print a big warning and maybe
  map even before configuring the domain.
- For HVM guests, anything configured as hd? only gives emulated drives and
  anything declared as xvd? only gives pv disks.

It may be over simplified thinking...

-Stefan

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Wondering about pv devcie configuration and usage, Stefan Bader <=