@ http://fabrice.bellard.free.fr/qemu
sudo modprobe -v kqemu || sudo apt-get install qemu module-assistant && sudo m-a -f get kqemu-source && sudo m-a --text a-i kqemu
HDD=${HOME}/filesystem.img # [[Partition]] file mkdir -p $(dirname $HDD) dd if=/dev/zero of=${HDD} bs=1M count=2000 # 4G is fat limitation 4294967295 qemu -boot d -hda ${HDD} -cdrom /dev/cdrom # or bootable.iso
wget http://fabrice.bellard.free.fr/qemu/qemu-0.8.1.tar.gz
./configure --cc=gcc-3.4 --host-cc=gcc-3.4 --prefix=/usr/local/opt/qemu/ \ && make && make install
http://www.tldp.org/HOWTO/BRIDGE-STP-HOWTO/index.html
kqemu :
networking:
http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
mount host share from guest (win) :
net use h: \\10.0.2.2\$USER
rdesktop from host to guest through ssh :
Usage:
sendkey ctrl-alt-f1
sudo aptitude install qemu=0.13.0~rc0+dfsg-2.0~rzr1 qemu-system-arm -M n800 -show-cursor -m 130 -kernel "${kernel}" -sd "${sd}" -append 'root=/dev/mmcblk2 rootfstype=ext3 nosplash noquiet'
#| qemu: hardware error: tsc210x_txrx: FIXME: bad SPI word width 24 #| CPU #0: #| R00=00000000 R01=83126e98 R02=f7cedad6 R03=0062b340 #| R04=c7c20900 R05=c7c27eb0 R06=00000000 R07=fa098030 #| R08=00000000 R09=fa09803c R10=00000000 R11=c7c27ed8 #| R12=fa098038 R13=c7c79f18 R14=c01e3058 R15=c01e393c #| PSR=60000013 -ZC- A svc32 #| Aborted
@feedback: http://forum.meego.com/showthread.php?t=317
More: Touch Screen Controller ?
On target :
args='-M versatilepb -append "root=/dev/ram" -curses' # qemu-system-arm $args -kernel vmlinuz-3.1.0-1-orion5x -initrd initrd.img-3.1.0-1-orion5x -hda initrd.img
On host :
args="-M versatilepb -append root=/dev/ram" args="-curses" # -nographic args="" hda=/dev/sdb dir=d-i.debian.org/daily-images/armel/daily/orion5x/network-console/buffalo/lspro/ kernel=vmlinuz-3.1.0-1-orion5x #kernel=$dir/uImage.buffalo.arm initrd=initrd.img-3.1.0-1-orion5x #initrd=$dir/initrd.buffalo.cpio.gz machine=musicpal machine=versatilepb append="root=/dev/ram" # "root=/dev/sda2 console=ttyAMA0" sudo qemu-system-arm \ -M $machine $args \ -append $append \ -kernel $kernel -initrd $initrd -hda $hda
args="-M versatilepb -append root=/dev/ram" args="-M versatilepb -append root=/dev/sda2" hda=/dev/sdb kernel=vmlinuz-3.1.0-1-orion5x initrd=initrd.img-3.1.0-1-orion5x sudo qemu-system-arm -kernel $kernel -initrd $initrd -hda $hda $args
Warning: vlan 0 is not connected to host network
Make sure you have :
# -net tap,vlan=0,ifname=tap0,script=scripts/up.sh
as args :