[WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?
Stefan Hajnoczi
stefanha at gmail.com
Wed Dec 7 10:00:58 CET 2016
On Tue, Dec 6, 2016 at 10:01 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> Following up, if you'd like to include this in your advent calendar,
> attached is a kernel built from the test suite generator. You can run
> it like this:
>
> qemu-system-x86_64 \
> -nodefaults \
> -nographic \
> -machine q35,accel=kvm \
> -cpu host \
> -smp 2 \
> -m 96M \
> -object rng-random,id=rng0,filename=/dev/urandom \
> -device virtio-rng-pci,rng=rng0 \
> -device virtio-serial,max_ports=2 \
> -chardev stdio,id=stdio \
> -device virtconsole,chardev=stdio \
> -chardev file,id=status,path=/tmp/wireguard-qemu-test-result \
> -device virtserialport,chardev=status \
> -monitor none \
> -kernel ./wireguard-test-4f257956-d81f-43f3-8fd8-1475360f58b8.kernel \
> -append "console=hvc0"
>
> It should "just work".
Perfect, thanks! I will submit it to the calendar with credit to you.
Press coverage and discussion is now starting to pick up:
http://www.theregister.co.uk/2016/12/06/2016_qemu_advent_calendar/
https://news.ycombinator.com/item?id=13118291
Thanks!
Stefan
More information about the WireGuard
mailing list