aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-26 09:50:35 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-26 09:50:35 +0100
commit1d89b445615a361f0e3fbabc77496157cce34835 (patch)
tree1b26242c43f4172fd93883abbd4a260ff85eb30c /stubdom
parent0f688ae30489d364fb6f12428b695cd7d83e9cdc (diff)
downloadxen-1d89b445615a361f0e3fbabc77496157cce34835.tar.gz
xen-1d89b445615a361f0e3fbabc77496157cce34835.tar.bz2
xen-1d89b445615a361f0e3fbabc77496157cce34835.zip
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 <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'stubdom')
-rw-r--r--stubdom/stubdom-dm4
1 files changed, 0 insertions, 4 deletions
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