qqemu: add support for win

And better fail handling.