aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
AgeCommit message (Collapse)AuthorFilesLines
2009-06-05qdev: add monitor command to dump the tree.Gerd Hoffmann1-0/+5
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-06-05Record device property typesPaul Brook1-0/+15
Record device property types, and provide a list of properties at device registration time. Add a "device" property type that holds a reference to annother device. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-06-04qdev: kill DeviceState->nameGerd Hoffmann1-1/+0
is redundant with DeviceState->type->name Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2009-05-26Remove qdev irq sink handlingPaul Brook1-4/+1
We have both IRQ sinks and GPIO inputs. These are in principle exactly the same thing, so remove the former. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-23Add common BusStatePaul Brook1-12/+42
Implement and use a common device bus state. The main side-effect is that creating a bus and attaching it to a parent device are no longer separate operations. For legacy code we allow a NULL parent, but that should go away eventually. Also tweak creation code to veriry theat a device in on the right bus. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-17Consistently use uint64_t for int propertiesPaul Brook1-1/+1
I apparently failed to do this properly on the first attempt. Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14PCI network qdev conversionPaul Brook1-0/+2
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14qdev scsi bus infrastructurePaul Brook1-0/+4
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14qdev child bus supportPaul Brook1-0/+6
Signed-off-by: Paul Brook <paul@codesourcery.com>
2009-05-14Basic qdev infrastructure.Paul Brook1-0/+67
Signed-off-by: Paul Brook <paul@codesourcery.com>