Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-08-27 Thread Laszlo Ersek
On 08/27/15 19:58, Michael S. Tsirkin wrote: > On Thu, Aug 27, 2015 at 04:27:00PM +0200, Laszlo Ersek wrote: >> On 06/09/15 16:05, Michael S. Tsirkin wrote: >>> On Tue, Jun 09, 2015 at 04:02:08PM +0200, Laszlo Ersek wrote: On 06/09/15 11:49, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-08-27 Thread Michael S. Tsirkin
On Thu, Aug 27, 2015 at 04:27:00PM +0200, Laszlo Ersek wrote: > On 06/09/15 16:05, Michael S. Tsirkin wrote: > > On Tue, Jun 09, 2015 at 04:02:08PM +0200, Laszlo Ersek wrote: > >> On 06/09/15 11:49, Michael S. Tsirkin wrote: > >>> On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > >>>

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-08-27 Thread Laszlo Ersek
On 06/09/15 16:05, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 04:02:08PM +0200, Laszlo Ersek wrote: >> On 06/09/15 11:49, Michael S. Tsirkin wrote: >>> On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: I would just patch OVMF to ignore the RSDT if there is an XSDT. >

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 04:02:08PM +0200, Laszlo Ersek wrote: > On 06/09/15 11:49, Michael S. Tsirkin wrote: > > On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > >> I would just patch OVMF to ignore the RSDT if there is an XSDT. > >> > >> Alternatively, can you check for ACPI 2.0 su

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Laszlo Ersek
On 06/09/15 11:49, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: >> I would just patch OVMF to ignore the RSDT if there is an XSDT. >> >> Alternatively, can you check for ACPI 2.0 support via _OSI, and load the >> ACPI 2.0 bits via LoadTable? Hopefully

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Laszlo Ersek
On 06/09/15 10:34, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 09:41:20AM +0200, Laszlo Ersek wrote: >> On 06/09/15 08:38, Michael S. Tsirkin wrote: >>> On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: >>

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > I would just patch OVMF to ignore the RSDT if there is an XSDT. > > Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI > 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI > 1.0)

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Igor Mammedov
On Tue, 9 Jun 2015 08:35:38 +0200 "Michael S. Tsirkin" wrote: > On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > > I would just patch OVMF to ignore the RSDT if there is an XSDT. > > > > Alternatively, can you check for ACPI 2.0 support via _OSI, and load the > > ACPI 2.0 bits v

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > I would just patch OVMF to ignore the RSDT if there is an XSDT. > > Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI > 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI > 1.0)

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 09:41:20AM +0200, Laszlo Ersek wrote: > On 06/09/15 08:38, Michael S. Tsirkin wrote: > > On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: > >> On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > >>> I would just patch OVMF to ignore the RSDT i

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-09 Thread Laszlo Ersek
On 06/09/15 08:38, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: >> On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: >>> I would just patch OVMF to ignore the RSDT if there is an XSDT. >>> >>> Alternatively, can you check for ACPI 2.0

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-08 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 08:35:38AM +0200, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > > I would just patch OVMF to ignore the RSDT if there is an XSDT. > > > > Alternatively, can you check for ACPI 2.0 support via _OSI, and load the > > ACPI 2.0 bi

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-08 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:02:31AM -0400, Paolo Bonzini wrote: > I would just patch OVMF to ignore the RSDT if there is an XSDT. > > Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI > 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI > 1.0)

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-08 Thread Paolo Bonzini
I would just patch OVMF to ignore the RSDT if there is an XSDT. Alternatively, can you check for ACPI 2.0 support via _OSI, and load the ACPI 2.0 bits via LoadTable? Hopefully XP does not BSOD if the invalid (for ACPI 1.0) opcodes are in a Then block or in a separate method... Then you can use

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-08 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:08:03AM +0200, Laszlo Ersek wrote: > On 06/08/15 20:14, Michael S. Tsirkin wrote: > > XSDT support allows using ACPI 2 features while > > avoiding breaking legacy windows XP guests: > > ACPI 2 tables are linked from XSDT only, > > ACPI 1 tables from both RSDT and XSDT, th

Re: [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-08 Thread Laszlo Ersek
On 06/08/15 20:14, Michael S. Tsirkin wrote: > XSDT support allows using ACPI 2 features while > avoiding breaking legacy windows XP guests: > ACPI 2 tables are linked from XSDT only, > ACPI 1 tables from both RSDT and XSDT, this way > XP does not see ACPI 2 tables. > > As a first step, this patch

[Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

2015-06-08 Thread Michael S. Tsirkin
XSDT support allows using ACPI 2 features while avoiding breaking legacy windows XP guests: ACPI 2 tables are linked from XSDT only, ACPI 1 tables from both RSDT and XSDT, this way XP does not see ACPI 2 tables. As a first step, this patchset generates v2 RSDP and fills in XSDT matching RSDT exact