[libvirt] [PATCH 2/3] qemu: improve device flag parsing