[pve-devel] [PATCH] block-job-complete : retry if block job cannot be complete

Dietmar Maurer dietmar at proxmox.com
Mon Nov 10 09:35:40 CET 2014


> >>OK, it is not possible to implement this, because qemu only allows a
> >>single qmp connection. So if we keep a connection open to get events,
> >>we would block everything else.
> 
> Yes, maybe with some kind of proxy daemon
> 
> 
> qmp command ---> qmp proxy daemon<-----events--->qemu process
> 
> But that mean another daemon, and if the daemon die, nothing more is
> working.

IMHO that is bad design. Instead, qmp should allow parallel connections. 
But that that is something the qemu people needs to decide, and history shows
that it is quite hard to push such changes upstream...



More information about the pve-devel mailing list