summaryrefslogtreecommitdiff
path: root/cpus.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-02-07 12:19:16 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-02-14 12:39:46 -0200
commit8cf71710f068f9c50ce420b1dd4ef71c2f9b2a8d (patch)
treedf640713df1e55ca25143270a673196712427f73 /cpus.h
parente07bbac542d45cb246f393f343eb3b867fed4de1 (diff)
downloadqemu-8cf71710f068f9c50ce420b1dd4ef71c2f9b2a8d.tar.gz
qemu-8cf71710f068f9c50ce420b1dd4ef71c2f9b2a8d.tar.bz2
qemu-8cf71710f068f9c50ce420b1dd4ef71c2f9b2a8d.zip
Refactor debug and vmstop request interface
Instead of fiddling with debug_requested and vmstop_requested directly, introduce qemu_system_debug_request and turn qemu_system_vmstop_request into a public interface. This aligns those services with exiting ones in vl.c. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'cpus.h')
-rw-r--r--cpus.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpus.h b/cpus.h
index 4cadb641c0..e0211260c3 100644
--- a/cpus.h
+++ b/cpus.h
@@ -11,8 +11,6 @@ void cpu_stop_current(void);
/* vl.c */
extern int smp_cores;
extern int smp_threads;
-extern int debug_requested;
-extern int vmstop_requested;
void vm_state_notify(int running, int reason);
bool cpu_exec_all(void);
void set_numa_modes(void);