[libvirt] [PATCH] qemu: add value range check of option granularity