mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix commit 29c1e913e4
This patch fixes changes done in commit 29c1e913e4
that was pushed without implementing review feedback.
The flag introduced by the patch is changed to VIR_DOMAIN_VCPU_GUEST and
documentation makes the difference between regular hotplug and this new
functionality more explicit.
The virsh options that enable the use of the new flag are changed to
"--guest" and the documentation is fixed too.
This commit is contained in:
@@ -2120,7 +2120,7 @@ typedef enum {
|
||||
|
||||
/* Additionally, these flags may be bitwise-OR'd in. */
|
||||
VIR_DOMAIN_VCPU_MAXIMUM = (1 << 2), /* Max rather than current count */
|
||||
VIR_DOMAIN_VCPU_AGENT = (1 << 3), /* Use guest-agent based cpu hotplug */
|
||||
VIR_DOMAIN_VCPU_GUEST = (1 << 3), /* Modify state of the cpu in the guest */
|
||||
} virDomainVcpuFlags;
|
||||
|
||||
int virDomainSetVcpus (virDomainPtr domain,
|
||||
|
||||
Reference in New Issue
Block a user