Skip to content

Instantly share code, notes, and snippets.

@joaohf
Created October 7, 2019 17:41
Show Gist options
  • Save joaohf/c77f1046e4e3a1c1b911501333f5de90 to your computer and use it in GitHub Desktop.
Save joaohf/c77f1046e4e3a1c1b911501333f5de90 to your computer and use it in GitHub Desktop.
Running qemu instances
cp /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.ext4 /tmp/core-image-minimal-qemux86.ext4.0
cp /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.ext4 /tmp/core-image-minimal-qemux86.ext4.1
cp /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.ext4 /tmp/core-image-minimal-qemux86.ext4.2
sudo ../poky/scripts/runqemu-gen-tapdevs 1000 1000 6 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin/
sudo /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-i386 -device virtio-net-pci,netdev=net1,mac=52:54:00:12:34:03 -netdev tap,id=net1,ifname=tap2,script=no,downscript=no -drive file=/tmp/core-image-minimal-qemux86.ext4.0,if=virtio,format=raw -vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci -cpu pentium2 -enable-kvm -m 256 -serial mon:vc -serial null -kernel /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/deploy/images/qemux86/bzImage--4.18.21+git0+8f4a98c938_9eddc793f9-r0.2-qemux86-20181226163328.bin -append 'root=/dev/vda rw highres=off clocksource=kvm-clock hpet=disable noapic nolapic mem=256M ip=192.168.7.6::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 '
sudo /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-i386 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:04 -netdev tap,id=net0,ifname=tap3,script=no,downscript=no -drive file=/tmp/core-image-minimal-qemux86.ext4.1,if=virtio,format=raw -vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci -cpu pentium2 -enable-kvm -m 256 -serial mon:vc -serial null -kernel /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/deploy/images/qemux86/bzImage--4.18.21+git0+8f4a98c938_9eddc793f9-r0.2-qemux86-20181226163328.bin -append 'root=/dev/vda rw highres=off clocksource=kvm-clock hpet=disable noapic nolapic mem=256M ip=192.168.7.8::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 '
cp /tmp/core-image-minimal-qemux86.ext4 /tmp/core-image-minimal-qemux86.ext4.2
sudo /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-i386 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:05 -netdev tap,id=net0,ifname=tap4,script=no,downscript=no -drive file=/tmp/core-image-minimal-qemux86.ext4.2,if=virtio,format=raw -vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci -cpu pentium2 -enable-kvm -m 256 -serial mon:vc -serial null -kernel /home/joaohf/work/opensource/meta/meta-erlang/build/tmp/deploy/images/qemux86/bzImage--4.18.21+git0+8f4a98c938_9eddc793f9-r0.2-qemux86-20181226163328.bin -append 'root=/dev/vda rw highres=off clocksource=kvm-clock hpet=disable noapic nolapic mem=256M ip=192.168.7.10::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment