Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-06-03 Thread Jordan Justen
On Mon, Jun 3, 2013 at 4:12 PM, Anthony Liguori wrote: > Jordan Justen writes: >> I mentioned in the other thread that perhaps QEMU could also consider >> making the ACPI code available under some 'appropriate' license, which >> would allow firmware writers to leverage the code directly if desire

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-06-03 Thread Anthony Liguori
Jordan Justen writes: > On Tue, May 14, 2013 at 6:34 AM, Anthony Liguori > wrote: >> "Michael S. Tsirkin" writes: >> >>> On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote: I don't think it's a good idea to move BIOS functionality in QEMU. >>> >>> Just to clarify: generating

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-06-03 Thread Jordan Justen
On Tue, May 14, 2013 at 6:34 AM, Anthony Liguori wrote: > "Michael S. Tsirkin" writes: > >> On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote: >>> I don't think it's a good idea to move BIOS functionality in QEMU. >> >> Just to clarify: generating ACPI tables is not BIOS >> function

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-16 Thread Michael S. Tsirkin
On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote: > I don't think it's a good idea to move BIOS functionality in QEMU. > > We don't frequently add firmware or chipsets so it seems like we're > optimizing for an uncommon scenario here. > > Regards, > > Anthony Liguori By the way,

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Michael S. Tsirkin
On Tue, May 14, 2013 at 08:34:43AM -0500, Anthony Liguori wrote: > "Michael S. Tsirkin" writes: > > > On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote: > >> I don't think it's a good idea to move BIOS functionality in QEMU. > > > > Just to clarify: generating ACPI tables is not BIO

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Anthony Liguori
Gerd Hoffmann writes: > Hi, > and is also a good reason why exposing this information via a common interface (fw_cfg) would be a good idea. >>> >>> Huh? As far I know we generate device trees in qemu instead of >>> expecting pseries firmware compile them from fw_cfg information.

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Gerd Hoffmann
Hi, >>> and is also a good >>> reason why exposing this information via a common interface (fw_cfg) >>> would be a good idea. >> >> Huh? As far I know we generate device trees in qemu instead of >> expecting pseries firmware compile them from fw_cfg information. > > It depends on what firmware

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Anthony Liguori
"Michael S. Tsirkin" writes: > On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote: >> I don't think it's a good idea to move BIOS functionality in QEMU. > > Just to clarify: generating ACPI tables is not BIOS > functionality. It ended up in seabios for historical > reasons. > > A nor

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Anthony Liguori
Gerd Hoffmann writes: > Hi, > >>> Several future developments that this will enable: >>> - make it easier to use alternative firmware: >>> any firmware can just load the ACPI tables from QEMU. >>> case in point OVMF. >> >> UEFI obviously can create ACPI tables already so I don't think this

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Michael S. Tsirkin
On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote: > I don't think it's a good idea to move BIOS functionality in QEMU. Just to clarify: generating ACPI tables is not BIOS functionality. It ended up in seabios for historical reasons. A normal scenario for ACPI tables is that they ar

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Peter Maydell
On 14 May 2013 10:29, Gerd Hoffmann wrote: > Anthony wrote: >> and is also a good >> reason why exposing this information via a common interface (fw_cfg) >> would be a good idea. > > Huh? As far I know we generate device trees in qemu It depends. For ARM we insist that the user provides the devi

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-14 Thread Gerd Hoffmann
Hi, >> Several future developments that this will enable: >> - make it easier to use alternative firmware: >> any firmware can just load the ACPI tables from QEMU. >> case in point OVMF. > > UEFI obviously can create ACPI tables already so I don't think this is a > valid advantage. Yea, bu

Re: [Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-13 Thread Anthony Liguori
"Michael S. Tsirkin" writes: > This patchset moves all generation of ACPI tables > from guest BIOS to the hypervisor. > > Although ACPI tables come from a system BIOS on real hw, > it makes sense that the ACPI tables are coupled with the > virtual machine, since they have to abstract the x86 mach

[Qemu-devel] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

2013-05-13 Thread Michael S. Tsirkin
This patchset moves all generation of ACPI tables from guest BIOS to the hypervisor. Although ACPI tables come from a system BIOS on real hw, it makes sense that the ACPI tables are coupled with the virtual machine, since they have to abstract the x86 machine to the OS's. Several future developme