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)