On 06/16/2010 10:45 AM, Stefan Hajnoczi wrote:
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
I'd like to see those options enumerated in the spec.
We need to enumerate all of the failure conditions too.
Regards,
Anthony Liguori
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