diff options
author | Benjamin Drung | 2018-02-27 17:06:01 +0100 |
---|---|---|
committer | Samuel Thibault | 2018-05-31 21:19:08 +0200 |
commit | f18d137542a48150d177031fc6c54786179bf2a3 (patch) | |
tree | 5b8d86d0280a01ffc70ea84538169282c70854d7 /qapi | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180531-... (diff) | |
download | qemu-f18d137542a48150d177031fc6c54786179bf2a3.tar.gz qemu-f18d137542a48150d177031fc6c54786179bf2a3.tar.xz qemu-f18d137542a48150d177031fc6c54786179bf2a3.zip |
slirp: Add domainname option to slirp's DHCP server
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.drung@profitbricks.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/net.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qapi/net.json b/qapi/net.json index 5c1dc48890..32681a1af7 100644 --- a/qapi/net.json +++ 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) +# # @ipv6-prefix: IPv6 network prefix (default is fec0::) (since # 2.6). The network prefix is given in the usual # hexadecimal IPv6 address notation. @@ -197,6 +200,7 @@ '*dhcpstart': 'str', '*dns': 'str', '*dnssearch': ['String'], + '*domainname': 'str', '*ipv6-prefix': 'str', '*ipv6-prefixlen': 'int', '*ipv6-host': 'str', |