title: Close qemu from a process in xv6
body: <p>I started learning xv6 recently and was trying to implement a shutdown mechanism in xv6 and i was able to kill all the process running gracefully and wait for some of them to finish and then terminate them. But i am not able to close qemu from the shutdown process.</p>
  
  <p>Could someone suggest how to close qemu from a a xv6 process?</p>
  
  <p>I googled and found out someone used 'outb' and 'outw' commands but both of them don't work.</p>