On Tue, Dec 15, 2015 at 02:36:10PM +0200, Marcel Apfelbaum wrote: > On 12/11/2015 08:42 PM, Eduardo Habkost wrote: > >We can use PC_MACHINE(qdev_get_machine())->acpi_guest_info to get > >guest_info. > > Hi Eduardo, > > I like the idea of using qdev_get_machine() to get the machine instead of > keeping the reference around, however only in places we cannot get a reference > to it otherwise.
I was unsure if I should go to the extreme of removing all the guest_info parameters, when doing that. I agree with your suggestions, but v3 will have to wait until I get back from vacations in Jan 18th. At least we will have less conflicts with Igor's AML series. :) Thanks! -- Eduardo