Feature pages are design documents that developers have created while collaborating on oVirt.
Most of them are outdated, but provide historical design context.
They are not user documentation and should not be treated as such.
Documentation is available here.
Most of them are outdated, but provide historical design context.
They are not user documentation and should not be treated as such.
Documentation is available here.
Disk Hooks
Summary
Adding VDSM hooking points before and after disk’s hot plug and hot unplug. These hooks enable the running of guest-level operations on the disks when they’re plugged/unplugged.
Owner
- Name: Vered Volansky (vvolansk)
- Email: vered@redhat.com
Current status
- Target Release: 3.3
- Status: done
- Last updated: ,
Detailed Description
This feature adds four hooking points to vdsm, for before and after a disk’s hot plug and unplug from a VM. These hooking points are named:
- before_disk_hotplug
- after_disk_hotplug
- before_disk_hotunplug
- after_disk_hotunplug The above hooking points are defined in vdsm/hooks.py, and used in vdsm/libvirtvm.py.
Benefit to oVirt
The feature allows customers to add their own functionality before hot-plugging and hot-unplugging disks. This can be done by adding scripts performing custom behaviour. More details regarding the actual usage can be found here and here.