All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bas van Sisseren <bas@quarantainenet.nl>
To: Eric Blake <eblake@redhat.com>
Cc: Qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] [slirp] add nextserver support in slirp's dhcp-server
Date: Tue, 02 Jul 2013 15:03:11 +0200	[thread overview]
Message-ID: <51D2CF8F.8080800@quarantainenet.nl> (raw)
In-Reply-To: <51D1EBEA.9010500@redhat.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/07/13 22:51, Eric Blake wrote:
> On 06/21/2013 07:20 AM, Bas van Sisseren wrote:
>> The slirp dhcp-server normally returns its own address as tftp
>> nextserver for netbooting. This patch makes that address
>> configurable, so it is possible to use an external tftp boot-
>> environment.
>>
>> Signed-off-by: Bas van Sisseren <bas@quarantainenet.nl>
>> ---
>>  net/slirp.c      | 10 ++++++++--
> 
>> +++ b/qapi-schema.json
>> @@ -2537,6 +2537,8 @@
>>  # @dhcpstart: #optional the first of the 16 IPs the built-in DHCP server can
>>  #             assign
>>  #
>> +# @nextserver: #optional IP address of BOOTP server
>> +#
> 
> Please mark this field as '(since 1.6)'.

Added in my local checkout. I now have to find out how to generate a new
patch and post it into this thread. I'll try to post a new patch somewhere
in the next days. (I'm new to git :-) )


> Does the field work for both IPv4 and IPv6 addresses?

This setting is IPv4 only. (btw, I think all slirp settings are IPv4 only)


>>  # @dns: #optional guest-visible address of the virtual nameserver
>>  #
>>  # @dnssearch: #optional list of DNS suffixes to search, passed as DHCP option
>> @@ -2563,6 +2565,7 @@
>>      '*tftp':      'str',
>>      '*bootfile':  'str',
>>      '*dhcpstart': 'str',
>> +    '*nextserver': 'str',
> 
> This is a command addition that libvirt can't take advantage of unless
> we get introspection working in a timely manner.

It would be a nice addition to libvirt, but is it a problem that libvirt
doesn't support all new settings (yet)?


Met vriendelijke groet,

Bas van Sisseren

- -- 
Bas van Sisseren <bas@quarantainenet.nl>
Quarantainenet
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHSz4sACgkQ19+8tHrpflo3gACgjHd8ApumOrsxN4Wv9nPxsvoJ
r6QAnjTKcoxJ6M3q5oZxauNmFsseYw5b
=rirP
-----END PGP SIGNATURE-----

  reply	other threads:[~2013-07-02 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 13:20 [Qemu-devel] [PATCH] [slirp] add nextserver support in slirp's dhcp-server Bas van Sisseren
2013-06-24  9:37 ` Stefan Hajnoczi
2013-07-01 20:51 ` Eric Blake
2013-07-02 13:03   ` Bas van Sisseren [this message]
2013-07-02 13:19     ` Eric Blake

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=51D2CF8F.8080800@quarantainenet.nl \
    --to=bas@quarantainenet.nl \
    --cc=eblake@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.