qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4] Hvmloader: Modify ACPI to only supply _EJ0 m


From: Jan Beulich
Subject: Re: [Qemu-devel] [PATCH v4] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching
Date: Fri, 09 May 2014 10:35:32 +0100

>>> On 09.05.14 at 10:47, <address@hidden> wrote:
> From: Gonglei <address@hidden>
> 
> In Xen platform, after using upstream qemu, the all of pci devices
> will show hotplug in the windows guest, no matter whether they can
> be hotpluged. It is unfriendly. The PCI devices that can not be
> hotpluged are hidden by modifing the DSDT entries of PCI slots when runtime.
> 
> This is done by:
>  - Rename _EJ0 methods for PCI slots in DSDT to EJ0_:note that
>    this has the same checksum, but is ignored by OSPM.
>  - At compile time, look for these methods in ASL source,
>    find the matching AML, and store the offsets of these methods
>    in a table named aml_ej0_data.
>  - At run time, go over aml_ej0_data, check which slots not support
>    hotplug and patch the ACPI table, replacing _EJ0 with EJ0_.

I think you mistakenly sent this to qemu-devel instead of xen-devel.
And it also seem pretty pointless to send a v4 without addressing
all comments you got on v3.

Jan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]