On Fri, Feb 15, 2019 at 02:30:00PM +0100, David Hildenbrand wrote: > This enables CPU unplug under qtest. > > Signed-off-by: David Hildenbrand <da...@redhat.com>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au> > --- > cpus.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/cpus.c b/cpus.c > index 154daf57dc..e83f72b48b 100644 > --- a/cpus.c > +++ b/cpus.c > @@ -1333,6 +1333,7 @@ static void *qemu_dummy_cpu_thread_fn(void *arg) > qemu_wait_io_event(cpu); > } while (!cpu->unplug); > > + qemu_mutex_unlock_iothread(); > rcu_unregister_thread(); > return NULL; > #endif -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature