From 1d89b445615a361f0e3fbabc77496157cce34835 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 26 May 2009 09:50:35 +0100 Subject: stubdom: 'file' based disk sharing Allow 'file' based disks, that are blkback based disks, to be shared between the guest domain and the stubdom. It does so exploiting the same exception introduced in the previous patch "stubdoms phy disks sharing". Now we can remove the hack in stubdom-dm that forces "file" disks to be opened using blktap instead of blkback. Signed-off-by: Stefano Stabellini --- stubdom/stubdom-dm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'stubdom') diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm index 0bcc1e644b..be39fff894 100644 --- a/stubdom/stubdom-dm +++ b/stubdom/stubdom-dm @@ -114,10 +114,6 @@ do vbd_dev=`xenstore-read $i/dev` vbd_front=`xenstore-read $i/frontend` vbd_devtype=`xenstore-read $vbd_front/device-type` - if [ $vbd_type = "file" ] - then - vbd_type="tap:aio" - fi if [ $j -ne 0 ] then echo -n "," >> /etc/xen/stubdoms/$domname-dm -- cgit v1.2.3