Modified for latest Ubuntu. The qemu command has been changed