balena.io now supports KVM QEMU #IOT nodes

balena.io now supports KVM QEMU #IOT nodes

Run the following to start the image:

on systems with KVM support:

$ qemu-system-x86_64 -drive \
file=resin-image-qemux86-64.img,media=disk,cache=none,format=raw \
-net nic,model=virtio -net user -m 512 -nographic \
-machine type=pc,accel=kvm -smp 4 -cpu host

on systems without KVM support:

$ qemu-system-x86_64 -drive \
file=resin-image-qemux86-64.img,media=disk,cache=none,format=raw \
-net nic,model=virtio -net user -m 512 -nographic \
-machine type=pc -smp 4

Tweak -smp and -cpu parameters based on the CPU of the machine qemu is running on. -cpu parameter needs to be dropped on OSX and Windows.

Tweak -nographic and -m 512 to set the display of qemu and memory respectively.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.