qdev: add driver class support.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qdev/class: corehw/ hw/ | +33 | 0 replies | |
| 2/5 | qdev/class: tag soundhw/ hw/ | +2 | 0 replies | |
| 3/5 | qdev/class: tag networkhw/ hw/ hw/ +3 more | +33 | 0 replies | |
| 4/5 | qdev/class: helper function to get a list of drivers.hw/ hw/ | +19 | 0 replies | |
| 5/5 | qdev/class: make pci_nic_init() use qdev's device list.hw/ hw/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/5] qdev: add driver class support.
Hi,
This patch series brings driver classes to qdev.
DeviceInfo gets a new field specifying what kind of device this is. For starters there are Sound cards and Network cards. The number of device classes will probably grow over time.
The device class will be shown in the listing printed by '-device ?', so users and management apps can figure what kinds of -- say -- network cards are supported by that particular qemu binary.
Last patch in the series makes pci_nic_init() use this as well. The hard-coded driver name tables are gone. Compiling out drivers for certain pci network cards is easy now, just lose the object file.
cheers,
Gerd