aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-02-01 22:15:57 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-02-14 12:39:45 -0200
commitde758970b60f129ed9d024cc5c90c1f57fab2fd4 (patch)
tree5324fd7b9ecd4997d8f5d83ac9c26635329346eb /net
parentd0f294cec0ee25461a0a15b889929c5c7dc983cd (diff)
downloadqemu-de758970b60f129ed9d024cc5c90c1f57fab2fd4.zip
qemu-de758970b60f129ed9d024cc5c90c1f57fab2fd4.tar.gz
qemu-de758970b60f129ed9d024cc5c90c1f57fab2fd4.tar.bz2
kvm: Fix race between timer signals and vcpu entry under !IOTHREAD
Found by Stefan Hajnoczi: There is a race in kvm_cpu_exec between checking for exit_request on vcpu entry and timer signals arriving before KVM starts to catch them. Plug it by blocking both timer related signals also on !CONFIG_IOTHREAD and process those via signalfd. As this fix depends on real signalfd support (otherwise the timer signals only kick the compat helper thread, and the main thread hangs), we need to detect the invalid constellation and abort configure. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> CC: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions