]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libvirt: Update docs for hotplug only commands
authorCole Robinson <crobinso@redhat.com>
Tue, 16 Feb 2010 18:59:21 +0000 (13:59 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 18 Feb 2010 14:23:04 +0000 (09:23 -0500)
The commands updated are SetMem, SetMaxMem, SetVcpus, and PinVcpu.

src/libvirt.c

index 0e5f4a2c0516a7b720330916664eb485a6c75a09..be1766880f298d4602093dfc085d8a8e58a54446 100644 (file)
@@ -2758,6 +2758,9 @@ error:
  * to Domain0 i.e. the domain where the application runs.
  * This function requires privileged access to the hypervisor.
  *
+ * This command only changes the runtime configuration of the domain,
+ * so can only be called on an active domain.
+ *
  * Returns 0 in case of success and -1 in case of failure.
  */
 int
@@ -2808,6 +2811,9 @@ error:
  * to Domain0 i.e. the domain where the application runs.
  * This function may requires privileged access to the hypervisor.
  *
+ * This command only changes the runtime configuration of the domain,
+ * so can only be called on an active domain.
+ *
  * Returns 0 in case of success and -1 in case of failure.
  */
 int
@@ -4821,6 +4827,9 @@ error:
  * does not support it or if growing the number is arbitrary limited.
  * This function requires privileged access to the hypervisor.
  *
+ * This command only changes the runtime configuration of the domain,
+ * so can only be called on an active domain.
+ *
  * Returns 0 in case of success, -1 in case of failure.
  */
 
@@ -4879,6 +4888,9 @@ error:
  * Dynamically change the real CPUs which can be allocated to a virtual CPU.
  * This function requires privileged access to the hypervisor.
  *
+ * This command only changes the runtime configuration of the domain,
+ * so can only be called on an active domain.
+ *
  * Returns 0 in case of success, -1 in case of failure.
  */
 int