qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 23/35] acpi:piix4: make plug/unlug callbacks gen


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 23/35] acpi:piix4: make plug/unlug callbacks generic
Date: Tue, 29 Apr 2014 10:12:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Il 07/04/2014 17:36, Michael S. Tsirkin ha scritto:
>  * What if there would be more handlers that could or should handle event
>    for device?
That's actually very useful. We could scan top to bottom
so e.g. acpi can intercept bridges.


Be careful about "top to bottom". Does top-to-bottom mean by bus or by composition? This has been a huge can of worms in the discussions about recursive realization.

One thing we could do is to always go through /machine even before invoking the bus handler. Then /machine can do machine-specific checks to interpose the PCI host bridge and/or the ACPI device's hotplug handlers.

But this can be done on top of this series, it has nothing to do with memory hotplug and this one is already big enough!

Paolo



reply via email to

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