[WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?

Jason A. Donenfeld Jason at zx2c4.com
Tue Dec 6 23:01:27 CET 2016


Hi Stefan,

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".

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wireguard-test-4f257956-d81f-43f3-8fd8-1475360f58b8.kernel
Type: application/octet-stream
Size: 3321824 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20161206/c2838d75/attachment-0001.obj>


More information about the WireGuard mailing list