Revision aa2c364b
ID | aa2c364b4cf2fae4d9c8acf53ee4436ed533902d |
Prevent abortion on multiple VCPU kicks
If we call qemu_cpu_kick more than once before the target was able to
process the signal, pthread_kill will fail, and qemu will abort. Prevent
this by avoiding the redundant signal.
This logic can be found in qemu-kvm as well.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted
- cpu-defs.h (diff)
- cpus.c (diff)