[PATCHv3 3/5] qemu: add schema 'fmode' and 'dmode' options