cpu: Move stop field to CPUState

Change its type to bool.

Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
Andreas Färber 2012-05-02 23:10:09 +02:00
parent 61a4621784
commit 4fdeee7cd4
3 changed files with 20 additions and 10 deletions

View file

@ -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. */
};