Development discussion of WireGuard
 help / color / mirror / Atom feed
* [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?
@ 2016-11-10 14:00 Stefan Hajnoczi
  2016-12-06 21:43 ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2016-11-10 14:00 UTC (permalink / raw)
  To: wireguard

Hi Wireguard folks,
I've been following Wireguard since Jason A. Donenfeld's presentation
at Kernel Recipes 2015.  It's great to see it being tried out in many
environments nowadays.

The QEMU community is organizing an "advent calendar" for 2016 where a
new disk image is featured on the website each day in December.  Here
is the website from 2014:
http://www.qemu-advent-calendar.org/2014/

The calendar is a cool way to raise Wireguard's profile and get people
to try it out.  The calendar will probably draw attention from
Slashdot, reddit, HackerNews, etc again this year.

Imagine a pre-configured disk image so you can launch several virtual
machines and talk between them using Wireguard.  That would be a cool
demo!

I'm already committed to contributing other images so I don't have
time to do the Wireguard image myself.  Does anyone want do this?

Here are the full details on how to get Wireguard into QEMU Advent
Calendar 2016:
https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg03990.html

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?
  2016-11-10 14:00 [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016? Stefan Hajnoczi
@ 2016-12-06 21:43 ` Jason A. Donenfeld
  2016-12-06 22:01   ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2016-12-06 21:43 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: WireGuard mailing list

Hi Stefan,

Sorry for the late reply. Your message went into my spam folder, as
the contents of the message seems slightly spamy upon first glance...

I'm not sure I exactly understand what you're proposing. If you're
interested in the intersection between QEMU and WireGuard, you might
enjoy checking out our test harness [1]. For every commit, it compiles
a new kernel and userland, for each kernel version >= 4.1, and runs a
large dedicated test suite in QEMU.

Jason

[1] https://www.wireguard.io/build-status/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?
  2016-12-06 21:43 ` Jason A. Donenfeld
@ 2016-12-06 22:01   ` Jason A. Donenfeld
  2016-12-07  9:00     ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2016-12-06 22:01 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

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

[-- Attachment #2: wireguard-test-4f257956-d81f-43f3-8fd8-1475360f58b8.kernel --]
[-- Type: application/octet-stream, Size: 3321824 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?
  2016-12-06 22:01   ` Jason A. Donenfeld
@ 2016-12-07  9:00     ` Stefan Hajnoczi
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2016-12-07  9:00 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

On Tue, Dec 6, 2016 at 10:01 PM, Jason A. Donenfeld <Jason@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-07  8:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-10 14:00 [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016? Stefan Hajnoczi
2016-12-06 21:43 ` Jason A. Donenfeld
2016-12-06 22:01   ` Jason A. Donenfeld
2016-12-07  9:00     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).