qemu-usb: consume device report during controller construction

Initially parse the USB devices report after the signal handler is
registered, do not rely on a signal to be triggered (issue #1788).

Fixes #4206
This commit is contained in:
Sebastian Sumpf 2021-06-23 17:08:02 +02:00 committed by Christian Helmuth
parent a58473dece
commit 19a7997734

View File

@ -1040,6 +1040,7 @@ struct Usb_devices : List<Usb_host_device>
: _ep(ep), _env(env), _alloc(alloc)
{
_devices_rom.sigh(_device_dispatcher);
_devices_update();
}
void destroy()