[libvirt PATCH] conf: fix enum conversion