Re: [Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-15 Thread Eduardo Habkost
On Mon, Sep 14, 2015 at 04:54:25PM -0400, Gabriel L. Somlo wrote: > On Mon, Sep 14, 2015 at 04:34:02PM -0400, Gabriel L. Somlo wrote: > > > > So I'll replace the "if (guest_info->fw_cfg)" check with > > > > "if machine-type >= (pc-q35-2.5 or pc-i440fx-2.5))", in v3, > > > > as soon as the patches f

Re: [Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-14 Thread Gabriel L. Somlo
On Mon, Sep 14, 2015 at 04:34:02PM -0400, Gabriel L. Somlo wrote: > > > So I'll replace the "if (guest_info->fw_cfg)" check with > > > "if machine-type >= (pc-q35-2.5 or pc-i440fx-2.5))", in v3, > > > as soon as the patches for the 2.5 machine type make it into > > > git master (I remember seeing a

Re: [Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-14 Thread Gabriel L. Somlo
On Mon, Sep 14, 2015 at 05:16:44PM -0300, Eduardo Habkost wrote: > On Mon, Sep 14, 2015 at 02:16:49PM -0400, Gabriel L. Somlo wrote: > > On Mon, Sep 14, 2015 at 01:09:41PM -0300, Eduardo Habkost wrote: > > > On Mon, Sep 14, 2015 at 10:57:31AM -0400, Gabriel L. Somlo wrote: > > > > Add a fw_cfg devi

Re: [Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-14 Thread Eduardo Habkost
On Mon, Sep 14, 2015 at 02:16:49PM -0400, Gabriel L. Somlo wrote: > On Mon, Sep 14, 2015 at 01:09:41PM -0300, Eduardo Habkost wrote: > > On Mon, Sep 14, 2015 at 10:57:31AM -0400, Gabriel L. Somlo wrote: > > > Add a fw_cfg device node to the ACPI SSDT. While the guest-side > > > BIOS can't utilize t

Re: [Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-14 Thread Gabriel L. Somlo
On Mon, Sep 14, 2015 at 01:09:41PM -0300, Eduardo Habkost wrote: > On Mon, Sep 14, 2015 at 10:57:31AM -0400, Gabriel L. Somlo wrote: > > Add a fw_cfg device node to the ACPI SSDT. While the guest-side > > BIOS can't utilize this information (since it has to access the > > hard-coded fw_cfg device t

Re: [Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-14 Thread Eduardo Habkost
On Mon, Sep 14, 2015 at 10:57:31AM -0400, Gabriel L. Somlo wrote: > Add a fw_cfg device node to the ACPI SSDT. While the guest-side > BIOS can't utilize this information (since it has to access the > hard-coded fw_cfg device to extract ACPI tables to begin with), > having fw_cfg listed in ACPI will

[Qemu-devel] [PATCH v2 3/5] acpi: pc: add fw_cfg device node to ssdt

2015-09-14 Thread Gabriel L. Somlo
Add a fw_cfg device node to the ACPI SSDT. While the guest-side BIOS can't utilize this information (since it has to access the hard-coded fw_cfg device to extract ACPI tables to begin with), having fw_cfg listed in ACPI will help the guest kernel keep a more accurate inventory of in-use IO port re