qemu improvements (continue of issue #78)