From 073cce723f8c046d926a86a470eb556bbbb77fe8 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 23 Apr 2012 12:18:44 +0200 Subject: [PATCH] dom0/qvm-start: remove obsolete --console switch --- dom0/qvm-tools/qvm-start | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dom0/qvm-tools/qvm-start b/dom0/qvm-tools/qvm-start index 4ee41b6f..0ae844e3 100755 --- a/dom0/qvm-tools/qvm-start +++ b/dom0/qvm-tools/qvm-start @@ -35,8 +35,12 @@ def main(): parser.add_option ("-q", "--quiet", action="store_false", dest="verbose", default=True) parser.add_option ("--no-guid", action="store_true", dest="noguid", default=False, help="Do not start the GUId (ignored)") - parser.add_option ("--console", action="store_true", dest="debug_console", default=False, - help="Attach debugging console to the newly started VM") + parser.add_option ("--drive", dest="drive", default=None, + help="Temporarily attach specified drive as CD/DVD or hard disk (can be specified with prefix 'hd:' or 'cdrom:', default is cdrom)") + parser.add_option ("--hddisk", dest="drive_hd", default=None, + help="Temporarily attach specified drive as hard disk") + parser.add_option ("--cdrom", dest="drive_cdrom", default=None, + help="Temporarily attach specified drive as CD/DVD") parser.add_option ("--dvm", action="store_true", dest="preparing_dvm", default=False, help="Do actions necessary when preparing DVM image") parser.add_option ("--custom-config", action="store", dest="custom_config", default=None, @@ -62,7 +66,7 @@ def main(): try: vm.verify_files() - xid = vm.start(debug_console=options.debug_console, verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid) + xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid) except (IOError, OSError, QubesException) as err: print >> sys.stderr, "ERROR: {0}".format(err) exit (1)