qemu-devel
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]