Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-27 Thread Alexander Graf
On 27.01.2014, at 23:51, Gabriel L. Somlo wrote: > On Sat, Jan 25, 2014 at 10:08:37AM +0100, Alexander Graf wrote: >>> From a cursory pass through the Chameleon source, I don't think so. >> Ok :). I only barely remember what Chameleon did on top of the normal >> Apple BIOS bootloader. > > I'll

Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-27 Thread Gabriel L. Somlo
On Sat, Jan 25, 2014 at 10:08:37AM +0100, Alexander Graf wrote: > > From a cursory pass through the Chameleon source, I don't think so. > Ok :). I only barely remember what Chameleon did on top of the normal > Apple BIOS bootloader. I'll start poking at it to find out exactly what it does, but it

Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-25 Thread Alexander Graf
> Am 25.01.2014 um 01:09 schrieb "Gabriel L. Somlo" : > > On Fri, Jan 24, 2014 at 10:18:04PM +0100, Alexander Graf wrote: >>> In the mean time I updated the bootloader I was using (chameleon) to >>> the latest svn (2345), and was able to bring up Lion in addition to >>> SnowLeopard. >> >> Did C

Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-24 Thread Gabriel L. Somlo
On Fri, Jan 24, 2014 at 10:18:04PM +0100, Alexander Graf wrote: > > In the mean time I updated the bootloader I was using (chameleon) to > > the latest svn (2345), and was able to bring up Lion in addition to > > SnowLeopard. > > Did Chameleon patch this up itself in the dsdt maybe? >From a curso

Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-24 Thread Alexander Graf
> Am 24.01.2014 um 17:46 schrieb "Gabriel L. Somlo" : > >> On Tue, Jan 21, 2014 at 08:38:51PM +0200, Michael S. Tsirkin wrote: >>> On Tue, Jan 21, 2014 at 01:11:01PM -0500, Gabriel L. Somlo wrote: >>> Apple hardware invariably adds "IRQNoFlags() {0, 8}" to HPET._CRS, >>> and, at least on piix+sm

Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-24 Thread Gabriel L. Somlo
On Tue, Jan 21, 2014 at 08:38:51PM +0200, Michael S. Tsirkin wrote: > On Tue, Jan 21, 2014 at 01:11:01PM -0500, Gabriel L. Somlo wrote: > > Apple hardware invariably adds "IRQNoFlags() {0, 8}" to HPET._CRS, > > and, at least on piix+smp, an OS X guest will panic unless IRQNoFlags > > is present. On

[Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-21 Thread Gabriel L. Somlo
Apple hardware invariably adds "IRQNoFlags() {0, 8}" to HPET._CRS, and, at least on piix+smp, an OS X guest will panic unless IRQNoFlags is present. On the other hand, Windows XP bluescreens whenever IRQNoFlags is present. This patch conditionally includes IRQNoFlags only when detecting the presenc

Re: [Qemu-devel] [PATCH] ACPI: Add IRQ resource to HPET._CRS on Mac OS X

2014-01-21 Thread Michael S. Tsirkin
On Tue, Jan 21, 2014 at 01:11:01PM -0500, Gabriel L. Somlo wrote: > Apple hardware invariably adds "IRQNoFlags() {0, 8}" to HPET._CRS, > and, at least on piix+smp, an OS X guest will panic unless IRQNoFlags > is present. On the other hand, Windows XP bluescreens whenever > IRQNoFlags is present. Th