qemu/ui
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
..
cocoa.m Convert last qemu_free and qemu_malloc uses 2011-08-21 18:42:08 +00:00
curses_keys.h curses: Fix control-{@[\]^_} and ESC 2010-10-21 18:31:28 +02:00
curses.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
d3des.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
d3des.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
keymaps.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
keymaps.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
qemu-spice.h qemu-char: Print strerror message on failure 2011-07-23 11:18:57 -05:00
sdl_keysym.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom_template.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl.c sdl: Don't release input on mouse mode change in full-screen mode 2011-08-22 14:37:04 -05:00
spice-core.c spice: workaround a spice server bug. 2011-09-07 09:20:09 +02:00
spice-display.c Replace the VMSTOP macros with a proper state type 2011-09-15 16:39:32 -03:00
spice-display.h Replace the VMSTOP macros with a proper state type 2011-09-15 16:39:32 -03:00
spice-input.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc_keysym.h vnc: added missing name->keysym pairs for Polish national characters 2011-04-01 22:29:27 +02:00
vnc-auth-sasl.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc-auth-sasl.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.c Store VNC auth scheme per-client as well as per-server 2011-07-23 11:19:02 -05:00
vnc-auth-vencrypt.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-enc-hextile-template.h vnc: rename vnc-encoding-* vnc-enc-* 2010-07-26 17:36:13 -05:00
vnc-enc-hextile.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc-enc-tight.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc-enc-tight.h vnc: tight add PNG encoding 2010-07-26 17:36:14 -05:00
vnc-enc-zlib.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc-enc-zrle-template.c vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-enc-zrle.c vnc: fix uint8_t comparisons with negative values 2011-02-23 16:28:28 -06:00
vnc-enc-zrle.h vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-enc-zywrle-template.c vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-enc-zywrle.h vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-jobs-async.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc-jobs-sync.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-palette.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc-palette.h vnc: palette: and fill and color calls. 2011-02-23 16:28:28 -06:00
vnc-tls.c vns/tls: don't use depricated gnutls functions 2011-09-09 12:58:17 -05:00
vnc-tls.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vnc.h Store VNC auth scheme per-client as well as per-server 2011-07-23 11:19:02 -05:00
x_keymap.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
x_keymap.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00