[libvirt] libvirt API to write sectors on a device