qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [CFR 7/10] qmp: netdev_add command


From: Stefan Hajnoczi
Subject: [Qemu-devel] [CFR 7/10] qmp: netdev_add command
Date: Wed, 16 Jun 2010 16:45:57 +0100

netdev_add
----------

Add host network device.

Arguments:

- "type": the device type, "tap", "user", ... (json-string)
- "id": the device's ID, must be unique (json-string)
- device options

Example:

-> { "execute": "netdev_add", "arguments": { "type": "user", "id": "netdev1" } }
<- { "return": {} }

Note: The supported device options are the same ones supported by the '-net'
      command-line argument, which are listed in the '-help' output or QEMU's
      manual




reply via email to

[Prev in Thread] Current Thread [Next in Thread]