summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorAlexey Kirillov2021-03-03 10:59:06 +0100
committerJason Wang2021-03-15 09:41:22 +0100
commitd32ad10a14d46dfe9304e3ed5858a11dcd5c71a0 (patch)
treee56aaddf5e86dd29209ce958e94c0d91ad950778 /hw
parentpvrdma: wean code off pvrdma_ring.h kernel header (diff)
downloadqemu-d32ad10a14d46dfe9304e3ed5858a11dcd5c71a0.tar.gz
qemu-d32ad10a14d46dfe9304e3ed5858a11dcd5c71a0.tar.xz
qemu-d32ad10a14d46dfe9304e3ed5858a11dcd5c71a0.zip
qapi: net: Add query-netdev command
The query-netdev command is used to get the configuration of the current network device backends (netdevs). This is the QMP analog of the HMP command "info network" but only for netdevs (i.e. excluding NIC and hubports). The query-netdev command returns an array of objects of the NetdevInfo type, which are an extension of Netdev type. It means that response can be used for netdev-add after small modification. This can be useful for recreate the same netdev configuration. Information about the network device is filled in when it is created or modified and is available through the NetClientState->stored_config. Signed-off-by: Alexey Kirillov <lekiravi@yandex-team.ru> Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions