On 05/31/2018 02:22 PM, Samuel Thibault wrote:
From: Benjamin Drung <benjamin.dr...@profitbricks.com>
This patch will allow the user to include the domainname option in
replies from the built-in DHCP server.
Signed-off-by: Benjamin Drung <benjamin.dr...@profitbricks.com>
Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org>
---
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