[libvirt PATCH v4 3/4] qemu: add support for 'fmode' and 'dmode'