[libvirt] [PATCH 05/10] qemu: domain: Add common function to perform memory hotplug checks