mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
util: fix a typo in virprocess.c and docs
s/forcably/forcibly Signed-off-by: Hongwei Bi <hwbi2008@gmail.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
09bfe11090
commit
b2ed4f68b4
@ -547,7 +547,7 @@
|
|||||||
There is no need to check if <code>cmd</code> is NULL
|
There is no need to check if <code>cmd</code> is NULL
|
||||||
before calling <code>virCommandFree</code>. This scenario
|
before calling <code>virCommandFree</code>. This scenario
|
||||||
is handled automatically. If the command is still running,
|
is handled automatically. If the command is still running,
|
||||||
it will be forcably killed and cleaned up (via waitpid).
|
it will be forcibly killed and cleaned up (via waitpid).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2><a name="example">Complete examples</a></h2>
|
<h2><a name="example">Complete examples</a></h2>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Description: Provides the interfaces of the libvirt library to handle
|
* Description: Provides the interfaces of the libvirt library to handle
|
||||||
* virtualized domains
|
* virtualized domains
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005-2006, 2010-2013 Red Hat, Inc.
|
* Copyright (C) 2005-2006, 2010-2014 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -4635,7 +4635,7 @@ typedef enum {
|
|||||||
VIR_DOMAIN_EVENT_WATCHDOG_NONE = 0, /* No action, watchdog ignored */
|
VIR_DOMAIN_EVENT_WATCHDOG_NONE = 0, /* No action, watchdog ignored */
|
||||||
VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, /* Guest CPUs are paused */
|
VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, /* Guest CPUs are paused */
|
||||||
VIR_DOMAIN_EVENT_WATCHDOG_RESET, /* Guest CPUs are reset */
|
VIR_DOMAIN_EVENT_WATCHDOG_RESET, /* Guest CPUs are reset */
|
||||||
VIR_DOMAIN_EVENT_WATCHDOG_POWEROFF, /* Guest is forcably powered off */
|
VIR_DOMAIN_EVENT_WATCHDOG_POWEROFF, /* Guest is forcibly powered off */
|
||||||
VIR_DOMAIN_EVENT_WATCHDOG_SHUTDOWN, /* Guest is requested to gracefully shutdown */
|
VIR_DOMAIN_EVENT_WATCHDOG_SHUTDOWN, /* Guest is requested to gracefully shutdown */
|
||||||
VIR_DOMAIN_EVENT_WATCHDOG_DEBUG, /* No action, a debug message logged */
|
VIR_DOMAIN_EVENT_WATCHDOG_DEBUG, /* No action, a debug message logged */
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ int virProcessKill(pid_t pid, int sig)
|
|||||||
* Try to kill the process and verify it has exited
|
* Try to kill the process and verify it has exited
|
||||||
*
|
*
|
||||||
* Returns 0 if it was killed gracefully, 1 if it
|
* Returns 0 if it was killed gracefully, 1 if it
|
||||||
* was killed forcably, -1 if it is still alive,
|
* was killed forcibly, -1 if it is still alive,
|
||||||
* or another error occurred.
|
* or another error occurred.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user