[libvirt PATCH 07/21] qemu: Tweak some code