[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] pc: reject do pc_acpi_init if acpi_enabled
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] pc: reject do pc_acpi_init if acpi_enabled is false |
Date: |
Wed, 15 May 2013 10:38:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 15/05/2013 06:01, liguang ha scritto:
> Signed-off-by: liguang <address@hidden>
--verbose, please.
What problem does this patch fix?
Paolo
> ---
> hw/i386/pc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> index 197d218..77025a8 100644
> --- a/hw/i386/pc.c
> +++ b/hw/i386/pc.c
> @@ -982,7 +982,7 @@ void pc_acpi_init(const char *default_dsdt)
> {
> char *filename;
>
> - if (acpi_tables != NULL) {
> + if (acpi_tables != NULL || !acpi_enabled) {
> /* manually set via -acpitable, leave it alone */
> return;
> }
>