qemu-e2k/target-i386
Luiz Capitulino 1dfb4dd993 Replace the VMSTOP macros with a proper state type
Today, when notifying a VM state change with vm_state_notify(),
we pass a VMSTOP macro as the 'reason' argument. This is not ideal
because the VMSTOP macros tell why qemu stopped and not exactly
what the current VM state is.

One example to demonstrate this problem is that vm_start() calls
vm_state_notify() with reason=0, which turns out to be VMSTOP_USER.

This commit fixes that by replacing the VMSTOP macros with a proper
state type called RunState.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2011-09-15 16:39:32 -03:00
..
cpu.h Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2011-08-08 14:38:42 -05:00
cpuid.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
helper_template.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
helper.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
helper.h target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
kvm.c Replace the VMSTOP macros with a proper state type 2011-09-15 16:39:32 -03:00
machine.c Remove exec-all.h include directives 2011-06-26 18:25:35 +00:00
op_helper.c x86: fix daa opcode for al register values higher than 0xf9 2011-09-02 11:08:44 +01:00
ops_sse_header.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
ops_sse.h target-i386: replace approx_rsqrt and approx_rcp by softfloat ops 2011-04-25 11:18:33 +02:00
svm.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00:00
TODO Unbreak large mem support by removing kqemu 2009-08-24 08:02:55 -05:00
translate.c target-i386: Compute all flag data inside %cl != 0 test. 2011-09-08 18:10:16 +04:00