[PATCH 1/6] domain: introduce constants for virVcpuInfo->cpu state values

2020-11-12 Thread Matt Coleman
Signed-off-by: Matt Coleman --- include/libvirt/libvirt-domain.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index b3310729bf..d52733190f 100644 --- a/include/libvirt/libvirt-domain.h +++

Re: [PATCH 1/6] domain: introduce constants for virVcpuInfo->cpu state values

2020-11-12 Thread Michal Privoznik
On 11/12/20 12:51 PM, Matt Coleman wrote: Signed-off-by: Matt Coleman --- include/libvirt/libvirt-domain.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index b3310729bf..d52733190f 1006

Re: [PATCH 1/6] domain: introduce constants for virVcpuInfo->cpu state values

2020-11-12 Thread Michal Privoznik
On 11/12/20 3:17 PM, Matt Coleman wrote: On Nov 12, 2020, at 8:46 AM, Michal Privoznik wrote: On 11/12/20 12:51 PM, Matt Coleman wrote: +/** + * VIR_VCPU_INFO_CPU_OFFLINE: + * + * The VCPU is offline. + */ +# define VIR_VCPU_INFO_CPU_OFFLINE -1 + +/** + * VIR_VCPU_INFO_CPU_UNAVAILABLE: + * + *

Re: [PATCH 1/6] domain: introduce constants for virVcpuInfo->cpu state values

2020-11-12 Thread Matt Coleman
> On Nov 12, 2020, at 8:46 AM, Michal Privoznik wrote: > > On 11/12/20 12:51 PM, Matt Coleman wrote: >> +/** >> + * VIR_VCPU_INFO_CPU_OFFLINE: >> + * >> + * The VCPU is offline. >> + */ >> +# define VIR_VCPU_INFO_CPU_OFFLINE -1 >> + >> +/** >> + * VIR_VCPU_INFO_CPU_UNAVAILABLE: >> + * >> + * The