[libvirt] [PATCH 1/6] qemu: Add checking in helpers for sgio setting