Skip to content

qdev: -device switch patches.

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6qdev/prop: add pci devfn propertyhw/qdev-properties.c hw/qdev.h+44 -00 replies
2/6qdev/pci: use qdev_prop_pci_devfnhw/pci.c+4 -40 replies
3/6qdev: create default bus names.hw/qdev.c hw/qdev.h+25 -10 replies
4/6qdev: bus walker + qdev_device_add()hw/qdev.c hw/qdev.h+252 -00 replies
5/6qdev: add -device command line option.qemu-options.hx vl.c+66 -330 replies
6/6switch balloon initialization to -device.hw/pc.c sysemu.h vl.c+39 -340 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: -device switch patches.

Hi,

All new and improved -device switch patches, for discussion and maybe merging.

Overview:
* addr= is just a pci bus property now, replacing devfn (internally it is still devfn, but we convert $slot.$fn strings from/to devfn so this isn't user visible any more).
* busses get sensible names by default now.
* bus= is there, supporting a wide range of ways to specify the bus the device should be attached to.

Check the indiviual patch descriptions for details.

cheers,
Gerd