[libvirt PATCH v2 1/6] qemu: test if bandwidth has 'floor' factored out to separate function