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