On 20.12.2013, at 16:54, Gabriel L. Somlo <gso...@gmail.com> wrote: > AppleSMC (-device isa-applesmc) is required to boot OS X guests. > OS X expects a SMC node to be present in the ACPI DSDT. This patch > adds a SMC node to the DSDT, and dynamically patches the return value > of SMC._STA to either 0x0B if the chip is present, or otherwise to 0x00, > before booting the guest. > > Signed-off-by: Gabriel Somlo <so...@cmu.edu>
I haven't checked for the actual functionality, but please make sure the patch passes checkpatch.pl. I spot at least one case of missing braces - and it'd be a shame if it gets rejected over that. Alex