2009年11月25日 星期三

running qemu as daemon

I am using another way:
qemu -hda /qemu/xp.cow -boot c -cdrom /data/install/admin/os/windows/winxpsp3ue.iso -m 384 -k es -vnc *:0 -daemonize -localtime
-vnc *:0 to run a vnc server wich I can connect from anywhere (that's the asterisk for - *) on the display 0

-k es when using VNC instead of SDL you have to specify the keyboard layout, I am using spanish

-daemonize this keeps the process running as a daemon.

-localtime with this clock is set to the hardware clock, not utc. This is for windows

So, when i want to connect back i just use

2009年11月23日 星期一

grep exclude pattern

grep -ircl --exclude=*.{png,jpg} "foo=" *

grep -Ir --exclude="*\.svn*" "pattern" *

2009年11月17日 星期二

TODO

TODO:
  1. 打電話給吳小姐
  2. 將訃文拿給人事
  3. 注意實驗的進度
  4. 做translation function

2009年11月11日 星期三

enable IBM trackpoint and disable touchpad

first, install xinput: sudo apt-get install xinput

xinput list => show all input devices
xinput list-props $dev_id => show all options of $dev_id
xinput set-int-prop $dev_id "$opt" 8 $value => set integer value to option $opt,

xinput set-int-prop $touchpad "Device Enabled" 8 0
xinput set-int-prop $trackpoint "Evdev Wheel Emulation" 8 1
xinput set-int-prop $trackpoint "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop $trackpoint "Evdev Middle Button Emulation" 8 1

2009年11月10日 星期二

meeting結論

1、叫學弟做實驗分析QEMU的執行時間:translation, execution, control。
2、用 ARM 跑PARSEC2.0,可能要cross compile
3、將QEMU x86上不能跑超過三個threads回報至mail中。