mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 10:05:31 +00:00
docs: Document that libxl hooks are also given full domain XML
Our hooks.rst document existence of libxl hook scripts, but mentions only qemu and lxc as receivers of full domain XML. But since their introduction in v2.2.0-rc1~201 they are also given full domain XML. Fix our wording. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a4935d01cf
commit
4dffe53c5c
@ -89,7 +89,7 @@ Script arguments
|
||||
The hook scripts are called with specific command line arguments, depending upon
|
||||
the script, and the operation being performed.
|
||||
|
||||
The guest hook scripts, qemu and lxc, are also given the **full** XML
|
||||
The guest hook scripts, qemu, lxc and libxl are also given the **full** XML
|
||||
description for the domain on their stdin. This includes items such the UUID of
|
||||
the domain and its storage information, and is intended to provide all the
|
||||
libvirt information the script needs.
|
||||
@ -126,8 +126,8 @@ followed with the full XML description of the port:
|
||||
</hookData>
|
||||
|
||||
Please note that this approach is different from other cases such as ``daemon``,
|
||||
``qemu`` or ``lxc`` hook scripts, because two XMLs may be passed here, while in
|
||||
the other cases only a single XML is passed.
|
||||
``qemu``, ``lxc`` or ``libxl`` hook scripts, because two XMLs may be passed
|
||||
here, while in the other cases only a single XML is passed.
|
||||
|
||||
The command line arguments take this approach:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user