On Wed, Jun 16, 2010 at 2:39 PM, Luiz Capitulino <lcapitul...@redhat.com> wrote: >> +SQMP >> +query-netdev >> +---------------- >> + >> +Each device is represented by a json-object. The returned value is a >> json-array >> +of all devices. >> + >> +Each json-object contain the following: >> + >> +- "id": the device's ID, must be unique (json-string) >> +- "vlan": QEMU's internal vlan identification. Only present if the device is >> + attached to a VLAN (json-int, optional) >> +- "peer": ID of the frontend device when on a 1:1 relationship (json-string, >> + optional) > > 'type' is missing. >
Actually, 'type' goes inside the 'info' object. >> +- "info": json-object containing the configuration information about the >> device. > > We need a list of all backends (maybe in 'type') and then we need to list all > possible cases for 'info'. > Roger that. Regards, Miguel