Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for hotplugging (removing disks). | Richard W.M. Jones | 2012-10-09 | 1 | -4/+97 |
| | | | | | | | | New API: remove-drive. Note because of a bug in fuser, this only works with psmisc >= 22.20. This also updates the hotplugging tests. | ||||
* | Add support for hotplugging (adding disks) to the libvirt attach-method. | Richard W.M. Jones | 2012-10-08 | 1 | -0/+67 |
When libvirt is used, we can allow disks to be hotplugged. guestfs_add_drive can be called after launch to hot-add a disk. When a disk is hot-added, we first ask libvirt to add the disk to the appliance, then we make an internal call into the appliance to get it to wait for the disk to appear (ie. udev_settle ()). Hot-added disks are tracked in the g->drives array. This also adds a test. |