|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] stubdoms: handle cdrom devices in the con
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1240500168 -3600
# Node ID 8b152638adaaa8a48f38564ef9bc9b479bb43bf0
# Parent 3ccd0f0dba5bc3491095bc0f72f41e17190eacf8
stubdoms: handle cdrom devices in the config file
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
stubdom/stubdom-dm | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -r 3ccd0f0dba5b -r 8b152638adaa stubdom/stubdom-dm
--- a/stubdom/stubdom-dm Thu Apr 23 12:21:29 2009 +0100
+++ b/stubdom/stubdom-dm Thu Apr 23 16:22:48 2009 +0100
@@ -112,6 +112,8 @@ do
vbd_disk=`xenstore-read $i/params`
vbd_type=`xenstore-read $i/type`
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"
@@ -120,7 +122,7 @@ do
then
echo -n "," >> /etc/xen/stubdoms/$domname-dm
fi
- echo -n "'$vbd_type:$vbd_disk,$vbd_dev,$vbd_mode'" >>
/etc/xen/stubdoms/$domname-dm
+ echo -n "'$vbd_type:$vbd_disk,$vbd_dev:$vbd_devtype,$vbd_mode'" >>
/etc/xen/stubdoms/$domname-dm
j=$(( $j + 1 ))
done
echo " ] " >> /etc/xen/stubdoms/$domname-dm
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] stubdoms: handle cdrom devices in the config file,
Xen patchbot-unstable <=
|
|
|
|
|