Re: [PATCH v3 15/15] qapi: introduce query-hotplug command

2023-02-10 Thread Vladimir Sementsov-Ogievskiy
On 10.02.23 13:09, Markus Armbruster wrote: Vladimir Sementsov-Ogievskiy writes: Add a command that returns same information like HOTPLUG_STATE event. Signed-off-by: Vladimir Sementsov-Ogievskiy Events and queries commonly come paired: management applications want the event so they don't h

Re: [PATCH v3 15/15] qapi: introduce query-hotplug command

2023-02-10 Thread Markus Armbruster
Vladimir Sementsov-Ogievskiy writes: > Add a command that returns same information like HOTPLUG_STATE event. > > Signed-off-by: Vladimir Sementsov-Ogievskiy Events and queries commonly come paired: management applications want the event so they don't have to poll, and they want the query so the

[PATCH v3 15/15] qapi: introduce query-hotplug command

2023-02-09 Thread Vladimir Sementsov-Ogievskiy
Add a command that returns same information like HOTPLUG_STATE event. Signed-off-by: Vladimir Sementsov-Ogievskiy --- qapi/qdev.json | 11 +++ include/hw/hotplug.h| 12 include/hw/pci/pci_bridge.h | 2 ++ include/hw/pci/pcie.h | 2 ++ inc