qemu-devel
[Top][All Lists]
Advanced

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

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


From: Anthony Liguori
Subject: [Qemu-devel] Re: [CFR 7/10] qmp: netdev_add command
Date: Wed, 16 Jun 2010 13:53:10 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

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





reply via email to

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