Modified for Ubuntu 12.04. qemu command has been changed in latest Ubuntu