mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Assign a name to each VLAN client (Mark McLoughlin)
Automatically assign a name to each vlan client based on its model, e.g. e1000.0, tap.3 or vde.1. This name is intended to be used by the forthcoming 'set_link' monitor command. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6217 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bf38c1a0e1
commit
676cff2940
2 changed files with 22 additions and 0 deletions
1
net.h
1
net.h
|
@ -19,6 +19,7 @@ struct VLANClientState {
|
|||
struct VLANClientState *next;
|
||||
struct VLANState *vlan;
|
||||
char *model;
|
||||
char *name;
|
||||
char info_str[256];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue