From: Ian Jackson Date: Mon, 16 Mar 2009 16:50:49 +0000 (+0000) Subject: Fix option parsing; override upstream `-d' option for `domain'. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e9e5fbe7e6a520831f61dd205e9359408044aa1f;p=xenclient%2Fioemu.git Fix option parsing; override upstream `-d' option for `domain'. Pending change to xend to pass arguments differently, we need to suppress the -d logfile parameter. Also we accidentally dropped HAS_ARG from -vcpus during the merge. Signed-off-by: Ian Jackson --- diff --git a/vl.c b/vl.c index 172a3f75..9b9f7d51 100644 --- a/vl.c +++ b/vl.c @@ -4334,7 +4334,7 @@ static const QEMUOption qemu_options[] = { { "S", 0, QEMU_OPTION_S }, { "s", 0, QEMU_OPTION_s }, { "p", HAS_ARG, QEMU_OPTION_p }, - { "d", HAS_ARG, QEMU_OPTION_d }, +// { "d", HAS_ARG, QEMU_OPTION_d }, { "hdachs", HAS_ARG, QEMU_OPTION_hdachs }, { "L", HAS_ARG, QEMU_OPTION_L }, { "bios", HAS_ARG, QEMU_OPTION_bios }, @@ -4377,7 +4377,7 @@ static const QEMUOption qemu_options[] = { { "direct_pci", HAS_ARG, QEMU_OPTION_direct_pci }, { "pciemulation", HAS_ARG, QEMU_OPTION_pci_emulation }, { "vncunused", 0, QEMU_OPTION_vncunused }, - { "vcpus", 0, QEMU_OPTION_vcpus }, + { "vcpus", HAS_ARG, QEMU_OPTION_vcpus }, #ifdef CONFIG_XEN { "xen-domid", HAS_ARG, QEMU_OPTION_xen_domid }, { "xen-create", 0, QEMU_OPTION_xen_create },