Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [WireGuard] Wireguard disk image for QEMU Advent Calendar 2016?
Date: Tue, 6 Dec 2016 23:01:27 +0100	[thread overview]
Message-ID: <CAHmME9qm+5xgaVZ+yU7OfvyiTu0dyvgyc6uoARBqA76m0Kih-Q@mail.gmail.com> (raw)
In-Reply-To: <CAHmME9qE_jSXaUvCw8dCpz4zK8ukEdOVvc=9HhPmxTDTTeLk2A@mail.gmail.com>

[-- 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 --]

  reply	other threads:[~2016-12-06 21:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-10 14:00 Stefan Hajnoczi
2016-12-06 21:43 ` Jason A. Donenfeld
2016-12-06 22:01   ` Jason A. Donenfeld [this message]
2016-12-07  9:00     ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHmME9qm+5xgaVZ+yU7OfvyiTu0dyvgyc6uoARBqA76m0Kih-Q@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=stefanha@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).