]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix IOThread pids lost after qemuProcessReconnect
authorJie Wang <wangjie88@huawei.com>
Wed, 17 Oct 2018 17:14:42 +0000 (01:14 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 19 Oct 2018 18:01:58 +0000 (14:01 -0400)
commit58cfd0a135bfb82ca69c7819d15edc57f3ef025d
tree5bacc6afc6c4b86c8fe130026b839ad83761af6e
parentffac10c971d4db55744a63a80b4b9db7f8872e00
qemu: Fix IOThread pids lost after qemuProcessReconnect

IOThread pids info will lost after libvirtd restart, then
if we call pinIOThread, sched_setaffinity will be called with
pid 0, not IOThread pid. So pinIOThread cannot work normally.

Signed-off-by: Jie Wang <wangjie88.huawei.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_process.c