qemu: Some minor fix for qemu test