From 796f45a864c3a66fe469a9e449bbc4b2e3411faa Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 30 Sep 2011 11:20:03 +0200 Subject: [PATCH] dom0+vm: minor fixes in qvm-block scripts --- common/block_add_change | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/block_add_change b/common/block_add_change index a9f7e06..b4bd0f0 100755 --- a/common/block_add_change +++ b/common/block_add_change @@ -19,7 +19,7 @@ fi # Special case for CD if [ "$ID_TYPE" = "cd" ]; then - if [ "$ID_MEDIA_CDROM" != "1" ]; then + if [ "$ID_CDROM_MEDIA" != "1" ]; then # Hide empty cdrom drive xenstore-rm "$XS_KEY" exit 0