[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/24] qdev: bus management updates.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 00/24] qdev: bus management updates. |
Date: |
Fri, 25 Sep 2009 21:42:25 +0200 |
Hi,
One more respin, even more improvements.
hotplug, meet qdev.
qdev, meet hotplug.
Changes summary:
* allow embedded bus structs.
* add bus release function.
* added device destruction callback to qdev devices.
* make qdev hotplug-aware (NEW!).
* make busses use the new features.
End result is that you can use qdev_unplug() to unplug a device.
Depending on the bus this will either not work at all (ISA), ask the
guest OS to release the device (PCI+ACPI) or just zap it (USB).
Using the destruction callback everything will be released properly when
a device is zapped. 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/24] qdev: bus management updates.,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 01/24] unbreak usb pass-through on linux., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 05/24] switch ide bus to inplace allocation., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 04/24] switch usb bus to inplace allocation., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 03/24] switch scsi bus to inplace allocation., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 06/24] inplace allocation for pci, split irq init., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 02/24] allow qdev busses allocations be inplace, Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 08/24] piix_pci: kill PIIX3IrqState, Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 10/24] Add exit callback to DeviceInfo., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 12/24] pci: use qdev for device destruction., Gerd Hoffmann, 2009/09/25
- [Qemu-devel] [PATCH 07/24] convert pci bridge to qdev, Gerd Hoffmann, 2009/09/25