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