Index: xen-3.0.4-testing/tools/python/xen/xend/XendBootloader.py =================================================================== --- xen-3.0.4-testing.orig/tools/python/xen/xend/XendBootloader.py +++ xen-3.0.4-testing/tools/python/xen/xend/XendBootloader.py @@ -22,7 +22,7 @@ from XendLogging import log from XendError import VmError def bootloader(blexec, disk, quiet = False, blargs = '', kernel = '', - ramdisk = '', kernel_args = ''): + ramdisk = '', kernel_args = '', dryrun = False): """Run the boot loader executable on the given disk and return a config image. @param blexec Binary to use as the boot loader @@ -55,6 +55,8 @@ def bootloader(blexec, disk, quiet = Fal args = [ blexec ] if quiet: args.append("-q") + if dryrun: + args.append("--dryrun") args.append("--output=%s" % fifo) if blargs: args.extend(shlex.split(blargs))