[libvirt-perl PATCH 2/2] Add VIR_DOMAIN_VCPU_HOTPLUGGABLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 Changes                | 1 +
 Virt.xs                | 1 +
 lib/Sys/Virt/Domain.pm | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/Changes b/Changes
index 8d5683a..897040b 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,7 @@ Revision history for perl module Sys::Virt
 2.4.0 2016-00-00
 
  - Add constants for the new block iotune parameters for length
+ - Add VIR_DOMAIN_VCPU_HOTPLUGGABLE
 
 2.3.0 2016-10-06
 
diff --git a/Virt.xs b/Virt.xs
index 88ed722..92f300b 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8315,6 +8315,7 @@ BOOT:
       REGISTER_CONSTANT(VIR_DOMAIN_VCPU_CONFIG, VCPU_CONFIG);
       REGISTER_CONSTANT(VIR_DOMAIN_VCPU_MAXIMUM, VCPU_MAXIMUM);
       REGISTER_CONSTANT(VIR_DOMAIN_VCPU_GUEST, VCPU_GUEST);
+      REGISTER_CONSTANT(VIR_DOMAIN_VCPU_HOTPLUGGABLE, VCPU_HOTPLUGGABLE);
 
 
       REGISTER_CONSTANT(VIR_DOMAIN_SHUTDOWN_DEFAULT, SHUTDOWN_DEFAULT);
diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm
index 8bf4115..5e6669c 100644
--- a/lib/Sys/Virt/Domain.pm
+++ b/lib/Sys/Virt/Domain.pm
@@ -2793,6 +2793,10 @@ Flag to request adjustment of the maximum vCPU value
 
 Flag to request the guest VCPU mask
 
+=item Sys::Virt::Domain::VCPU_GUEST_HOTPLUGGABLE
+
+Flag to request to make vcpus added hot(un)pluggable
+
 =back
 
 =head2 STATE CHANGE EVENTS
-- 
2.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]