summaryrefslogtreecommitdiffstats
path: root/src/virtual/poweroffd.py
Commit message (Collapse)AuthorAgeFilesLines
* #1059 virtual: replace qmp polling for event listeningJose M. Guisado2021-09-011-0/+53
Polling for a qmp port availability is undesirable, as QEMU only handles one connection to the qmp port at a time, ogClient may interfere with cloneer-manager. Check vm thread now connects to a separate qmp tcp socket, listening for a shutdown guest event. When ogClient is run just after ogVDI installation (before guest installation) it will try to connect until it's possible, ie: after an iso is specified and a qemu vm is started that exposes the appropiate qmp tcp port.