[libvirt-php PATCH] libvirt-domain: Introduce libvirt_domain_reset()

Michal Privoznik mprivozn at redhat.com
Fri Feb 7 09:27:54 UTC 2020


On 2/6/20 7:35 PM, Marcus Recck wrote:
> We currently have all other power-related functions implemented,
> but are missing the ability to call virDomainReset from the PHP
> bindings. This adds that functionality.
> 
> Signed-off-by: Marcus Recck <mrecck at datto.com>
> ---
>   doc/source/libvirt/entities.functions.xml     |  1 +
>   .../functions/libvirt-domain-reboot.xml       |  1 +
>   .../functions/libvirt-domain-reset.xml        | 82 +++++++++++++++++++
>   .../functions/libvirt-domain-resume.xml       |  1 +
>   .../functions/libvirt-domain-shutdown.xml     |  1 +
>   .../functions/libvirt-domain-suspend.xml      |  1 +
>   examples/libvirt.php                          |  9 ++
>   src/libvirt-domain.c                          | 24 ++++++
>   src/libvirt-domain.h                          |  2 +
>   9 files changed, 122 insertions(+)
>   create mode 100644 doc/source/libvirt/functions/libvirt-domain-reset.xml

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

And pushed. Congratulations on your first libvirt contribution.

Michal




More information about the libvir-list mailing list