From: Paolo Bonzini <pbonzini@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: mst@redhat.com, qemu-devel@nongnu.org, dgilbert@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 1/4] pc: append ssdt-misc.dsl to the DSDT
Date: Mon, 19 Jan 2015 16:41:26 +0100 [thread overview]
Message-ID: <54BD25A6.9010502@redhat.com> (raw)
In-Reply-To: <20150119161549.0a4162f3@nial.brq.redhat.com>
On 19/01/2015 16:15, Igor Mammedov wrote:
> On Wed, 24 Dec 2014 17:07:35 +0100
> Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>> This part of the ACPI tables can vary in size across machine types, but
> s/machine types/QEMU versions/ since it doesn't change its size on machine
> type.
Right.
>> does not depend on the command-line. It is an SSDT just because it is
> s/does not/its size does not/
Right.
>> the same for i440fx and Q35, and making it an SSDT made the code a bit
> it's in SSDT because we are patching its values and DSDT were supposed
> to stay static (not only size but contents also).
> I'd prefer to keep dynamic part in SSDT to maintain the same separation
> for now.
The DSDT is being patched anyway for the SMC. So "the DSDT is dynamic,
the SSDT is static" is not something that happens anyway. The truth is
"the SSDT (apart from ssdt-misc) defines Devices each of which comes
from a template". This patch removes the "apart from ssdt-misc" part,
and also moves the patching of the SMC out of the per-machine-type AML,
since it is shared anyway.
>> simpler. However, it also complicates backwards compatibility, so
>> merge it with the DSDT.
> What are these complications?
The complication arises if we want to make the SSDT exactly the same for
all QEMU versions, given a (machine type, command line) pair. Then you
either cannot do any change to ssdt-misc, or you have to keep different
copies for each machine type.
Paolo
next prev parent reply other threads:[~2015-01-19 15:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-24 16:07 [Qemu-devel] [PATCH v2 0/4] acpi: move common parts of the SSDT to the DSDT (and preview of things to come) Paolo Bonzini
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 1/4] pc: append ssdt-misc.dsl to the DSDT Paolo Bonzini
2015-01-19 15:15 ` Igor Mammedov
2015-01-19 15:41 ` Paolo Bonzini [this message]
2015-01-19 17:14 ` Igor Mammedov
2015-01-19 17:26 ` Paolo Bonzini
2015-01-19 19:29 ` Michael S. Tsirkin
2015-01-19 19:33 ` Michael S. Tsirkin
2015-01-19 19:57 ` Paolo Bonzini
2015-01-19 21:27 ` Michael S. Tsirkin
2015-01-20 9:59 ` Igor Mammedov
2015-01-20 10:34 ` Paolo Bonzini
2015-01-20 10:35 ` Michael S. Tsirkin
2015-01-20 12:41 ` Igor Mammedov
2015-01-20 12:56 ` Michael S. Tsirkin
2015-01-19 15:31 ` Michael S. Tsirkin
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 2/4] pc: rename ssdt-misc to dsdt-common Paolo Bonzini
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 3/4] pc: move common parts of the DSDT " Paolo Bonzini
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 4/4] pc: merge DSDT common parts into acpi-dsdt-common.dsl Paolo Bonzini
2015-01-19 15:26 ` Michael S. Tsirkin
2015-01-19 15:33 ` Paolo Bonzini
2015-01-19 15:38 ` Michael S. Tsirkin
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 5/4] pc: introduce new ACPI table sizing algorithm Paolo Bonzini
2015-01-19 15:33 ` Michael S. Tsirkin
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 6/4] pc: clean up pre-2.1 compatibility code Paolo Bonzini
2014-12-24 16:07 ` [Qemu-devel] [PATCH v2 7/4] pc: go back to smaller ACPI tables Paolo Bonzini
2015-01-19 15:36 ` Michael S. Tsirkin
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=54BD25A6.9010502@redhat.com \
--to=pbonzini@redhat.com \
--cc=dgilbert@redhat.com \
--cc=imammedo@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).