ispras / qdt

QEMU Development Toolkit
Other
36 stars 8 forks source link

Generation parameters description #16

Open Chert-Nik opened 4 years ago

Chert-Nik commented 4 years ago

I could not find a complete description of the generation parameters contained in the scripts for qemu_device_creator.py. Does it exist?

laerreal commented 4 years ago

It does not. But there is qdt/__init__.py. It contains default imports to a script. You can look at __init__ methods of those classes.

laerreal commented 4 years ago

It's also unclear that most *Description classes are defined by qemu.qom_desc.describable decorator from *Type classes. E.g. SysBusDeviceType->SysBusDeviceDescription. Descriptions are just containers for type's __init__ arguments values (with some GUI magic).