Skip to content

qdev patches: properties, id=<tag>, more device info

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6qdev: rework device properties.Makefile Makefile.hw hw/arm_sysctl.c +37 more+757 -30214 replies
2/6qdev: factor out driver search to qdev_find_info()hw/qdev.c+15 -70 replies
3/6qdev: add no_user, alias and deschw/qdev.c hw/qdev.h+15 -00 replies
4/6qdev: add user-specified identifier to devices.hw/qdev.c hw/qdev.h+5 -20 replies
5/6qdev: add id= support for pci nics.hw/pci.c net.c net.h+7 -10 replies
6/6qdev: print device id in "info pci".hw/pci.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] qdev patches: properties, id=<tag>, more device info

Hi,

qdev properties patch series again, rebased and updated according to Pauls review comments. Replaces the qdev patches in anthonys queue.

What is in there?

First the qdev property rework. Quite big one, but as it puts the way properties work upside down it can hardly be split into smaller pieces. Since I posted it last time it got a bit larger due to some sparc devices being converted to qdev by BlueSwirl. The qdev_prop_set_* functions got typechecking support. They will also abort on failure.

The other patches are building on top of the properties. They are a bunch of little, self-contained and friendly patches. They bring:

* Support for attaching user-specified ids to devices (not fixed length any more).
* Add more info to DeviceInfo (alias, description).

The -device switch support has been removed due to concepts still being debated. These patches will be posted as separate patch series. So this patch series should be finally ready for merge.

cheers,
Gerd