mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
slirp: Implement RFC2132 TFTP server name
This new usernet option can be used to add data for option 66 (tftp server name) in the BOOTP reply, which is useful in PXE based automatic OS install such as OpenBSD. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Tested-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
6e157a0339
commit
0fca92b907
8 changed files with 38 additions and 4 deletions
|
@ -174,6 +174,8 @@
|
|||
#
|
||||
# @guestfwd: forward guest TCP connections
|
||||
#
|
||||
# @tftp-server-name: RFC2132 "TFTP server name" string (Since 3.1)
|
||||
#
|
||||
# Since: 1.2
|
||||
##
|
||||
{ 'struct': 'NetdevUserOptions',
|
||||
|
@ -198,7 +200,8 @@
|
|||
'*smb': 'str',
|
||||
'*smbserver': 'str',
|
||||
'*hostfwd': ['String'],
|
||||
'*guestfwd': ['String'] } }
|
||||
'*guestfwd': ['String'],
|
||||
'*tftp-server-name': 'str' } }
|
||||
|
||||
##
|
||||
# @NetdevTapOptions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue