[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/13] qdev: bus management updates.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 00/13] qdev: bus management updates. |
Date: |
Tue, 22 Sep 2009 11:29:14 +0200 |
Hi,
This patch series does a bunch of improvements for qdev busses.
The former name was "allow embedded bus structs", but that title
doesn't cut it any more as there are lots of followup improvements
and fixes. Changes:
* allow embedded bus structs (yes, still there).
* add bus release function.
* added device destruction callback to qdev devices.
* make busses use the new features.
End result is that you can use qdev_free() to zap a device. Using the
destruction callback everything will be released properly. qdev will
walk the child bus(es) if present and zap all connected devices too.
You can pci_del the scsi adapter and all scsi disks will be deleted too.
You can pci_del the usb controller and all usb devices connected will be
deleted too. You can unplug usb hubs, all connected devices will go away
too.
cheers,
Gerd
- [Qemu-devel] [PATCH 00/13] qdev: bus management updates.,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 05/13] inplace allocation for pci, split irq init., Gerd Hoffmann, 2009/09/22
- [Qemu-devel] [PATCH 02/13] switch scsi bus to inplace allocation., Gerd Hoffmann, 2009/09/22
- [Qemu-devel] [PATCH 04/13] switch ide bus to inplace allocation., Gerd Hoffmann, 2009/09/22
- [Qemu-devel] [PATCH 03/13] switch usb bus to inplace allocation., Gerd Hoffmann, 2009/09/22
- [Qemu-devel] [PATCH 01/13] allow qdev busses allocations be inplace, Gerd Hoffmann, 2009/09/22
- [Qemu-devel] [PATCH 07/13] piix_pci: kill PIIX3IrqState, Gerd Hoffmann, 2009/09/22
- [Qemu-devel] [PATCH 10/13] Implement scsi device destruction, Gerd Hoffmann, 2009/09/22