mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
rocker: Add support for phys name
Add ROCKER_TLV_CMD_PORT_SETTINGS_PHYS_NAME to port settings. This attribute exports the port name to the guest OS allowing it to name interfaces with sensible defaults. Mostly done by Scott for phys_id support; adapted to phys_name by David. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David Ahern <dsahern@gmail.com> Message-id: 1433985681-56138-2-git-send-email-sfeldma@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
f4d248bdc3
commit
773495364f
5 changed files with 31 additions and 2 deletions
|
|
@ -420,6 +420,7 @@ Other properties for front-panel ports are available via DMA CMD descriptors:
|
|||
LEARNING 1 MAC address learning on port
|
||||
1 = enabled
|
||||
0 = disabled
|
||||
PHYS_NAME <var> Physical port name (string)
|
||||
|
||||
Set PORT_SETTINGS descriptor:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue