[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry |
Date: |
Mon, 13 Apr 2015 18:40:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 13/04/2015 18:34, Corey Minyard wrote:
> > > I made this the same as the ACPI code, which you have to have as a
> > > callback if you are adding it to a common SSDT.
> >
> > Not really I think.
>
> The AML functions require that you have a tree to attach what you are
> adding. If you did your own SSDT, you wouldn't need a callback. You
> could add a binary blob that gets put into the SSDT, but I think that
> would require adding some AML functions.
I very much prefer the callback idea. Long term it could be used by
more devices and possibly it could be turned into an AMLProvider QOM
interface. Then the ACPI builder could iterate on all QOM devices and
just ask which of them can provide some AML.
Also, tables are rebuilt when the firmware loads them, and handing in a
blob makes it harder to achieve this on-the-fly modification, compared
to callbacks.
Paolo
- [Qemu-devel] [PATCH 11/15] pc: Postpone SMBIOS table installation to post machine init, (continued)
- [Qemu-devel] [PATCH 11/15] pc: Postpone SMBIOS table installation to post machine init, minyard, 2015/04/07
- [Qemu-devel] [PATCH 04/15] ipmi: Add a BT low-level interface, minyard, 2015/04/07
- [Qemu-devel] [PATCH 09/15] ipmi: Add migration capability to the IPMI device., minyard, 2015/04/07
- [Qemu-devel] [PATCH 13/15] configure: Copy some items from default configs to target configs, minyard, 2015/04/07
- [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, minyard, 2015/04/07
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Michael S. Tsirkin, 2015/04/12
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Corey Minyard, 2015/04/12
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Michael S. Tsirkin, 2015/04/13
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Corey Minyard, 2015/04/13
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Michael S. Tsirkin, 2015/04/14
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Corey Minyard, 2015/04/14
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Paolo Bonzini, 2015/04/14
- Re: [Qemu-devel] [PATCH 10/15] smbios: Add a function to directly add an entry, Michael S. Tsirkin, 2015/04/14
[Qemu-devel] [PATCH 12/15] ipmi: Add SMBIOS table entry, minyard, 2015/04/07
[Qemu-devel] [PATCH 06/15] ipmi: Add an external connection simulation interface, minyard, 2015/04/07
[Qemu-devel] [PATCH 07/15] ipmi: Add tests, minyard, 2015/04/07
[Qemu-devel] [PATCH 14/15] acpi: Add hooks for adding things to the SSDT table, minyard, 2015/04/07