]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Don't try to redetect missing qemuCaps on reconnect
authorPeter Krempa <pkrempa@redhat.com>
Sun, 24 Nov 2019 07:35:59 +0000 (08:35 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Dec 2019 14:26:54 +0000 (15:26 +0100)
commit530d7a73f41c0bb155a6a9bbd230d0ab28149eed
treef703bfff003f1b336633d19cd54baf31ed5d0abc
parent2504dbeb5d29f31de042382fe187906e3c95840d
qemu: process: Don't try to redetect missing qemuCaps on reconnect

The redetection was originally added in 43c01d3838 as a way to recover
from libvirtd upgrade from the time when we didn't persist the qemu
capabilities in the status XML. Also this the oldest supported qemu by
more than two years.

Even if somebody would have a running VM running at least qemu 1.5 with
such an old libvirt we certainly wouldn't do the right thing by
redetecting the capabilities and then trying to communicate with qemu.

For now it will be the best to just stop considering this scenario any
more and error out for such VM.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c