Re: [PATCH 2/2] qapi: introduce DEVICE_POWER_ON for SHPC hotplug

2022-11-16 Thread Vladimir Sementsov-Ogievskiy
On 11/16/22 19:26, Michael S. Tsirkin wrote: On Wed, Nov 16, 2022 at 07:12:34PM +0300, Vladimir Sementsov-Ogievskiy wrote: Hi all! That's an RFC patch. The problem is that SHPC protocol says that power-led is blinking for 5 seconds before actual turning-on the device. If we call device-del duri

Re: [PATCH 2/2] qapi: introduce DEVICE_POWER_ON for SHPC hotplug

2022-11-16 Thread Michael S. Tsirkin
On Wed, Nov 16, 2022 at 07:12:34PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Hi all! That's an RFC patch. > > The problem is that SHPC protocol says that power-led is blinking for 5 > seconds before actual turning-on the device. If we call device-del > during this time the attention button pres

[PATCH 2/2] qapi: introduce DEVICE_POWER_ON for SHPC hotplug

2022-11-16 Thread Vladimir Sementsov-Ogievskiy
Hi all! That's an RFC patch. The problem is that SHPC protocol says that power-led is blinking for 5 seconds before actual turning-on the device. If we call device-del during this time the attention button press is ignored and we never get DEVICE_DELETED event, which is unexpected for the user. I