Hi, > If all you need here is to delay sending the response, then maybe the > current interface could work (although I honestly don't trust it and > regret not having dropped it). Otherwise our only choice would be to > work on getting the QAPI async support merged.
A delayed monitor response is all we need. The command may take a bit to finish, where "a bit" is in the order of a few seconds max, usually less than a second. Blocking the monitor for that amount of time is fine, but blocking the io thread introduces insane long I/O latencies for the guest (and device emulation). cheers, Gerd