From da8e73b88734a4610c96c6f90977d85243c0cf6f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 16 Feb 2018 00:26:20 -0500 Subject: [PATCH] qom/cpu: Add throttle_thread_scheduled member Extracts the member out of commit 2adcc85d407c1ab985f5abed808c78dbb84f4773 --- qemu/include/qom/cpu.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qemu/include/qom/cpu.h b/qemu/include/qom/cpu.h index 692864c2..4c71c834 100644 --- a/qemu/include/qom/cpu.h +++ b/qemu/include/qom/cpu.h @@ -269,6 +269,11 @@ struct CPUState { uint32_t can_do_io; 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 offset from AREG0. Leave this field at the end so as to make the (absolute value) offset as small as possible. This reduces code