Paolo Bonzini <pbonz...@redhat.com> writes: > Il 12/03/2014 18:00, Markus Armbruster ha scritto: >> + } else if (!runstate_check(RUN_STATE_PRELAUNCH) >> + && !runstate_check(RUN_STATE_PAUSED)) { /* HACK */ > > Why not "if (runstate_is_running())"?
The predicate actually wanted here is "monitor command 'cont' required to get the guest running", because 'cont' is where the protection is. My run state test is a crude approximation.