Re: [PATCH] usb-host: enable autoscan for bus+addr to survive host suspend/resume

2025-04-17 Thread Yuri Nesterov
On Thu, Apr 17, 2025 at 12:41 PM Daniel P. Berrangé wrote: > > On Wed, Apr 16, 2025 at 10:27:54PM +0300, Yuri Nesterov wrote: > > On Wed, Apr 16, 2025 at 8:07 PM Daniel P. Berrangé > > wrote: > > > > > > On Wed, Apr 16, 2025 at 07:19:29PM +0300, Yuri Nestero

Re: [PATCH] usb-host: enable autoscan for bus+addr to survive host suspend/resume

2025-04-16 Thread Yuri Nesterov
On Wed, Apr 16, 2025 at 8:07 PM Daniel P. Berrangé wrote: > > On Wed, Apr 16, 2025 at 07:19:29PM +0300, Yuri Nesterov wrote: > > Currently, there is a special case for usb-host devices added using the > > hostbus= and hostaddr= properties to avoid adding them to the hotplug &g

[PATCH] usb-host: enable autoscan for bus+addr to survive host suspend/resume

2025-04-16 Thread Yuri Nesterov
devices stop working in both the guest and the host. Enabling autoscan and adding those devices to the watchlist allows them to keep working in the guest after host suspend/resume. Signed-off-by: Yuri Nesterov --- hw/usb/host-libusb.c | 5 - 1 file changed, 4 insertions(+), 1 deletion