|
From: | Liu, Jing2 |
Subject: | Re: [Qemu-devel] [Issues] PCI hotplug does not work well on pc platform? |
Date: | Mon, 18 Feb 2019 12:24:02 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
Hi Marcel and Igor, Thanks very much for your help! On 2/14/2019 10:42 PM, Marcel Apfelbaum wrote:
[...]
I have two questions.1. PCI hotplug on pci.0 must manually rescan in guest. The ACPI hotplug handler sends the GPE event to guest but it seems guest doesn't receive it? I tried to open ACPI debug level/layer to 0xffffffff, in order to see if there is any message after device_add in monitor, but no messagecomes out until I manually rescan. Also tried printk inacpi_ev_gpe_xrupt_handler() and acpi_ev_sci_xrupt_handler(). No outputin dmesg. (I'm sure that CONFIG_HOTPLUG_PCI_PCIE=y, CONFIG_HOTPLUG_PCI_CPCI=y, CONFIG_HOTPLUG_PCI=y, CONFIG_HOTPLUG_PCI_ACPI=y)What about |CONFIG_HOTPLUG_PCI_SHPC=y ?
Thanks and I finally found it is because I set hardware reduced acpi before and now it is correct.
Oh, it is some customer's requests. And the method to set PIIX4_PM property works.|Is there any key config of kernel in guest, besides those I listed above?Whether this is a kind of design or a known issue? Does guest receivethe request, where can I find thedoes it work with known to work kernels (RHEL7)? Also sharing used QEMU version and command line could help.Maybe Marcel knows something about it (CCed)May I ask why do you need SHPC hotplug and not the ACPI based hotplug?
Thanks! Jing
[Prev in Thread] | Current Thread | [Next in Thread] |