From: Ian Jackson Date: Thu, 12 Jun 2008 15:16:00 +0000 (+0100) Subject: Reintroduce support for -acpi option. X-Git-Tag: xen-3.3.0-rc1~77 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=00261c13116f728bcd29effa0b1e2c00ad1c490e;p=qemu-xen-4.0-testing.git Reintroduce support for -acpi option. This was lost during the merge. --- diff --git a/vl.c b/vl.c index 155e7028..4ae31449 100644 --- a/vl.c +++ b/vl.c @@ -7433,6 +7433,7 @@ enum { QEMU_OPTION_disable_opengl, QEMU_OPTION_direct_pci, QEMU_OPTION_vcpus, + QEMU_OPTION_acpi, QEMU_OPTION_pidfile, QEMU_OPTION_no_kqemu, QEMU_OPTION_kernel_kqemu, @@ -7512,7 +7513,7 @@ 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_domid }, /* deprecated */ + { "d", HAS_ARG, QEMU_OPTION_domid }, /* deprecated; for xend compatibility */ { "domid", HAS_ARG, QEMU_OPTION_domid }, { "hdachs", HAS_ARG, QEMU_OPTION_hdachs }, { "L", HAS_ARG, QEMU_OPTION_L }, @@ -7542,6 +7543,7 @@ const QEMUOption qemu_options[] = { { "disable-opengl", 0, QEMU_OPTION_disable_opengl }, #endif CONFIG_OPENGL { "vcpus", 1, QEMU_OPTION_vcpus }, + { "acpi", 0, QEMU_OPTION_acpi }, /* deprecated, for xend compatibility */ { "direct_pci", HAS_ARG, QEMU_OPTION_direct_pci }, { "pidfile", HAS_ARG, QEMU_OPTION_pidfile }, { "win2k-hack", 0, QEMU_OPTION_win2k_hack }, @@ -8305,6 +8307,9 @@ int main(int argc, char **argv) vcpus = atoi(optarg); fprintf(logfile, "qemu: the number of cpus is %d\n", vcpus); break; + case QEMU_OPTION_acpi: + acpi_enabled = 1; + break; case QEMU_OPTION_pidfile: pid_file = optarg; break;