All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
To: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Richard Henderson <rth@twiddle.net>,
	seabios@seabios.org, Eduardo Habkost <ehabkost@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 6/6] q35: skip q35-acpi-dsdt.aml load if not needed
Date: Thu, 17 Dec 2015 18:49:05 +0200	[thread overview]
Message-ID: <5672E781.1010802@gmail.com> (raw)
In-Reply-To: <1450348849-21204-7-git-send-email-kraxel@redhat.com>

M
On 12/17/2015 12:40 PM, Gerd Hoffmann wrote:
> Only old machine types which don't use the acpi builder (qemu 1.7 + older)
> have to load that file for proper acpi support.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>   hw/i386/pc_q35.c | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
> index 133bc68..727269e 100644
> --- a/hw/i386/pc_q35.c
> +++ b/hw/i386/pc_q35.c
> @@ -129,7 +129,10 @@ static void pc_q35_init(MachineState *machine)
>       }
>
>       pc_cpus_init(pcms);
> -    pc_acpi_init("q35-acpi-dsdt.aml");
> +    if (!has_acpi_build) {
> +        /* only machine types 1.7 & older need this */

Actually 1.6 and older, right? (I might be wrong)

> +        pc_acpi_init("q35-acpi-dsdt.aml");
> +    }
>
>       kvmclock_create();
>
>

It looks OK to me.

Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>

Thanks,
Marcel

  reply	other threads:[~2015-12-17 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 10:40 [Qemu-devel] [PATCH 0/6] seabios: update to release 1.9.0 Gerd Hoffmann
2015-12-17 10:40 ` [Qemu-devel] [PATCH 1/6] seabios: update submodule " Gerd Hoffmann
2015-12-17 10:40 ` [Qemu-devel] [PATCH 2/6] seabios: update 128k bios config Gerd Hoffmann
2015-12-17 10:40 ` [Qemu-devel] [PATCH 3/6] seabios: use new EXTRAVERSION to tag qemu builds Gerd Hoffmann
2015-12-17 10:40 ` [Qemu-devel] [PATCH 4/6] seabios: stop updating aml files Gerd Hoffmann
2015-12-17 10:40 ` [Qemu-devel] [PATCH 5/6] seabios: update binaries to release 1.9.0 Gerd Hoffmann
2015-12-17 10:40 ` [Qemu-devel] [PATCH 6/6] q35: skip q35-acpi-dsdt.aml load if not needed Gerd Hoffmann
2015-12-17 16:49   ` Marcel Apfelbaum [this message]
2015-12-17 17:22   ` Eduardo Habkost
2015-12-18  7:22     ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5672E781.1010802@gmail.com \
    --to=marcel.apfelbaum@gmail.com \
    --cc=ehabkost@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=marcel@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=seabios@seabios.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.