qom/cpu: Add throttle_thread_scheduled member

Extracts the member out of commit 2adcc85d407c1ab985f5abed808c78dbb84f4773
This commit is contained in:
Lioncash 2018-02-16 00:26:20 -05:00
parent 1faea35feb
commit da8e73b887
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -269,6 +269,11 @@ struct CPUState {
uint32_t can_do_io; uint32_t can_do_io;
int32_t exception_index; /* used by m68k TCG */ int32_t exception_index; /* used by m68k TCG */
/* Used to keep track of an outstanding cpu throttle thread for migration
* autoconverge
*/
bool throttle_thread_scheduled;
/* Note that this is accessed at the start of every TB via a negative /* Note that this is accessed at the start of every TB via a negative
offset from AREG0. Leave this field at the end so as to make the offset from AREG0. Leave this field at the end so as to make the
(absolute value) offset as small as possible. This reduces code (absolute value) offset as small as possible. This reduces code