]> Git Repo - qemu.git/commit - hw/ide/qdev.c
qdev: Convert busses to QEMU Object Model
authorAnthony Liguori <[email protected]>
Wed, 2 May 2012 07:00:20 +0000 (09:00 +0200)
committerAndreas Färber <[email protected]>
Mon, 18 Jun 2012 13:14:38 +0000 (15:14 +0200)
commit0d936928ef87ca1bb7b41b5b89c400c699a7691c
tree134a900379f06e1e84f31728a866d8afc7e9869a
parent8185d21639ab749979445734ec671122aa96e805
qdev: Convert busses to QEMU Object Model

This is far less interesting than it sounds.  We simply add an Object to each
BusState and then register the types appropriately.  Most of the interesting
refactoring will follow in the next patches.

Since we're changing fundamental type names (BusInfo -> BusClass), it all needs
to convert at once.  Fortunately, not a lot of code is affected.

Signed-off-by: Anthony Liguori <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
[AF: Made all new bus TypeInfos static const.]
[AF: Made qbus_free() call object_delete(), required {qom,glib}_allocated]
Signed-off-by: Andreas Färber <[email protected]>
27 files changed:
hw/i2c.c
hw/ide/internal.h
hw/ide/qdev.c
hw/intel-hda.c
hw/intel-hda.h
hw/isa-bus.c
hw/isa.h
hw/pci-hotplug.c
hw/pci.c
hw/pci_bridge.c
hw/pci_internals.h
hw/qdev-monitor.c
hw/qdev.c
hw/qdev.h
hw/s390-virtio-bus.c
hw/s390-virtio-bus.h
hw/scsi-bus.c
hw/scsi.h
hw/spapr_vio.c
hw/spapr_vio.h
hw/ssi.c
hw/sysbus.c
hw/sysbus.h
hw/usb.h
hw/usb/bus.c
hw/usb/dev-smartcard-reader.c
hw/virtio-serial-bus.c
This page took 0.0328 seconds and 4 git commands to generate.