![]() To rectify the issue, open the file src/devices/shutdown.c If it does not and gets stuck at Powering off., then it means that there is something wrong with ACPI poweroff routine. Ideally, the QEMU should exit once PintOS powers off. In this case, open the pintos perl script in src/utils/ and replace line 623 ( my = ('qemu') ) with my = ('qemu-system-i386') Run a program called ‘alarm-single’ in PintOS with QEMUĪt this point you might get an error which says:Ĭan’t exec “qemu”: No such file or directory at /home/arpith/pintos/src/utils/pintos line 923.Compile the source with the make command. ![]() Set the simulator to qemu in Make.vars file.If you get the above output, congratulations! You just took your first baby step! :) Compiling the Source To verify that the environment has been set correctly, run the following command.$ echo PATH="$PATH:$HOME/pintos/src/utils" > ~/.bashrc Add the line PATH=”$PATH:$HOME/pintos/src/utils” to.The easiest way to add /src/utils is as follows: Working on this project would be easier if you have this directory your in $PATH. ![]() The project requires you to run scripts present in /src/utils folder. For the purpose of this post, I will assume that the contents were extracted to the $HOME directory. Head over to the Stanford’s site or click the link below to download the tar.gz file containing the PintOS source:Įxtract the contents to the directory of your choice. Sudo apt-get install qemu make binutils perl gdb Obtaining the Source Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |