feature #1163: use image format as prefix for disks

This commit is contained in:
Javi Fontan committed 2013-05-21 12:49:44 +02:00
1 parent abc4bbb6d3
commit ff01b7b5ad
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -28,6 +28,6 @@
#OS = [ kernel="/vmlinuz", initrd="/initrd.img", root="sda1", kernel_cmd="ro", hvm="yes" ]
CREDIT = 256
DISK = [ driver = "tap2:tapdisk:aio:" ]
DISK = [ driver = "raw:" ]
#RAW = "data=\"on_crash=destroy\""
+1 -1
View File
@@ -47,7 +47,7 @@ READONLY="${XPATH_ELEMENTS[2]}"
BUS="${XPATH_ELEMENTS[3]}"
CACHE="${XPATH_ELEMENTS[4]}"
DEFAULT_FILE_PREFIX="file"
DEFAULT_FILE_PREFIX="raw"
if [ -n "$IMAGE_PREFIX" ]; then
DEFAULT_FILE_PREFIX="$IMAGE_PREFIX"
+1 -1
View File
@@ -41,7 +41,7 @@ export XM_CREDITS="sudo $XM_PATH sched-credit"
# Xen 4 uses the new blktap2 and tap:aio handler is no longer supported.
# To make it work uncomment this line. This will be used as the default
# handler for disk hot plug
export IMAGE_PREFIX="tap2:tapdisk:aio"
export IMAGE_PREFIX="raw"
# Seconds to wait after shutdown until timeout
export SHUTDOWN_TIMEOUT=300