qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 15/16] qapi: add HOTPLUG_STATE event


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v4 15/16] qapi: add HOTPLUG_STATE event
Date: Tue, 14 Feb 2023 12:52:27 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 14.02.23 11:56, Markus Armbruster wrote:
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

On 13/2/23 15:01, Vladimir Sementsov-Ogievskiy wrote:
For PCIe and SHPC hotplug it's important to track led indicators,
especially the power led. Add an event that helps.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
---
   qapi/qdev.json                  | 175 ++++++++++++++++++++++++++++++++
   include/hw/hotplug.h            |  12 +++
   include/hw/pci/pci.h            |   3 +
   include/hw/pci/pci_bridge.h     |   2 +
   include/hw/pci/pcie.h           |   2 +
   include/hw/pci/shpc.h           |   2 +
   include/monitor/qdev.h          |   5 +
   hw/core/hotplug.c               |  13 +++
   hw/pci-bridge/pci_bridge_dev.c  |  14 +++
   hw/pci-bridge/pcie_pci_bridge.c |   1 +
   hw/pci/pcie.c                   |  79 ++++++++++++++
   hw/pci/pcie_port.c              |   1 +
   hw/pci/shpc.c                   | 102 ++++++++++++++++++-
   softmmu/qdev-monitor.c          |  39 +++++++
   14 files changed, 445 insertions(+), 5 deletions(-)

-ETOOBIG

Can't see how this could be split sensibly: it's a single query/event
pair.  If you can, let us know.


I can split necessary handlers in device code to a separate preparation patch.

--
Best regards,
Vladimir




reply via email to

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