diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-02 23:10:09 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-10-31 01:02:44 +0100 |
commit | 4fdeee7cd4c8f90ef765537b9346a195d9483ab5 (patch) | |
tree | b8d4481845d7177097111d9d3ff69e4b495bf3d9 /include | |
parent | 61a4621784a808f5ad7d63f60e2c5e8b2488c213 (diff) | |
download | qemu-4fdeee7cd4c8f90ef765537b9346a195d9483ab5.zip qemu-4fdeee7cd4c8f90ef765537b9346a195d9483ab5.tar.gz qemu-4fdeee7cd4c8f90ef765537b9346a195d9483ab5.tar.bz2 |
cpu: Move stop field to CPUState
Change its type to bool.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h index 3ab2e25..04c7848 100644 --- a/include/qemu/cpu.h +++ b/include/qemu/cpu.h @@ -55,6 +55,7 @@ typedef struct CPUClass { /** * CPUState: * @created: Indicates whether the CPU thread has been successfully created. + * @stop: Indicates a pending stop request. * * State of one CPU core or thread. */ @@ -69,6 +70,7 @@ struct CPUState { #endif bool thread_kicked; bool created; + bool stop; /* TODO Move common fields from CPUArchState here. */ }; |