]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainPinIOThread: Copy the cpu bitmap instead of re-parsing it
authorPeter Krempa <pkrempa@redhat.com>
Tue, 18 Jan 2022 09:06:38 +0000 (10:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 18 Jan 2022 13:16:48 +0000 (14:16 +0100)
commitdcfa6c650d44a640b1869bac941fb89c88f7e2cf
treea311782806aaa0141f665025aaf2e5fd90be545f
parenta23ce0b956156f6f34997c8eb0995f5945f27a7d
qemuDomainPinIOThread: Copy the cpu bitmap instead of re-parsing it

The bitmap recorded in the live/persistent definition was re-parsed two
more times. We can copy it which is cheaper and less verbose.

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