-
Notifications
You must be signed in to change notification settings - Fork 133
/
const.gen.go
2594 lines (2265 loc) · 109 KB
/
const.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2018 The go-libvirt Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// WARNING: This file has automatically been generated
// Code generated by https://git.io/c-for-go. DO NOT EDIT.
package libvirt
const (
// Deprecated as defined in libvirt/libvirt-common.h:40
Deprecated = 0x5f8b60
// ExportVar as defined in libvirt/libvirt-common.h:57
ExportVar = 0x5f8b60
// TypedParamFieldLength as defined in libvirt/libvirt-common.h:170
TypedParamFieldLength = 80
// DomainSchedulerCPUShares as defined in libvirt/libvirt-domain.h:316
DomainSchedulerCPUShares = "cpu_shares"
// DomainSchedulerGlobalPeriod as defined in libvirt/libvirt-domain.h:324
DomainSchedulerGlobalPeriod = "global_period"
// DomainSchedulerGlobalQuota as defined in libvirt/libvirt-domain.h:332
DomainSchedulerGlobalQuota = "global_quota"
// DomainSchedulerVCPUPeriod as defined in libvirt/libvirt-domain.h:340
DomainSchedulerVCPUPeriod = "vcpu_period"
// DomainSchedulerVCPUQuota as defined in libvirt/libvirt-domain.h:348
DomainSchedulerVCPUQuota = "vcpu_quota"
// DomainSchedulerEmulatorPeriod as defined in libvirt/libvirt-domain.h:357
DomainSchedulerEmulatorPeriod = "emulator_period"
// DomainSchedulerEmulatorQuota as defined in libvirt/libvirt-domain.h:366
DomainSchedulerEmulatorQuota = "emulator_quota"
// DomainSchedulerIothreadPeriod as defined in libvirt/libvirt-domain.h:374
DomainSchedulerIothreadPeriod = "iothread_period"
// DomainSchedulerIothreadQuota as defined in libvirt/libvirt-domain.h:382
DomainSchedulerIothreadQuota = "iothread_quota"
// DomainSchedulerWeight as defined in libvirt/libvirt-domain.h:390
DomainSchedulerWeight = "weight"
// DomainSchedulerCap as defined in libvirt/libvirt-domain.h:398
DomainSchedulerCap = "cap"
// DomainSchedulerReservation as defined in libvirt/libvirt-domain.h:406
DomainSchedulerReservation = "reservation"
// DomainSchedulerLimit as defined in libvirt/libvirt-domain.h:414
DomainSchedulerLimit = "limit"
// DomainSchedulerShares as defined in libvirt/libvirt-domain.h:422
DomainSchedulerShares = "shares"
// DomainBlockStatsFieldLength as defined in libvirt/libvirt-domain.h:480
DomainBlockStatsFieldLength = TypedParamFieldLength
// DomainBlockStatsReadBytes as defined in libvirt/libvirt-domain.h:488
DomainBlockStatsReadBytes = "rd_bytes"
// DomainBlockStatsReadReq as defined in libvirt/libvirt-domain.h:496
DomainBlockStatsReadReq = "rd_operations"
// DomainBlockStatsReadTotalTimes as defined in libvirt/libvirt-domain.h:504
DomainBlockStatsReadTotalTimes = "rd_total_times"
// DomainBlockStatsWriteBytes as defined in libvirt/libvirt-domain.h:512
DomainBlockStatsWriteBytes = "wr_bytes"
// DomainBlockStatsWriteReq as defined in libvirt/libvirt-domain.h:520
DomainBlockStatsWriteReq = "wr_operations"
// DomainBlockStatsWriteTotalTimes as defined in libvirt/libvirt-domain.h:528
DomainBlockStatsWriteTotalTimes = "wr_total_times"
// DomainBlockStatsFlushReq as defined in libvirt/libvirt-domain.h:536
DomainBlockStatsFlushReq = "flush_operations"
// DomainBlockStatsFlushTotalTimes as defined in libvirt/libvirt-domain.h:544
DomainBlockStatsFlushTotalTimes = "flush_total_times"
// DomainBlockStatsErrs as defined in libvirt/libvirt-domain.h:551
DomainBlockStatsErrs = "errs"
// MigrateParamURI as defined in libvirt/libvirt-domain.h:879
MigrateParamURI = "migrate_uri"
// MigrateParamDestName as defined in libvirt/libvirt-domain.h:889
MigrateParamDestName = "destination_name"
// MigrateParamDestXML as defined in libvirt/libvirt-domain.h:908
MigrateParamDestXML = "destination_xml"
// MigrateParamPersistXML as defined in libvirt/libvirt-domain.h:923
MigrateParamPersistXML = "persistent_xml"
// MigrateParamBandwidth as defined in libvirt/libvirt-domain.h:933
MigrateParamBandwidth = "bandwidth"
// MigrateParamBandwidthPostcopy as defined in libvirt/libvirt-domain.h:942
MigrateParamBandwidthPostcopy = "bandwidth.postcopy"
// MigrateParamGraphicsURI as defined in libvirt/libvirt-domain.h:963
MigrateParamGraphicsURI = "graphics_uri"
// MigrateParamListenAddress as defined in libvirt/libvirt-domain.h:974
MigrateParamListenAddress = "listen_address"
// MigrateParamMigrateDisks as defined in libvirt/libvirt-domain.h:983
MigrateParamMigrateDisks = "migrate_disks"
// MigrateParamDisksPort as defined in libvirt/libvirt-domain.h:993
MigrateParamDisksPort = "disks_port"
// MigrateParamDisksURI as defined in libvirt/libvirt-domain.h:1006
MigrateParamDisksURI = "disks_uri"
// MigrateParamCompression as defined in libvirt/libvirt-domain.h:1016
MigrateParamCompression = "compression"
// MigrateParamCompressionMtLevel as defined in libvirt/libvirt-domain.h:1025
MigrateParamCompressionMtLevel = "compression.mt.level"
// MigrateParamCompressionMtThreads as defined in libvirt/libvirt-domain.h:1033
MigrateParamCompressionMtThreads = "compression.mt.threads"
// MigrateParamCompressionMtDthreads as defined in libvirt/libvirt-domain.h:1041
MigrateParamCompressionMtDthreads = "compression.mt.dthreads"
// MigrateParamCompressionXbzrleCache as defined in libvirt/libvirt-domain.h:1049
MigrateParamCompressionXbzrleCache = "compression.xbzrle.cache"
// MigrateParamAutoConvergeInitial as defined in libvirt/libvirt-domain.h:1058
MigrateParamAutoConvergeInitial = "auto_converge.initial"
// MigrateParamAutoConvergeIncrement as defined in libvirt/libvirt-domain.h:1068
MigrateParamAutoConvergeIncrement = "auto_converge.increment"
// MigrateParamParallelConnections as defined in libvirt/libvirt-domain.h:1076
MigrateParamParallelConnections = "parallel.connections"
// MigrateParamTLSDestination as defined in libvirt/libvirt-domain.h:1090
MigrateParamTLSDestination = "tls.destination"
// DomainCPUStatsCputime as defined in libvirt/libvirt-domain.h:1350
DomainCPUStatsCputime = "cpu_time"
// DomainCPUStatsUsertime as defined in libvirt/libvirt-domain.h:1356
DomainCPUStatsUsertime = "user_time"
// DomainCPUStatsSystemtime as defined in libvirt/libvirt-domain.h:1362
DomainCPUStatsSystemtime = "system_time"
// DomainCPUStatsVcputime as defined in libvirt/libvirt-domain.h:1369
DomainCPUStatsVcputime = "vcpu_time"
// DomainBlkioWeight as defined in libvirt/libvirt-domain.h:1398
DomainBlkioWeight = "weight"
// DomainBlkioDeviceWeight as defined in libvirt/libvirt-domain.h:1408
DomainBlkioDeviceWeight = "device_weight"
// DomainBlkioDeviceReadIops as defined in libvirt/libvirt-domain.h:1419
DomainBlkioDeviceReadIops = "device_read_iops_sec"
// DomainBlkioDeviceWriteIops as defined in libvirt/libvirt-domain.h:1430
DomainBlkioDeviceWriteIops = "device_write_iops_sec"
// DomainBlkioDeviceReadBps as defined in libvirt/libvirt-domain.h:1441
DomainBlkioDeviceReadBps = "device_read_bytes_sec"
// DomainBlkioDeviceWriteBps as defined in libvirt/libvirt-domain.h:1452
DomainBlkioDeviceWriteBps = "device_write_bytes_sec"
// DomainMemoryParamUnlimited as defined in libvirt/libvirt-domain.h:1471
DomainMemoryParamUnlimited = int64(9007199254740991)
// DomainMemoryHardLimit as defined in libvirt/libvirt-domain.h:1480
DomainMemoryHardLimit = "hard_limit"
// DomainMemorySoftLimit as defined in libvirt/libvirt-domain.h:1489
DomainMemorySoftLimit = "soft_limit"
// DomainMemoryMinGuarantee as defined in libvirt/libvirt-domain.h:1498
DomainMemoryMinGuarantee = "min_guarantee"
// DomainMemorySwapHardLimit as defined in libvirt/libvirt-domain.h:1508
DomainMemorySwapHardLimit = "swap_hard_limit"
// DomainNumaNodeset as defined in libvirt/libvirt-domain.h:1554
DomainNumaNodeset = "numa_nodeset"
// DomainNumaMode as defined in libvirt/libvirt-domain.h:1562
DomainNumaMode = "numa_mode"
// DomainBandwidthInAverage as defined in libvirt/libvirt-domain.h:1684
DomainBandwidthInAverage = "inbound.average"
// DomainBandwidthInPeak as defined in libvirt/libvirt-domain.h:1691
DomainBandwidthInPeak = "inbound.peak"
// DomainBandwidthInBurst as defined in libvirt/libvirt-domain.h:1698
DomainBandwidthInBurst = "inbound.burst"
// DomainBandwidthInFloor as defined in libvirt/libvirt-domain.h:1705
DomainBandwidthInFloor = "inbound.floor"
// DomainBandwidthOutAverage as defined in libvirt/libvirt-domain.h:1712
DomainBandwidthOutAverage = "outbound.average"
// DomainBandwidthOutPeak as defined in libvirt/libvirt-domain.h:1719
DomainBandwidthOutPeak = "outbound.peak"
// DomainBandwidthOutBurst as defined in libvirt/libvirt-domain.h:1726
DomainBandwidthOutBurst = "outbound.burst"
// DomainIothreadPollMaxNs as defined in libvirt/libvirt-domain.h:2031
DomainIothreadPollMaxNs = "poll_max_ns"
// DomainIothreadPollGrow as defined in libvirt/libvirt-domain.h:2041
DomainIothreadPollGrow = "poll_grow"
// DomainIothreadPollShrink as defined in libvirt/libvirt-domain.h:2052
DomainIothreadPollShrink = "poll_shrink"
// PerfParamCmt as defined in libvirt/libvirt-domain.h:2245
PerfParamCmt = "cmt"
// PerfParamMbmt as defined in libvirt/libvirt-domain.h:2256
PerfParamMbmt = "mbmt"
// PerfParamMbml as defined in libvirt/libvirt-domain.h:2266
PerfParamMbml = "mbml"
// PerfParamCacheMisses as defined in libvirt/libvirt-domain.h:2276
PerfParamCacheMisses = "cache_misses"
// PerfParamCacheReferences as defined in libvirt/libvirt-domain.h:2286
PerfParamCacheReferences = "cache_references"
// PerfParamInstructions as defined in libvirt/libvirt-domain.h:2296
PerfParamInstructions = "instructions"
// PerfParamCPUCycles as defined in libvirt/libvirt-domain.h:2306
PerfParamCPUCycles = "cpu_cycles"
// PerfParamBranchInstructions as defined in libvirt/libvirt-domain.h:2316
PerfParamBranchInstructions = "branch_instructions"
// PerfParamBranchMisses as defined in libvirt/libvirt-domain.h:2326
PerfParamBranchMisses = "branch_misses"
// PerfParamBusCycles as defined in libvirt/libvirt-domain.h:2336
PerfParamBusCycles = "bus_cycles"
// PerfParamStalledCyclesFrontend as defined in libvirt/libvirt-domain.h:2347
PerfParamStalledCyclesFrontend = "stalled_cycles_frontend"
// PerfParamStalledCyclesBackend as defined in libvirt/libvirt-domain.h:2358
PerfParamStalledCyclesBackend = "stalled_cycles_backend"
// PerfParamRefCPUCycles as defined in libvirt/libvirt-domain.h:2369
PerfParamRefCPUCycles = "ref_cpu_cycles"
// PerfParamCPUClock as defined in libvirt/libvirt-domain.h:2380
PerfParamCPUClock = "cpu_clock"
// PerfParamTaskClock as defined in libvirt/libvirt-domain.h:2391
PerfParamTaskClock = "task_clock"
// PerfParamPageFaults as defined in libvirt/libvirt-domain.h:2401
PerfParamPageFaults = "page_faults"
// PerfParamContextSwitches as defined in libvirt/libvirt-domain.h:2411
PerfParamContextSwitches = "context_switches"
// PerfParamCPUMigrations as defined in libvirt/libvirt-domain.h:2421
PerfParamCPUMigrations = "cpu_migrations"
// PerfParamPageFaultsMin as defined in libvirt/libvirt-domain.h:2431
PerfParamPageFaultsMin = "page_faults_min"
// PerfParamPageFaultsMaj as defined in libvirt/libvirt-domain.h:2441
PerfParamPageFaultsMaj = "page_faults_maj"
// PerfParamAlignmentFaults as defined in libvirt/libvirt-domain.h:2451
PerfParamAlignmentFaults = "alignment_faults"
// PerfParamEmulationFaults as defined in libvirt/libvirt-domain.h:2461
PerfParamEmulationFaults = "emulation_faults"
// DomainBlockCopyBandwidth as defined in libvirt/libvirt-domain.h:2634
DomainBlockCopyBandwidth = "bandwidth"
// DomainBlockCopyGranularity as defined in libvirt/libvirt-domain.h:2645
DomainBlockCopyGranularity = "granularity"
// DomainBlockCopyBufSize as defined in libvirt/libvirt-domain.h:2654
DomainBlockCopyBufSize = "buf-size"
// DomainBlockIotuneTotalBytesSec as defined in libvirt/libvirt-domain.h:2695
DomainBlockIotuneTotalBytesSec = "total_bytes_sec"
// DomainBlockIotuneReadBytesSec as defined in libvirt/libvirt-domain.h:2703
DomainBlockIotuneReadBytesSec = "read_bytes_sec"
// DomainBlockIotuneWriteBytesSec as defined in libvirt/libvirt-domain.h:2711
DomainBlockIotuneWriteBytesSec = "write_bytes_sec"
// DomainBlockIotuneTotalIopsSec as defined in libvirt/libvirt-domain.h:2719
DomainBlockIotuneTotalIopsSec = "total_iops_sec"
// DomainBlockIotuneReadIopsSec as defined in libvirt/libvirt-domain.h:2727
DomainBlockIotuneReadIopsSec = "read_iops_sec"
// DomainBlockIotuneWriteIopsSec as defined in libvirt/libvirt-domain.h:2734
DomainBlockIotuneWriteIopsSec = "write_iops_sec"
// DomainBlockIotuneTotalBytesSecMax as defined in libvirt/libvirt-domain.h:2742
DomainBlockIotuneTotalBytesSecMax = "total_bytes_sec_max"
// DomainBlockIotuneReadBytesSecMax as defined in libvirt/libvirt-domain.h:2750
DomainBlockIotuneReadBytesSecMax = "read_bytes_sec_max"
// DomainBlockIotuneWriteBytesSecMax as defined in libvirt/libvirt-domain.h:2758
DomainBlockIotuneWriteBytesSecMax = "write_bytes_sec_max"
// DomainBlockIotuneTotalIopsSecMax as defined in libvirt/libvirt-domain.h:2766
DomainBlockIotuneTotalIopsSecMax = "total_iops_sec_max"
// DomainBlockIotuneReadIopsSecMax as defined in libvirt/libvirt-domain.h:2774
DomainBlockIotuneReadIopsSecMax = "read_iops_sec_max"
// DomainBlockIotuneWriteIopsSecMax as defined in libvirt/libvirt-domain.h:2781
DomainBlockIotuneWriteIopsSecMax = "write_iops_sec_max"
// DomainBlockIotuneTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2789
DomainBlockIotuneTotalBytesSecMaxLength = "total_bytes_sec_max_length"
// DomainBlockIotuneReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2797
DomainBlockIotuneReadBytesSecMaxLength = "read_bytes_sec_max_length"
// DomainBlockIotuneWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2805
DomainBlockIotuneWriteBytesSecMaxLength = "write_bytes_sec_max_length"
// DomainBlockIotuneTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2813
DomainBlockIotuneTotalIopsSecMaxLength = "total_iops_sec_max_length"
// DomainBlockIotuneReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2821
DomainBlockIotuneReadIopsSecMaxLength = "read_iops_sec_max_length"
// DomainBlockIotuneWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2829
DomainBlockIotuneWriteIopsSecMaxLength = "write_iops_sec_max_length"
// DomainBlockIotuneSizeIopsSec as defined in libvirt/libvirt-domain.h:2836
DomainBlockIotuneSizeIopsSec = "size_iops_sec"
// DomainBlockIotuneGroupName as defined in libvirt/libvirt-domain.h:2843
DomainBlockIotuneGroupName = "group_name"
// KeycodeSetRfb as defined in libvirt/libvirt-domain.h:2924
KeycodeSetRfb = 0x5f8b60
// DomainSendKeyMaxKeys as defined in libvirt/libvirt-domain.h:2931
DomainSendKeyMaxKeys = 16
// DomainJobOperationStr as defined in libvirt/libvirt-domain.h:3405
DomainJobOperationStr = "operation"
// DomainJobTimeElapsed as defined in libvirt/libvirt-domain.h:3415
DomainJobTimeElapsed = "time_elapsed"
// DomainJobTimeElapsedNet as defined in libvirt/libvirt-domain.h:3425
DomainJobTimeElapsedNet = "time_elapsed_net"
// DomainJobTimeRemaining as defined in libvirt/libvirt-domain.h:3435
DomainJobTimeRemaining = "time_remaining"
// DomainJobDowntime as defined in libvirt/libvirt-domain.h:3445
DomainJobDowntime = "downtime"
// DomainJobDowntimeNet as defined in libvirt/libvirt-domain.h:3454
DomainJobDowntimeNet = "downtime_net"
// DomainJobSetupTime as defined in libvirt/libvirt-domain.h:3463
DomainJobSetupTime = "setup_time"
// DomainJobDataTotal as defined in libvirt/libvirt-domain.h:3478
DomainJobDataTotal = "data_total"
// DomainJobDataProcessed as defined in libvirt/libvirt-domain.h:3488
DomainJobDataProcessed = "data_processed"
// DomainJobDataRemaining as defined in libvirt/libvirt-domain.h:3498
DomainJobDataRemaining = "data_remaining"
// DomainJobMemoryTotal as defined in libvirt/libvirt-domain.h:3508
DomainJobMemoryTotal = "memory_total"
// DomainJobMemoryProcessed as defined in libvirt/libvirt-domain.h:3518
DomainJobMemoryProcessed = "memory_processed"
// DomainJobMemoryRemaining as defined in libvirt/libvirt-domain.h:3528
DomainJobMemoryRemaining = "memory_remaining"
// DomainJobMemoryConstant as defined in libvirt/libvirt-domain.h:3540
DomainJobMemoryConstant = "memory_constant"
// DomainJobMemoryNormal as defined in libvirt/libvirt-domain.h:3550
DomainJobMemoryNormal = "memory_normal"
// DomainJobMemoryNormalBytes as defined in libvirt/libvirt-domain.h:3560
DomainJobMemoryNormalBytes = "memory_normal_bytes"
// DomainJobMemoryBps as defined in libvirt/libvirt-domain.h:3568
DomainJobMemoryBps = "memory_bps"
// DomainJobMemoryDirtyRate as defined in libvirt/libvirt-domain.h:3576
DomainJobMemoryDirtyRate = "memory_dirty_rate"
// DomainJobMemoryPageSize as defined in libvirt/libvirt-domain.h:3587
DomainJobMemoryPageSize = "memory_page_size"
// DomainJobMemoryIteration as defined in libvirt/libvirt-domain.h:3598
DomainJobMemoryIteration = "memory_iteration"
// DomainJobMemoryPostcopyReqs as defined in libvirt/libvirt-domain.h:3608
DomainJobMemoryPostcopyReqs = "memory_postcopy_requests"
// DomainJobDiskTotal as defined in libvirt/libvirt-domain.h:3618
DomainJobDiskTotal = "disk_total"
// DomainJobDiskProcessed as defined in libvirt/libvirt-domain.h:3628
DomainJobDiskProcessed = "disk_processed"
// DomainJobDiskRemaining as defined in libvirt/libvirt-domain.h:3638
DomainJobDiskRemaining = "disk_remaining"
// DomainJobDiskBps as defined in libvirt/libvirt-domain.h:3646
DomainJobDiskBps = "disk_bps"
// DomainJobCompressionCache as defined in libvirt/libvirt-domain.h:3655
DomainJobCompressionCache = "compression_cache"
// DomainJobCompressionBytes as defined in libvirt/libvirt-domain.h:3663
DomainJobCompressionBytes = "compression_bytes"
// DomainJobCompressionPages as defined in libvirt/libvirt-domain.h:3671
DomainJobCompressionPages = "compression_pages"
// DomainJobCompressionCacheMisses as defined in libvirt/libvirt-domain.h:3680
DomainJobCompressionCacheMisses = "compression_cache_misses"
// DomainJobCompressionOverflow as defined in libvirt/libvirt-domain.h:3690
DomainJobCompressionOverflow = "compression_overflow"
// DomainJobAutoConvergeThrottle as defined in libvirt/libvirt-domain.h:3699
DomainJobAutoConvergeThrottle = "auto_converge_throttle"
// DomainJobSuccess as defined in libvirt/libvirt-domain.h:3707
DomainJobSuccess = "success"
// DomainJobErrmsg as defined in libvirt/libvirt-domain.h:3715
DomainJobErrmsg = "errmsg"
// DomainJobDiskTempUsed as defined in libvirt/libvirt-domain.h:3723
DomainJobDiskTempUsed = "disk_temp_used"
// DomainJobDiskTempTotal as defined in libvirt/libvirt-domain.h:3730
DomainJobDiskTempTotal = "disk_temp_total"
// DomainTunableCPUVcpupin as defined in libvirt/libvirt-domain.h:4285
DomainTunableCPUVcpupin = "cputune.vcpupin%u"
// DomainTunableCPUEmulatorpin as defined in libvirt/libvirt-domain.h:4293
DomainTunableCPUEmulatorpin = "cputune.emulatorpin"
// DomainTunableCPUIothreadspin as defined in libvirt/libvirt-domain.h:4302
DomainTunableCPUIothreadspin = "cputune.iothreadpin%u"
// DomainTunableCPUCpuShares as defined in libvirt/libvirt-domain.h:4310
DomainTunableCPUCpuShares = "cputune.cpu_shares"
// DomainTunableCPUGlobalPeriod as defined in libvirt/libvirt-domain.h:4318
DomainTunableCPUGlobalPeriod = "cputune.global_period"
// DomainTunableCPUGlobalQuota as defined in libvirt/libvirt-domain.h:4326
DomainTunableCPUGlobalQuota = "cputune.global_quota"
// DomainTunableCPUVCPUPeriod as defined in libvirt/libvirt-domain.h:4334
DomainTunableCPUVCPUPeriod = "cputune.vcpu_period"
// DomainTunableCPUVCPUQuota as defined in libvirt/libvirt-domain.h:4342
DomainTunableCPUVCPUQuota = "cputune.vcpu_quota"
// DomainTunableCPUEmulatorPeriod as defined in libvirt/libvirt-domain.h:4351
DomainTunableCPUEmulatorPeriod = "cputune.emulator_period"
// DomainTunableCPUEmulatorQuota as defined in libvirt/libvirt-domain.h:4360
DomainTunableCPUEmulatorQuota = "cputune.emulator_quota"
// DomainTunableCPUIothreadPeriod as defined in libvirt/libvirt-domain.h:4368
DomainTunableCPUIothreadPeriod = "cputune.iothread_period"
// DomainTunableCPUIothreadQuota as defined in libvirt/libvirt-domain.h:4376
DomainTunableCPUIothreadQuota = "cputune.iothread_quota"
// DomainTunableBlkdevDisk as defined in libvirt/libvirt-domain.h:4384
DomainTunableBlkdevDisk = "blkdeviotune.disk"
// DomainTunableBlkdevTotalBytesSec as defined in libvirt/libvirt-domain.h:4392
DomainTunableBlkdevTotalBytesSec = "blkdeviotune.total_bytes_sec"
// DomainTunableBlkdevReadBytesSec as defined in libvirt/libvirt-domain.h:4400
DomainTunableBlkdevReadBytesSec = "blkdeviotune.read_bytes_sec"
// DomainTunableBlkdevWriteBytesSec as defined in libvirt/libvirt-domain.h:4408
DomainTunableBlkdevWriteBytesSec = "blkdeviotune.write_bytes_sec"
// DomainTunableBlkdevTotalIopsSec as defined in libvirt/libvirt-domain.h:4416
DomainTunableBlkdevTotalIopsSec = "blkdeviotune.total_iops_sec"
// DomainTunableBlkdevReadIopsSec as defined in libvirt/libvirt-domain.h:4424
DomainTunableBlkdevReadIopsSec = "blkdeviotune.read_iops_sec"
// DomainTunableBlkdevWriteIopsSec as defined in libvirt/libvirt-domain.h:4432
DomainTunableBlkdevWriteIopsSec = "blkdeviotune.write_iops_sec"
// DomainTunableBlkdevTotalBytesSecMax as defined in libvirt/libvirt-domain.h:4440
DomainTunableBlkdevTotalBytesSecMax = "blkdeviotune.total_bytes_sec_max"
// DomainTunableBlkdevReadBytesSecMax as defined in libvirt/libvirt-domain.h:4448
DomainTunableBlkdevReadBytesSecMax = "blkdeviotune.read_bytes_sec_max"
// DomainTunableBlkdevWriteBytesSecMax as defined in libvirt/libvirt-domain.h:4456
DomainTunableBlkdevWriteBytesSecMax = "blkdeviotune.write_bytes_sec_max"
// DomainTunableBlkdevTotalIopsSecMax as defined in libvirt/libvirt-domain.h:4464
DomainTunableBlkdevTotalIopsSecMax = "blkdeviotune.total_iops_sec_max"
// DomainTunableBlkdevReadIopsSecMax as defined in libvirt/libvirt-domain.h:4472
DomainTunableBlkdevReadIopsSecMax = "blkdeviotune.read_iops_sec_max"
// DomainTunableBlkdevWriteIopsSecMax as defined in libvirt/libvirt-domain.h:4480
DomainTunableBlkdevWriteIopsSecMax = "blkdeviotune.write_iops_sec_max"
// DomainTunableBlkdevSizeIopsSec as defined in libvirt/libvirt-domain.h:4488
DomainTunableBlkdevSizeIopsSec = "blkdeviotune.size_iops_sec"
// DomainTunableBlkdevGroupName as defined in libvirt/libvirt-domain.h:4496
DomainTunableBlkdevGroupName = "blkdeviotune.group_name"
// DomainTunableBlkdevTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4505
DomainTunableBlkdevTotalBytesSecMaxLength = "blkdeviotune.total_bytes_sec_max_length"
// DomainTunableBlkdevReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4514
DomainTunableBlkdevReadBytesSecMaxLength = "blkdeviotune.read_bytes_sec_max_length"
// DomainTunableBlkdevWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4523
DomainTunableBlkdevWriteBytesSecMaxLength = "blkdeviotune.write_bytes_sec_max_length"
// DomainTunableBlkdevTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4532
DomainTunableBlkdevTotalIopsSecMaxLength = "blkdeviotune.total_iops_sec_max_length"
// DomainTunableBlkdevReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4541
DomainTunableBlkdevReadIopsSecMaxLength = "blkdeviotune.read_iops_sec_max_length"
// DomainTunableBlkdevWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4550
DomainTunableBlkdevWriteIopsSecMaxLength = "blkdeviotune.write_iops_sec_max_length"
// DomainSchedFieldLength as defined in libvirt/libvirt-domain.h:4888
DomainSchedFieldLength = TypedParamFieldLength
// DomainBlkioFieldLength as defined in libvirt/libvirt-domain.h:4932
DomainBlkioFieldLength = TypedParamFieldLength
// DomainMemoryFieldLength as defined in libvirt/libvirt-domain.h:4976
DomainMemoryFieldLength = TypedParamFieldLength
// DomainLaunchSecuritySevMeasurement as defined in libvirt/libvirt-domain.h:5102
DomainLaunchSecuritySevMeasurement = "sev-measurement"
// DomainLaunchSecuritySevAPIMajor as defined in libvirt/libvirt-domain.h:5111
DomainLaunchSecuritySevAPIMajor = "sev-api-major"
// DomainLaunchSecuritySevAPIMinor as defined in libvirt/libvirt-domain.h:5119
DomainLaunchSecuritySevAPIMinor = "sev-api-minor"
// DomainLaunchSecuritySevBuildID as defined in libvirt/libvirt-domain.h:5127
DomainLaunchSecuritySevBuildID = "sev-build-id"
// DomainLaunchSecuritySevPolicy as defined in libvirt/libvirt-domain.h:5135
DomainLaunchSecuritySevPolicy = "sev-policy"
// DomainLaunchSecuritySevSecretHeader as defined in libvirt/libvirt-domain.h:5146
DomainLaunchSecuritySevSecretHeader = "sev-secret-header"
// DomainLaunchSecuritySevSecret as defined in libvirt/libvirt-domain.h:5156
DomainLaunchSecuritySevSecret = "sev-secret"
// DomainLaunchSecuritySevSecretSetAddress as defined in libvirt/libvirt-domain.h:5165
DomainLaunchSecuritySevSecretSetAddress = "sev-secret-set-address"
// SecurityLabelBuflen as defined in libvirt/libvirt-host.h:84
SecurityLabelBuflen = (4096 + 1)
// SecurityModelBuflen as defined in libvirt/libvirt-host.h:112
SecurityModelBuflen = (256 + 1)
// SecurityDoiBuflen as defined in libvirt/libvirt-host.h:119
SecurityDoiBuflen = (256 + 1)
// NodeCPUStatsFieldLength as defined in libvirt/libvirt-host.h:180
NodeCPUStatsFieldLength = 80
// NodeCPUStatsKernel as defined in libvirt/libvirt-host.h:197
NodeCPUStatsKernel = "kernel"
// NodeCPUStatsUser as defined in libvirt/libvirt-host.h:205
NodeCPUStatsUser = "user"
// NodeCPUStatsIdle as defined in libvirt/libvirt-host.h:213
NodeCPUStatsIdle = "idle"
// NodeCPUStatsIowait as defined in libvirt/libvirt-host.h:221
NodeCPUStatsIowait = "iowait"
// NodeCPUStatsIntr as defined in libvirt/libvirt-host.h:229
NodeCPUStatsIntr = "intr"
// NodeCPUStatsUtilization as defined in libvirt/libvirt-host.h:238
NodeCPUStatsUtilization = "utilization"
// NodeMemoryStatsFieldLength as defined in libvirt/libvirt-host.h:258
NodeMemoryStatsFieldLength = 80
// NodeMemoryStatsTotal as defined in libvirt/libvirt-host.h:275
NodeMemoryStatsTotal = "total"
// NodeMemoryStatsFree as defined in libvirt/libvirt-host.h:284
NodeMemoryStatsFree = "free"
// NodeMemoryStatsBuffers as defined in libvirt/libvirt-host.h:292
NodeMemoryStatsBuffers = "buffers"
// NodeMemoryStatsCached as defined in libvirt/libvirt-host.h:300
NodeMemoryStatsCached = "cached"
// NodeMemorySharedPagesToScan as defined in libvirt/libvirt-host.h:321
NodeMemorySharedPagesToScan = "shm_pages_to_scan"
// NodeMemorySharedSleepMillisecs as defined in libvirt/libvirt-host.h:329
NodeMemorySharedSleepMillisecs = "shm_sleep_millisecs"
// NodeMemorySharedPagesShared as defined in libvirt/libvirt-host.h:337
NodeMemorySharedPagesShared = "shm_pages_shared"
// NodeMemorySharedPagesSharing as defined in libvirt/libvirt-host.h:345
NodeMemorySharedPagesSharing = "shm_pages_sharing"
// NodeMemorySharedPagesUnshared as defined in libvirt/libvirt-host.h:353
NodeMemorySharedPagesUnshared = "shm_pages_unshared"
// NodeMemorySharedPagesVolatile as defined in libvirt/libvirt-host.h:361
NodeMemorySharedPagesVolatile = "shm_pages_volatile"
// NodeMemorySharedFullScans as defined in libvirt/libvirt-host.h:369
NodeMemorySharedFullScans = "shm_full_scans"
// NodeMemorySharedMergeAcrossNodes as defined in libvirt/libvirt-host.h:381
NodeMemorySharedMergeAcrossNodes = "shm_merge_across_nodes"
// NodeSevPdh as defined in libvirt/libvirt-host.h:449
NodeSevPdh = "pdh"
// NodeSevCertChain as defined in libvirt/libvirt-host.h:458
NodeSevCertChain = "cert-chain"
// NodeSevCbitpos as defined in libvirt/libvirt-host.h:465
NodeSevCbitpos = "cbitpos"
// NodeSevReducedPhysBits as defined in libvirt/libvirt-host.h:473
NodeSevReducedPhysBits = "reduced-phys-bits"
// NodeSevMaxGuests as defined in libvirt/libvirt-host.h:481
NodeSevMaxGuests = "max-guests"
// NodeSevMaxEsGuests as defined in libvirt/libvirt-host.h:489
NodeSevMaxEsGuests = "max-es-guests"
// UUIDBuflen as defined in libvirt/libvirt-host.h:574
UUIDBuflen = (16)
// UUIDStringBuflen as defined in libvirt/libvirt-host.h:583
UUIDStringBuflen = (36 + 1)
// ConnectIdentityUserName as defined in libvirt/libvirt-host.h:608
ConnectIdentityUserName = "user-name"
// ConnectIdentityUnixUserID as defined in libvirt/libvirt-host.h:615
ConnectIdentityUnixUserID = "unix-user-id"
// ConnectIdentityGroupName as defined in libvirt/libvirt-host.h:622
ConnectIdentityGroupName = "group-name"
// ConnectIdentityUnixGroupID as defined in libvirt/libvirt-host.h:629
ConnectIdentityUnixGroupID = "unix-group-id"
// ConnectIdentityProcessID as defined in libvirt/libvirt-host.h:636
ConnectIdentityProcessID = "process-id"
// ConnectIdentityProcessTime as defined in libvirt/libvirt-host.h:647
ConnectIdentityProcessTime = "process-time"
// ConnectIdentitySaslUserName as defined in libvirt/libvirt-host.h:654
ConnectIdentitySaslUserName = "sasl-user-name"
// ConnectIdentityX509DistinguishedName as defined in libvirt/libvirt-host.h:661
ConnectIdentityX509DistinguishedName = "x509-distinguished-name"
// ConnectIdentitySelinuxContext as defined in libvirt/libvirt-host.h:668
ConnectIdentitySelinuxContext = "selinux-context"
// NetworkPortBandwidthInAverage as defined in libvirt/libvirt-network.h:406
NetworkPortBandwidthInAverage = "inbound.average"
// NetworkPortBandwidthInPeak as defined in libvirt/libvirt-network.h:413
NetworkPortBandwidthInPeak = "inbound.peak"
// NetworkPortBandwidthInBurst as defined in libvirt/libvirt-network.h:420
NetworkPortBandwidthInBurst = "inbound.burst"
// NetworkPortBandwidthInFloor as defined in libvirt/libvirt-network.h:427
NetworkPortBandwidthInFloor = "inbound.floor"
// NetworkPortBandwidthOutAverage as defined in libvirt/libvirt-network.h:434
NetworkPortBandwidthOutAverage = "outbound.average"
// NetworkPortBandwidthOutPeak as defined in libvirt/libvirt-network.h:441
NetworkPortBandwidthOutPeak = "outbound.peak"
// NetworkPortBandwidthOutBurst as defined in libvirt/libvirt-network.h:448
NetworkPortBandwidthOutBurst = "outbound.burst"
)
// ConnectCloseReason as declared in libvirt/libvirt-common.h:119
type ConnectCloseReason int32
// ConnectCloseReason enumeration from libvirt/libvirt-common.h:119
const (
ConnectCloseReasonError ConnectCloseReason = iota
ConnectCloseReasonEOF ConnectCloseReason = 1
ConnectCloseReasonKeepalive ConnectCloseReason = 2
ConnectCloseReasonClient ConnectCloseReason = 3
)
// TypedParameterType as declared in libvirt/libvirt-common.h:138
type TypedParameterType int32
// TypedParameterType enumeration from libvirt/libvirt-common.h:138
const (
TypedParamInt TypedParameterType = 1
TypedParamUint TypedParameterType = 2
TypedParamLlong TypedParameterType = 3
TypedParamUllong TypedParameterType = 4
TypedParamDouble TypedParameterType = 5
TypedParamBoolean TypedParameterType = 6
TypedParamString TypedParameterType = 7
)
// TypedParameterFlags as declared in libvirt/libvirt-common.h:163
type TypedParameterFlags int32
// TypedParameterFlags enumeration from libvirt/libvirt-common.h:163
const (
TypedParamStringOkay TypedParameterFlags = 4
)
// DomainCheckpointCreateFlags as declared in libvirt/libvirt-domain-checkpoint.h:62
type DomainCheckpointCreateFlags int32
// DomainCheckpointCreateFlags enumeration from libvirt/libvirt-domain-checkpoint.h:62
const (
DomainCheckpointCreateRedefine DomainCheckpointCreateFlags = 1
DomainCheckpointCreateQuiesce DomainCheckpointCreateFlags = 2
DomainCheckpointCreateRedefineValidate DomainCheckpointCreateFlags = 4
)
// DomainCheckpointXMLFlags as declared in libvirt/libvirt-domain-checkpoint.h:75
type DomainCheckpointXMLFlags int32
// DomainCheckpointXMLFlags enumeration from libvirt/libvirt-domain-checkpoint.h:75
const (
DomainCheckpointXMLSecure DomainCheckpointXMLFlags = 1
DomainCheckpointXMLNoDomain DomainCheckpointXMLFlags = 2
DomainCheckpointXMLSize DomainCheckpointXMLFlags = 4
)
// DomainCheckpointListFlags as declared in libvirt/libvirt-domain-checkpoint.h:105
type DomainCheckpointListFlags int32
// DomainCheckpointListFlags enumeration from libvirt/libvirt-domain-checkpoint.h:105
const (
DomainCheckpointListRoots DomainCheckpointListFlags = 1
DomainCheckpointListDescendants DomainCheckpointListFlags = 1
DomainCheckpointListTopological DomainCheckpointListFlags = 2
DomainCheckpointListLeaves DomainCheckpointListFlags = 4
DomainCheckpointListNoLeaves DomainCheckpointListFlags = 8
)
// DomainCheckpointDeleteFlags as declared in libvirt/libvirt-domain-checkpoint.h:131
type DomainCheckpointDeleteFlags int32
// DomainCheckpointDeleteFlags enumeration from libvirt/libvirt-domain-checkpoint.h:131
const (
DomainCheckpointDeleteChildren DomainCheckpointDeleteFlags = 1
DomainCheckpointDeleteMetadataOnly DomainCheckpointDeleteFlags = 2
DomainCheckpointDeleteChildrenOnly DomainCheckpointDeleteFlags = 4
)
// DomainSnapshotCreateFlags as declared in libvirt/libvirt-domain-snapshot.h:76
type DomainSnapshotCreateFlags int32
// DomainSnapshotCreateFlags enumeration from libvirt/libvirt-domain-snapshot.h:76
const (
DomainSnapshotCreateRedefine DomainSnapshotCreateFlags = 1
DomainSnapshotCreateCurrent DomainSnapshotCreateFlags = 2
DomainSnapshotCreateNoMetadata DomainSnapshotCreateFlags = 4
DomainSnapshotCreateHalt DomainSnapshotCreateFlags = 8
DomainSnapshotCreateDiskOnly DomainSnapshotCreateFlags = 16
DomainSnapshotCreateReuseExt DomainSnapshotCreateFlags = 32
DomainSnapshotCreateQuiesce DomainSnapshotCreateFlags = 64
DomainSnapshotCreateAtomic DomainSnapshotCreateFlags = 128
DomainSnapshotCreateLive DomainSnapshotCreateFlags = 256
DomainSnapshotCreateValidate DomainSnapshotCreateFlags = 512
)
// DomainSnapshotXMLFlags as declared in libvirt/libvirt-domain-snapshot.h:85
type DomainSnapshotXMLFlags int32
// DomainSnapshotXMLFlags enumeration from libvirt/libvirt-domain-snapshot.h:85
const (
DomainSnapshotXMLSecure DomainSnapshotXMLFlags = 1
)
// DomainSnapshotListFlags as declared in libvirt/libvirt-domain-snapshot.h:144
type DomainSnapshotListFlags int32
// DomainSnapshotListFlags enumeration from libvirt/libvirt-domain-snapshot.h:144
const (
DomainSnapshotListRoots DomainSnapshotListFlags = 1
DomainSnapshotListDescendants DomainSnapshotListFlags = 1
DomainSnapshotListLeaves DomainSnapshotListFlags = 4
DomainSnapshotListNoLeaves DomainSnapshotListFlags = 8
DomainSnapshotListMetadata DomainSnapshotListFlags = 2
DomainSnapshotListNoMetadata DomainSnapshotListFlags = 16
DomainSnapshotListInactive DomainSnapshotListFlags = 32
DomainSnapshotListActive DomainSnapshotListFlags = 64
DomainSnapshotListDiskOnly DomainSnapshotListFlags = 128
DomainSnapshotListInternal DomainSnapshotListFlags = 256
DomainSnapshotListExternal DomainSnapshotListFlags = 512
DomainSnapshotListTopological DomainSnapshotListFlags = 1024
)
// DomainSnapshotRevertFlags as declared in libvirt/libvirt-domain-snapshot.h:201
type DomainSnapshotRevertFlags int32
// DomainSnapshotRevertFlags enumeration from libvirt/libvirt-domain-snapshot.h:201
const (
DomainSnapshotRevertRunning DomainSnapshotRevertFlags = 1
DomainSnapshotRevertPaused DomainSnapshotRevertFlags = 2
DomainSnapshotRevertForce DomainSnapshotRevertFlags = 4
)
// DomainSnapshotDeleteFlags as declared in libvirt/libvirt-domain-snapshot.h:215
type DomainSnapshotDeleteFlags int32
// DomainSnapshotDeleteFlags enumeration from libvirt/libvirt-domain-snapshot.h:215
const (
DomainSnapshotDeleteChildren DomainSnapshotDeleteFlags = 1
DomainSnapshotDeleteMetadataOnly DomainSnapshotDeleteFlags = 2
DomainSnapshotDeleteChildrenOnly DomainSnapshotDeleteFlags = 4
)
// DomainState as declared in libvirt/libvirt-domain.h:70
type DomainState int32
// DomainState enumeration from libvirt/libvirt-domain.h:70
const (
DomainNostate DomainState = iota
DomainRunning DomainState = 1
DomainBlocked DomainState = 2
DomainPaused DomainState = 3
DomainShutdown DomainState = 4
DomainShutoff DomainState = 5
DomainCrashed DomainState = 6
DomainPmsuspended DomainState = 7
)
// DomainNostateReason as declared in libvirt/libvirt-domain.h:78
type DomainNostateReason int32
// DomainNostateReason enumeration from libvirt/libvirt-domain.h:78
const (
DomainNostateUnknown DomainNostateReason = iota
)
// DomainRunningReason as declared in libvirt/libvirt-domain.h:97
type DomainRunningReason int32
// DomainRunningReason enumeration from libvirt/libvirt-domain.h:97
const (
DomainRunningUnknown DomainRunningReason = iota
DomainRunningBooted DomainRunningReason = 1
DomainRunningMigrated DomainRunningReason = 2
DomainRunningRestored DomainRunningReason = 3
DomainRunningFromSnapshot DomainRunningReason = 4
DomainRunningUnpaused DomainRunningReason = 5
DomainRunningMigrationCanceled DomainRunningReason = 6
DomainRunningSaveCanceled DomainRunningReason = 7
DomainRunningWakeup DomainRunningReason = 8
DomainRunningCrashed DomainRunningReason = 9
DomainRunningPostcopy DomainRunningReason = 10
)
// DomainBlockedReason as declared in libvirt/libvirt-domain.h:105
type DomainBlockedReason int32
// DomainBlockedReason enumeration from libvirt/libvirt-domain.h:105
const (
DomainBlockedUnknown DomainBlockedReason = iota
)
// DomainPausedReason as declared in libvirt/libvirt-domain.h:126
type DomainPausedReason int32
// DomainPausedReason enumeration from libvirt/libvirt-domain.h:126
const (
DomainPausedUnknown DomainPausedReason = iota
DomainPausedUser DomainPausedReason = 1
DomainPausedMigration DomainPausedReason = 2
DomainPausedSave DomainPausedReason = 3
DomainPausedDump DomainPausedReason = 4
DomainPausedIoerror DomainPausedReason = 5
DomainPausedWatchdog DomainPausedReason = 6
DomainPausedFromSnapshot DomainPausedReason = 7
DomainPausedShuttingDown DomainPausedReason = 8
DomainPausedSnapshot DomainPausedReason = 9
DomainPausedCrashed DomainPausedReason = 10
DomainPausedStartingUp DomainPausedReason = 11
DomainPausedPostcopy DomainPausedReason = 12
DomainPausedPostcopyFailed DomainPausedReason = 13
)
// DomainShutdownReason as declared in libvirt/libvirt-domain.h:135
type DomainShutdownReason int32
// DomainShutdownReason enumeration from libvirt/libvirt-domain.h:135
const (
DomainShutdownUnknown DomainShutdownReason = iota
DomainShutdownUser DomainShutdownReason = 1
)
// DomainShutoffReason as declared in libvirt/libvirt-domain.h:152
type DomainShutoffReason int32
// DomainShutoffReason enumeration from libvirt/libvirt-domain.h:152
const (
DomainShutoffUnknown DomainShutoffReason = iota
DomainShutoffShutdown DomainShutoffReason = 1
DomainShutoffDestroyed DomainShutoffReason = 2
DomainShutoffCrashed DomainShutoffReason = 3
DomainShutoffMigrated DomainShutoffReason = 4
DomainShutoffSaved DomainShutoffReason = 5
DomainShutoffFailed DomainShutoffReason = 6
DomainShutoffFromSnapshot DomainShutoffReason = 7
DomainShutoffDaemon DomainShutoffReason = 8
)
// DomainCrashedReason as declared in libvirt/libvirt-domain.h:161
type DomainCrashedReason int32
// DomainCrashedReason enumeration from libvirt/libvirt-domain.h:161
const (
DomainCrashedUnknown DomainCrashedReason = iota
DomainCrashedPanicked DomainCrashedReason = 1
)
// DomainPMSuspendedReason as declared in libvirt/libvirt-domain.h:169
type DomainPMSuspendedReason int32
// DomainPMSuspendedReason enumeration from libvirt/libvirt-domain.h:169
const (
DomainPmsuspendedUnknown DomainPMSuspendedReason = iota
)
// DomainPMSuspendedDiskReason as declared in libvirt/libvirt-domain.h:177
type DomainPMSuspendedDiskReason int32
// DomainPMSuspendedDiskReason enumeration from libvirt/libvirt-domain.h:177
const (
DomainPmsuspendedDiskUnknown DomainPMSuspendedDiskReason = iota
)
// DomainControlState as declared in libvirt/libvirt-domain.h:197
type DomainControlState int32
// DomainControlState enumeration from libvirt/libvirt-domain.h:197
const (
DomainControlOk DomainControlState = iota
DomainControlJob DomainControlState = 1
DomainControlOccupied DomainControlState = 2
DomainControlError DomainControlState = 3
)
// DomainControlErrorReason as declared in libvirt/libvirt-domain.h:217
type DomainControlErrorReason int32
// DomainControlErrorReason enumeration from libvirt/libvirt-domain.h:217
const (
DomainControlErrorReasonNone DomainControlErrorReason = iota
DomainControlErrorReasonUnknown DomainControlErrorReason = 1
DomainControlErrorReasonMonitor DomainControlErrorReason = 2
DomainControlErrorReasonInternal DomainControlErrorReason = 3
)
// DomainModificationImpact as declared in libvirt/libvirt-domain.h:265
type DomainModificationImpact int32
// DomainModificationImpact enumeration from libvirt/libvirt-domain.h:265
const (
DomainAffectCurrent DomainModificationImpact = iota
DomainAffectLive DomainModificationImpact = 1
DomainAffectConfig DomainModificationImpact = 2
)
// DomainCreateFlags as declared in libvirt/libvirt-domain.h:305
type DomainCreateFlags int32
// DomainCreateFlags enumeration from libvirt/libvirt-domain.h:305
const (
DomainNone DomainCreateFlags = iota
DomainStartPaused DomainCreateFlags = 1
DomainStartAutodestroy DomainCreateFlags = 2
DomainStartBypassCache DomainCreateFlags = 4
DomainStartForceBoot DomainCreateFlags = 8
DomainStartValidate DomainCreateFlags = 16
)
// DomainMemoryStatTags as declared in libvirt/libvirt-domain.h:660
type DomainMemoryStatTags int32
// DomainMemoryStatTags enumeration from libvirt/libvirt-domain.h:660
const (
DomainMemoryStatSwapIn DomainMemoryStatTags = iota
DomainMemoryStatSwapOut DomainMemoryStatTags = 1
DomainMemoryStatMajorFault DomainMemoryStatTags = 2
DomainMemoryStatMinorFault DomainMemoryStatTags = 3
DomainMemoryStatUnused DomainMemoryStatTags = 4
DomainMemoryStatAvailable DomainMemoryStatTags = 5
DomainMemoryStatActualBalloon DomainMemoryStatTags = 6
DomainMemoryStatRss DomainMemoryStatTags = 7
DomainMemoryStatUsable DomainMemoryStatTags = 8
DomainMemoryStatLastUpdate DomainMemoryStatTags = 9
DomainMemoryStatDiskCaches DomainMemoryStatTags = 10
DomainMemoryStatHugetlbPgalloc DomainMemoryStatTags = 11
DomainMemoryStatHugetlbPgfail DomainMemoryStatTags = 12
DomainMemoryStatNr DomainMemoryStatTags = 13
)
// DomainCoreDumpFlags as declared in libvirt/libvirt-domain.h:679
type DomainCoreDumpFlags int32
// DomainCoreDumpFlags enumeration from libvirt/libvirt-domain.h:679
const (
DumpCrash DomainCoreDumpFlags = 1
DumpLive DomainCoreDumpFlags = 2
DumpBypassCache DomainCoreDumpFlags = 4
DumpReset DomainCoreDumpFlags = 8
DumpMemoryOnly DomainCoreDumpFlags = 16
)
// DomainCoreDumpFormat as declared in libvirt/libvirt-domain.h:703
type DomainCoreDumpFormat int32
// DomainCoreDumpFormat enumeration from libvirt/libvirt-domain.h:703
const (
DomainCoreDumpFormatRaw DomainCoreDumpFormat = iota
DomainCoreDumpFormatKdumpZlib DomainCoreDumpFormat = 1
DomainCoreDumpFormatKdumpLzo DomainCoreDumpFormat = 2
DomainCoreDumpFormatKdumpSnappy DomainCoreDumpFormat = 3
DomainCoreDumpFormatWinDmp DomainCoreDumpFormat = 4
)
// DomainMigrateFlags as declared in libvirt/libvirt-domain.h:863
type DomainMigrateFlags int32
// DomainMigrateFlags enumeration from libvirt/libvirt-domain.h:863
const (
MigrateLive DomainMigrateFlags = 1
MigratePeer2peer DomainMigrateFlags = 2
MigrateTunnelled DomainMigrateFlags = 4
MigratePersistDest DomainMigrateFlags = 8
MigrateUndefineSource DomainMigrateFlags = 16
MigratePaused DomainMigrateFlags = 32
MigrateNonSharedDisk DomainMigrateFlags = 64
MigrateNonSharedInc DomainMigrateFlags = 128
MigrateChangeProtection DomainMigrateFlags = 256
MigrateUnsafe DomainMigrateFlags = 512
MigrateOffline DomainMigrateFlags = 1024
MigrateCompressed DomainMigrateFlags = 2048
MigrateAbortOnError DomainMigrateFlags = 4096
MigrateAutoConverge DomainMigrateFlags = 8192
MigrateRdmaPinAll DomainMigrateFlags = 16384
MigratePostcopy DomainMigrateFlags = 32768
MigrateTLS DomainMigrateFlags = 65536
MigrateParallel DomainMigrateFlags = 131072
MigrateNonSharedSynchronousWrites DomainMigrateFlags = 262144
)
// DomainMigrateMaxSpeedFlags as declared in libvirt/libvirt-domain.h:1142
type DomainMigrateMaxSpeedFlags int32
// DomainMigrateMaxSpeedFlags enumeration from libvirt/libvirt-domain.h:1142
const (
DomainMigrateMaxSpeedPostcopy DomainMigrateMaxSpeedFlags = 1
)
// DomainShutdownFlagValues as declared in libvirt/libvirt-domain.h:1208
type DomainShutdownFlagValues int32
// DomainShutdownFlagValues enumeration from libvirt/libvirt-domain.h:1208
const (
DomainShutdownDefault DomainShutdownFlagValues = iota
DomainShutdownAcpiPowerBtn DomainShutdownFlagValues = 1
DomainShutdownGuestAgent DomainShutdownFlagValues = 2
DomainShutdownInitctl DomainShutdownFlagValues = 4
DomainShutdownSignal DomainShutdownFlagValues = 8
DomainShutdownParavirt DomainShutdownFlagValues = 16
)
// DomainRebootFlagValues as declared in libvirt/libvirt-domain.h:1221
type DomainRebootFlagValues int32
// DomainRebootFlagValues enumeration from libvirt/libvirt-domain.h:1221
const (
DomainRebootDefault DomainRebootFlagValues = iota
DomainRebootAcpiPowerBtn DomainRebootFlagValues = 1
DomainRebootGuestAgent DomainRebootFlagValues = 2
DomainRebootInitctl DomainRebootFlagValues = 4
DomainRebootSignal DomainRebootFlagValues = 8
DomainRebootParavirt DomainRebootFlagValues = 16
)
// DomainDestroyFlagsValues as declared in libvirt/libvirt-domain.h:1239
type DomainDestroyFlagsValues int32
// DomainDestroyFlagsValues enumeration from libvirt/libvirt-domain.h:1239
const (
DomainDestroyDefault DomainDestroyFlagsValues = iota
DomainDestroyGraceful DomainDestroyFlagsValues = 1
)
// DomainSaveRestoreFlags as declared in libvirt/libvirt-domain.h:1271
type DomainSaveRestoreFlags int32
// DomainSaveRestoreFlags enumeration from libvirt/libvirt-domain.h:1271
const (
DomainSaveBypassCache DomainSaveRestoreFlags = 1
DomainSaveRunning DomainSaveRestoreFlags = 2
DomainSavePaused DomainSaveRestoreFlags = 4
)
// DomainMemoryModFlags as declared in libvirt/libvirt-domain.h:1527
type DomainMemoryModFlags int32
// DomainMemoryModFlags enumeration from libvirt/libvirt-domain.h:1527
const (
DomainMemCurrent DomainMemoryModFlags = iota
DomainMemLive DomainMemoryModFlags = 1
DomainMemConfig DomainMemoryModFlags = 2
DomainMemMaximum DomainMemoryModFlags = 4
)
// DomainNumatuneMemMode as declared in libvirt/libvirt-domain.h:1546
type DomainNumatuneMemMode int32
// DomainNumatuneMemMode enumeration from libvirt/libvirt-domain.h:1546
const (
DomainNumatuneMemStrict DomainNumatuneMemMode = iota
DomainNumatuneMemPreferred DomainNumatuneMemMode = 1
DomainNumatuneMemInterleave DomainNumatuneMemMode = 2
DomainNumatuneMemRestrictive DomainNumatuneMemMode = 3
)
// DomainGetHostnameFlags as declared in libvirt/libvirt-domain.h:1599
type DomainGetHostnameFlags int32
// DomainGetHostnameFlags enumeration from libvirt/libvirt-domain.h:1599
const (
DomainGetHostnameLease DomainGetHostnameFlags = 1
DomainGetHostnameAgent DomainGetHostnameFlags = 2
)
// DomainMetadataType as declared in libvirt/libvirt-domain.h:1614
type DomainMetadataType int32
// DomainMetadataType enumeration from libvirt/libvirt-domain.h:1614
const (
DomainMetadataDescription DomainMetadataType = iota
DomainMetadataTitle DomainMetadataType = 1
DomainMetadataElement DomainMetadataType = 2
)
// DomainXMLFlags as declared in libvirt/libvirt-domain.h:1644
type DomainXMLFlags int32
// DomainXMLFlags enumeration from libvirt/libvirt-domain.h:1644
const (
DomainXMLSecure DomainXMLFlags = 1
DomainXMLInactive DomainXMLFlags = 2
DomainXMLUpdateCPU DomainXMLFlags = 4
DomainXMLMigratable DomainXMLFlags = 8
)
// DomainSaveImageXMLFlags as declared in libvirt/libvirt-domain.h:1648
type DomainSaveImageXMLFlags int32