[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH v3 1/6] cpus: Properly release the iothread lock whe
From: |
David Hildenbrand |
Subject: |
[qemu-s390x] [PATCH v3 1/6] cpus: Properly release the iothread lock when killing a dummy VCPU |
Date: |
Mon, 18 Feb 2019 10:21:57 +0100 |
This enables CPU unplug under qtest.
Reviewed-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: David Gibson <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>
---
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
--
2.17.2
- [qemu-s390x] [PATCH v3 0/6] tests: Add device unplug tests, David Hildenbrand, 2019/02/18
- [qemu-s390x] [PATCH v3 1/6] cpus: Properly release the iothread lock when killing a dummy VCPU,
David Hildenbrand <=
- [qemu-s390x] [PATCH v3 2/6] spapr: support memory unplug for qtest, David Hildenbrand, 2019/02/18
- [qemu-s390x] [PATCH v3 6/6] tests/device-plug: Add memory unplug request test for spapr, David Hildenbrand, 2019/02/18
- [qemu-s390x] [PATCH v3 4/6] tests/device-plug: Add CCW unplug test for s390x, David Hildenbrand, 2019/02/18
- [qemu-s390x] [PATCH v3 5/6] tests/device-plug: Add CPU core unplug request test for spapr, David Hildenbrand, 2019/02/18
- [qemu-s390x] [PATCH v3 3/6] tests/device-plug: Add a simple PCI unplug request test, David Hildenbrand, 2019/02/18
- Re: [qemu-s390x] [PATCH v3 0/6] tests: Add device unplug tests, David Gibson, 2019/02/18