qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 1/9] slirp: Add domainname option to slirp's DHCP


From: Eric Blake
Subject: Re: [Qemu-devel] [PULL 1/9] slirp: Add domainname option to slirp's DHCP server
Date: Thu, 31 May 2018 14:42:01 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 05/31/2018 02:22 PM, Samuel Thibault wrote:
From: Benjamin Drung <address@hidden>

This patch will allow the user to include the domainname option in
replies from the built-in DHCP server.

Signed-off-by: Benjamin Drung <address@hidden>
Signed-off-by: Samuel Thibault <address@hidden>
---
  net/slirp.c      | 12 +++++++++---
  qapi/net.json    |  4 ++++
  qemu-options.hx  |  7 +++++--
  slirp/bootp.c    |  8 ++++++++
  slirp/libslirp.h |  2 +-
  slirp/slirp.c    |  4 +++-
  slirp/slirp.h    |  1 +
  7 files changed, 31 insertions(+), 7 deletions(-)

+++ b/qapi/net.json
@@ -160,6 +160,9 @@
  # @dnssearch: list of DNS suffixes to search, passed as DHCP option
  #             to the guest
  #
+# @domainname: guest-visible domain name of the virtual nameserver
+#              (since 2.12)

This missed 2.12; we'll need a followup patch that updates it to 3.0.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]