[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/13] qapi: support for keyworded variable-leng
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH 12/13] qapi: support for keyworded variable-length argument list |
Date: |
Tue, 10 Apr 2012 11:23:31 -0300 |
On Fri, 30 Mar 2012 09:49:20 +0200
Paolo Bonzini <address@hidden> wrote:
> Regarding device_add ? and device_add foo,? I would implement it as
> separate QMP commands hooking into QOM, such as qom_list_types (taking
> the superclass as an optional argument) and qom_properties. But the
> latter first needs static properties to move up from devices to objects.
> I'll take a look at that.
Have you? I'm resuming this topic because I've resumed my work on this series.
I think that for device_add foo,? we could introduce qom-list-type-properties.
Seems simple if limited to devices, not sure how to make it generic though. But
it shouldn't be a problem to limit it to devices at this point, as all qom
commands are unstable, right?
Now, I have no idea how to make device_add ?, as it accesses DeviceClass
properties
like no_user and bus_info...
- Re: [Qemu-devel] [PATCH 12/13] qapi: support for keyworded variable-length argument list,
Luiz Capitulino <=