@Ian I see, but even if you consider removable devices I have seen a race condition. I start qemu (this is the first UC20 boot after having created an image) with:
-device piix3-usb-uhci
Then I connect to the monitor and run:
drive_add 0 id=usb_disk,if=none,format=raw,file=$import_img device_add usb-storage,id=usb_disk,drive=usb_disk
If I do it too early (~60 sec) the assertion is not imported. I have to wait around 3 minutes.
@Ian I see, but even if you consider removable devices I have seen a race condition. I start qemu (this is the first UC20 boot after having created an image) with:
-device piix3-usb-uhci
Then I connect to the monitor and run:
drive_add 0 id=usb_ disk,if= none,format= raw,file= $import_ img id=usb_ disk,drive= usb_disk
device_add usb-storage,
If I do it too early (~60 sec) the assertion is not imported. I have to wait around 3 minutes.