[libvirt] [RFC PATCH 27/28] qemu: hotplug: Move out the Single function check