Re: [libvirt] [PATCH] doc: Describe the VCPU states returned by virsh vcpuinfo

2016-10-24 Thread Viktor Mihajlovski
On 21.10.2016 17:08, John Ferlan wrote:
> 
> 
> On 10/13/2016 07:08 AM, Viktor Mihajlovski wrote:
>> Added a brief description of the VCPU states.
>>
>> Signed-off-by: Viktor Mihajlovski 
>> ---
>>  tools/virsh.pod | 49 +
>>  1 file changed, 49 insertions(+)
>>
> 
> ACK and pushed,
> 
> John
> 
Thanks.

-- 

Mit freundlichen Grüßen/Kind Regards
   Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

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


Re: [libvirt] [PATCH] doc: Describe the VCPU states returned by virsh vcpuinfo

2016-10-21 Thread John Ferlan


On 10/13/2016 07:08 AM, Viktor Mihajlovski wrote:
> Added a brief description of the VCPU states.
> 
> Signed-off-by: Viktor Mihajlovski 
> ---
>  tools/virsh.pod | 49 +
>  1 file changed, 49 insertions(+)
> 

ACK and pushed,

John

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


[libvirt] [PATCH] doc: Describe the VCPU states returned by virsh vcpuinfo

2016-10-13 Thread Viktor Mihajlovski
Added a brief description of the VCPU states.

Signed-off-by: Viktor Mihajlovski 
---
 tools/virsh.pod | 49 +
 1 file changed, 49 insertions(+)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index 9e3a248..6d4fd07 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -2536,6 +2536,55 @@ vCPUs, the running time, the affinity to physical 
processors.
 
 With I<--pretty>, cpu affinities are shown as ranges.
 
+An example output is
+
+ $ virsh vcpuinfo fedora
+ VCPU:   0
+ CPU:0
+ State:  running
+ CPU time:   7,0s
+ CPU Affinity:   
+
+ VCPU:   1
+ CPU:1
+ State:  running
+ CPU time:   0,7s
+ CPU Affinity:   
+
+B
+
+The State field displays the current operating state of a virtual CPU
+
+=over 4
+
+=item B
+
+The virtual CPU is offline and not usable by the domain.
+This state is not supported by all hypervisors.
+
+=item B
+
+The virtual CPU is available to the domain and is operating.
+
+=item B
+
+The virtual CPU is available to the domain but is waiting for a resource.
+This state is not supported by all hypervisors, in which case I
+may be reported instead.
+
+=item B
+
+The virtual CPU state could not be determined. This could happen if
+the hypervisor is newer than virsh.
+
+=item B
+
+There's no information about the virtual CPU state available. This can
+be the case if the domain is not running or the hypervisor does
+not report the virtual CPU state.
+
+=back
+
 =item B I [I] [I] [[I<--live>]
 [I<--config>] | [I<--current>]]
 
-- 
1.9.1

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