RunState: Drop the RSTATE_NO_STATE value
commitc4d11e38bd475f33d5fa9ceba5292304727f3113
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 30 Sep 2011 17:40:07 +0000 (30 14:40 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Tue, 4 Oct 2011 14:02:57 +0000 (4 11:02 -0300)
treed4a67814f60ed9109b717525fa67a0c7adcdc367
parent0d45b702918f855c24bfd13c0f91b31f89c2e097
RunState: Drop the RSTATE_NO_STATE value

The QAPI framework won't generate it, so we need to get rid of it.

In order to do that, this commit makes RSTATE_PRE_LAUNCH the initial
state and change qemu_vmstop_requested() to use RSTATE_MAX.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
sysemu.h
vl.c