Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/vmware-hwaccel-off-dist/vmware
#!/bin/rc if(aux/isvmware -s){ echo -n off >'#P/i8253timerset' echo hwaccel off >'#v/vgactl' for(i in '#S'/sd??) if(test -f $i/ctl) echo dma on >$i/ctl }