forked from digitalocean/go-libvirt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.gen.go
2500 lines (2187 loc) · 105 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
863
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 (
// ExportVar as defined in libvirt/libvirt-common.h:57
ExportVar = 0
// TypedParamFieldLength as defined in libvirt/libvirt-common.h:170
TypedParamFieldLength = 80
// SecurityLabelBuflen as defined in libvirt/libvirt-host.h:84
SecurityLabelBuflen = 4097
// SecurityModelBuflen as defined in libvirt/libvirt-host.h:112
SecurityModelBuflen = 257
// SecurityDoiBuflen as defined in libvirt/libvirt-host.h:119
SecurityDoiBuflen = 257
// 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"
// UUIDBuflen as defined in libvirt/libvirt-host.h:558
UUIDBuflen = 16
// UUIDStringBuflen as defined in libvirt/libvirt-host.h:567
UUIDStringBuflen = 37
// ConnectIdentityUserName as defined in libvirt/libvirt-host.h:592
ConnectIdentityUserName = "user-name"
// ConnectIdentityUnixUserID as defined in libvirt/libvirt-host.h:599
ConnectIdentityUnixUserID = "unix-user-id"
// ConnectIdentityGroupName as defined in libvirt/libvirt-host.h:606
ConnectIdentityGroupName = "group-name"
// ConnectIdentityUnixGroupID as defined in libvirt/libvirt-host.h:613
ConnectIdentityUnixGroupID = "unix-group-id"
// ConnectIdentityProcessID as defined in libvirt/libvirt-host.h:620
ConnectIdentityProcessID = "process-id"
// ConnectIdentityProcessTime as defined in libvirt/libvirt-host.h:631
ConnectIdentityProcessTime = "process-time"
// ConnectIdentitySaslUserName as defined in libvirt/libvirt-host.h:638
ConnectIdentitySaslUserName = "sasl-user-name"
// ConnectIdentityX509DistinguishedName as defined in libvirt/libvirt-host.h:645
ConnectIdentityX509DistinguishedName = "x509-distinguished-name"
// ConnectIdentitySelinuxContext as defined in libvirt/libvirt-host.h:652
ConnectIdentitySelinuxContext = "selinux-context"
// 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 = 80
// 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:868
MigrateParamURI = "migrate_uri"
// MigrateParamDestName as defined in libvirt/libvirt-domain.h:878
MigrateParamDestName = "destination_name"
// MigrateParamDestXML as defined in libvirt/libvirt-domain.h:897
MigrateParamDestXML = "destination_xml"
// MigrateParamPersistXML as defined in libvirt/libvirt-domain.h:912
MigrateParamPersistXML = "persistent_xml"
// MigrateParamBandwidth as defined in libvirt/libvirt-domain.h:922
MigrateParamBandwidth = "bandwidth"
// MigrateParamBandwidthPostcopy as defined in libvirt/libvirt-domain.h:931
MigrateParamBandwidthPostcopy = "bandwidth.postcopy"
// MigrateParamGraphicsURI as defined in libvirt/libvirt-domain.h:952
MigrateParamGraphicsURI = "graphics_uri"
// MigrateParamListenAddress as defined in libvirt/libvirt-domain.h:963
MigrateParamListenAddress = "listen_address"
// MigrateParamMigrateDisks as defined in libvirt/libvirt-domain.h:972
MigrateParamMigrateDisks = "migrate_disks"
// MigrateParamDisksPort as defined in libvirt/libvirt-domain.h:982
MigrateParamDisksPort = "disks_port"
// MigrateParamDisksURI as defined in libvirt/libvirt-domain.h:995
MigrateParamDisksURI = "disks_uri"
// MigrateParamCompression as defined in libvirt/libvirt-domain.h:1005
MigrateParamCompression = "compression"
// MigrateParamCompressionMtLevel as defined in libvirt/libvirt-domain.h:1014
MigrateParamCompressionMtLevel = "compression.mt.level"
// MigrateParamCompressionMtThreads as defined in libvirt/libvirt-domain.h:1022
MigrateParamCompressionMtThreads = "compression.mt.threads"
// MigrateParamCompressionMtDthreads as defined in libvirt/libvirt-domain.h:1030
MigrateParamCompressionMtDthreads = "compression.mt.dthreads"
// MigrateParamCompressionXbzrleCache as defined in libvirt/libvirt-domain.h:1038
MigrateParamCompressionXbzrleCache = "compression.xbzrle.cache"
// MigrateParamAutoConvergeInitial as defined in libvirt/libvirt-domain.h:1047
MigrateParamAutoConvergeInitial = "auto_converge.initial"
// MigrateParamAutoConvergeIncrement as defined in libvirt/libvirt-domain.h:1057
MigrateParamAutoConvergeIncrement = "auto_converge.increment"
// MigrateParamParallelConnections as defined in libvirt/libvirt-domain.h:1065
MigrateParamParallelConnections = "parallel.connections"
// MigrateParamTLSDestination as defined in libvirt/libvirt-domain.h:1079
MigrateParamTLSDestination = "tls.destination"
// MigrateParamSuseMaxIters as defined in libvirt/libvirt-domain.h:1086
MigrateParamSuseMaxIters = "max_iters"
// MigrateParamSuseMinRemaining as defined in libvirt/libvirt-domain.h:1092
MigrateParamSuseMinRemaining = "min_remaining"
// MigrateParamSuseAbortIfBusy as defined in libvirt/libvirt-domain.h:1098
MigrateParamSuseAbortIfBusy = "abort_if_busy"
// DomainCPUStatsCputime as defined in libvirt/libvirt-domain.h:1358
DomainCPUStatsCputime = "cpu_time"
// DomainCPUStatsUsertime as defined in libvirt/libvirt-domain.h:1364
DomainCPUStatsUsertime = "user_time"
// DomainCPUStatsSystemtime as defined in libvirt/libvirt-domain.h:1370
DomainCPUStatsSystemtime = "system_time"
// DomainCPUStatsVcputime as defined in libvirt/libvirt-domain.h:1377
DomainCPUStatsVcputime = "vcpu_time"
// DomainBlkioWeight as defined in libvirt/libvirt-domain.h:1406
DomainBlkioWeight = "weight"
// DomainBlkioDeviceWeight as defined in libvirt/libvirt-domain.h:1416
DomainBlkioDeviceWeight = "device_weight"
// DomainBlkioDeviceReadIops as defined in libvirt/libvirt-domain.h:1427
DomainBlkioDeviceReadIops = "device_read_iops_sec"
// DomainBlkioDeviceWriteIops as defined in libvirt/libvirt-domain.h:1438
DomainBlkioDeviceWriteIops = "device_write_iops_sec"
// DomainBlkioDeviceReadBps as defined in libvirt/libvirt-domain.h:1449
DomainBlkioDeviceReadBps = "device_read_bytes_sec"
// DomainBlkioDeviceWriteBps as defined in libvirt/libvirt-domain.h:1460
DomainBlkioDeviceWriteBps = "device_write_bytes_sec"
// DomainMemoryParamUnlimited as defined in libvirt/libvirt-domain.h:1479
DomainMemoryParamUnlimited = 9007199254740991
// DomainMemoryHardLimit as defined in libvirt/libvirt-domain.h:1488
DomainMemoryHardLimit = "hard_limit"
// DomainMemorySoftLimit as defined in libvirt/libvirt-domain.h:1497
DomainMemorySoftLimit = "soft_limit"
// DomainMemoryMinGuarantee as defined in libvirt/libvirt-domain.h:1506
DomainMemoryMinGuarantee = "min_guarantee"
// DomainMemorySwapHardLimit as defined in libvirt/libvirt-domain.h:1516
DomainMemorySwapHardLimit = "swap_hard_limit"
// DomainNumaNodeset as defined in libvirt/libvirt-domain.h:1561
DomainNumaNodeset = "numa_nodeset"
// DomainNumaMode as defined in libvirt/libvirt-domain.h:1569
DomainNumaMode = "numa_mode"
// DomainBandwidthInAverage as defined in libvirt/libvirt-domain.h:1691
DomainBandwidthInAverage = "inbound.average"
// DomainBandwidthInPeak as defined in libvirt/libvirt-domain.h:1698
DomainBandwidthInPeak = "inbound.peak"
// DomainBandwidthInBurst as defined in libvirt/libvirt-domain.h:1705
DomainBandwidthInBurst = "inbound.burst"
// DomainBandwidthInFloor as defined in libvirt/libvirt-domain.h:1712
DomainBandwidthInFloor = "inbound.floor"
// DomainBandwidthOutAverage as defined in libvirt/libvirt-domain.h:1719
DomainBandwidthOutAverage = "outbound.average"
// DomainBandwidthOutPeak as defined in libvirt/libvirt-domain.h:1726
DomainBandwidthOutPeak = "outbound.peak"
// DomainBandwidthOutBurst as defined in libvirt/libvirt-domain.h:1733
DomainBandwidthOutBurst = "outbound.burst"
// DomainIothreadPollMaxNs as defined in libvirt/libvirt-domain.h:2038
DomainIothreadPollMaxNs = "poll_max_ns"
// DomainIothreadPollGrow as defined in libvirt/libvirt-domain.h:2048
DomainIothreadPollGrow = "poll_grow"
// DomainIothreadPollShrink as defined in libvirt/libvirt-domain.h:2059
DomainIothreadPollShrink = "poll_shrink"
// PerfParamCmt as defined in libvirt/libvirt-domain.h:2251
PerfParamCmt = "cmt"
// PerfParamMbmt as defined in libvirt/libvirt-domain.h:2262
PerfParamMbmt = "mbmt"
// PerfParamMbml as defined in libvirt/libvirt-domain.h:2272
PerfParamMbml = "mbml"
// PerfParamCacheMisses as defined in libvirt/libvirt-domain.h:2282
PerfParamCacheMisses = "cache_misses"
// PerfParamCacheReferences as defined in libvirt/libvirt-domain.h:2292
PerfParamCacheReferences = "cache_references"
// PerfParamInstructions as defined in libvirt/libvirt-domain.h:2302
PerfParamInstructions = "instructions"
// PerfParamCPUCycles as defined in libvirt/libvirt-domain.h:2312
PerfParamCPUCycles = "cpu_cycles"
// PerfParamBranchInstructions as defined in libvirt/libvirt-domain.h:2322
PerfParamBranchInstructions = "branch_instructions"
// PerfParamBranchMisses as defined in libvirt/libvirt-domain.h:2332
PerfParamBranchMisses = "branch_misses"
// PerfParamBusCycles as defined in libvirt/libvirt-domain.h:2342
PerfParamBusCycles = "bus_cycles"
// PerfParamStalledCyclesFrontend as defined in libvirt/libvirt-domain.h:2353
PerfParamStalledCyclesFrontend = "stalled_cycles_frontend"
// PerfParamStalledCyclesBackend as defined in libvirt/libvirt-domain.h:2364
PerfParamStalledCyclesBackend = "stalled_cycles_backend"
// PerfParamRefCPUCycles as defined in libvirt/libvirt-domain.h:2375
PerfParamRefCPUCycles = "ref_cpu_cycles"
// PerfParamCPUClock as defined in libvirt/libvirt-domain.h:2386
PerfParamCPUClock = "cpu_clock"
// PerfParamTaskClock as defined in libvirt/libvirt-domain.h:2397
PerfParamTaskClock = "task_clock"
// PerfParamPageFaults as defined in libvirt/libvirt-domain.h:2407
PerfParamPageFaults = "page_faults"
// PerfParamContextSwitches as defined in libvirt/libvirt-domain.h:2417
PerfParamContextSwitches = "context_switches"
// PerfParamCPUMigrations as defined in libvirt/libvirt-domain.h:2427
PerfParamCPUMigrations = "cpu_migrations"
// PerfParamPageFaultsMin as defined in libvirt/libvirt-domain.h:2437
PerfParamPageFaultsMin = "page_faults_min"
// PerfParamPageFaultsMaj as defined in libvirt/libvirt-domain.h:2447
PerfParamPageFaultsMaj = "page_faults_maj"
// PerfParamAlignmentFaults as defined in libvirt/libvirt-domain.h:2457
PerfParamAlignmentFaults = "alignment_faults"
// PerfParamEmulationFaults as defined in libvirt/libvirt-domain.h:2467
PerfParamEmulationFaults = "emulation_faults"
// DomainBlockCopyBandwidth as defined in libvirt/libvirt-domain.h:2635
DomainBlockCopyBandwidth = "bandwidth"
// DomainBlockCopyGranularity as defined in libvirt/libvirt-domain.h:2646
DomainBlockCopyGranularity = "granularity"
// DomainBlockCopyBufSize as defined in libvirt/libvirt-domain.h:2655
DomainBlockCopyBufSize = "buf-size"
// DomainBlockIotuneTotalBytesSec as defined in libvirt/libvirt-domain.h:2696
DomainBlockIotuneTotalBytesSec = "total_bytes_sec"
// DomainBlockIotuneReadBytesSec as defined in libvirt/libvirt-domain.h:2704
DomainBlockIotuneReadBytesSec = "read_bytes_sec"
// DomainBlockIotuneWriteBytesSec as defined in libvirt/libvirt-domain.h:2712
DomainBlockIotuneWriteBytesSec = "write_bytes_sec"
// DomainBlockIotuneTotalIopsSec as defined in libvirt/libvirt-domain.h:2720
DomainBlockIotuneTotalIopsSec = "total_iops_sec"
// DomainBlockIotuneReadIopsSec as defined in libvirt/libvirt-domain.h:2728
DomainBlockIotuneReadIopsSec = "read_iops_sec"
// DomainBlockIotuneWriteIopsSec as defined in libvirt/libvirt-domain.h:2735
DomainBlockIotuneWriteIopsSec = "write_iops_sec"
// DomainBlockIotuneTotalBytesSecMax as defined in libvirt/libvirt-domain.h:2743
DomainBlockIotuneTotalBytesSecMax = "total_bytes_sec_max"
// DomainBlockIotuneReadBytesSecMax as defined in libvirt/libvirt-domain.h:2751
DomainBlockIotuneReadBytesSecMax = "read_bytes_sec_max"
// DomainBlockIotuneWriteBytesSecMax as defined in libvirt/libvirt-domain.h:2759
DomainBlockIotuneWriteBytesSecMax = "write_bytes_sec_max"
// DomainBlockIotuneTotalIopsSecMax as defined in libvirt/libvirt-domain.h:2767
DomainBlockIotuneTotalIopsSecMax = "total_iops_sec_max"
// DomainBlockIotuneReadIopsSecMax as defined in libvirt/libvirt-domain.h:2775
DomainBlockIotuneReadIopsSecMax = "read_iops_sec_max"
// DomainBlockIotuneWriteIopsSecMax as defined in libvirt/libvirt-domain.h:2782
DomainBlockIotuneWriteIopsSecMax = "write_iops_sec_max"
// DomainBlockIotuneTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2790
DomainBlockIotuneTotalBytesSecMaxLength = "total_bytes_sec_max_length"
// DomainBlockIotuneReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2798
DomainBlockIotuneReadBytesSecMaxLength = "read_bytes_sec_max_length"
// DomainBlockIotuneWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2806
DomainBlockIotuneWriteBytesSecMaxLength = "write_bytes_sec_max_length"
// DomainBlockIotuneTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2814
DomainBlockIotuneTotalIopsSecMaxLength = "total_iops_sec_max_length"
// DomainBlockIotuneReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2822
DomainBlockIotuneReadIopsSecMaxLength = "read_iops_sec_max_length"
// DomainBlockIotuneWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2830
DomainBlockIotuneWriteIopsSecMaxLength = "write_iops_sec_max_length"
// DomainBlockIotuneSizeIopsSec as defined in libvirt/libvirt-domain.h:2837
DomainBlockIotuneSizeIopsSec = "size_iops_sec"
// DomainBlockIotuneGroupName as defined in libvirt/libvirt-domain.h:2844
DomainBlockIotuneGroupName = "group_name"
// KeycodeSetRfb as defined in libvirt/libvirt-domain.h:2925
KeycodeSetRfb = 0
// DomainSendKeyMaxKeys as defined in libvirt/libvirt-domain.h:2932
DomainSendKeyMaxKeys = 16
// DomainJobOperationStr as defined in libvirt/libvirt-domain.h:3406
DomainJobOperationStr = "operation"
// DomainJobTimeElapsed as defined in libvirt/libvirt-domain.h:3416
DomainJobTimeElapsed = "time_elapsed"
// DomainJobTimeElapsedNet as defined in libvirt/libvirt-domain.h:3426
DomainJobTimeElapsedNet = "time_elapsed_net"
// DomainJobTimeRemaining as defined in libvirt/libvirt-domain.h:3436
DomainJobTimeRemaining = "time_remaining"
// DomainJobDowntime as defined in libvirt/libvirt-domain.h:3446
DomainJobDowntime = "downtime"
// DomainJobDowntimeNet as defined in libvirt/libvirt-domain.h:3455
DomainJobDowntimeNet = "downtime_net"
// DomainJobSetupTime as defined in libvirt/libvirt-domain.h:3464
DomainJobSetupTime = "setup_time"
// DomainJobDataTotal as defined in libvirt/libvirt-domain.h:3479
DomainJobDataTotal = "data_total"
// DomainJobDataProcessed as defined in libvirt/libvirt-domain.h:3489
DomainJobDataProcessed = "data_processed"
// DomainJobDataRemaining as defined in libvirt/libvirt-domain.h:3499
DomainJobDataRemaining = "data_remaining"
// DomainJobMemoryTotal as defined in libvirt/libvirt-domain.h:3509
DomainJobMemoryTotal = "memory_total"
// DomainJobMemoryProcessed as defined in libvirt/libvirt-domain.h:3519
DomainJobMemoryProcessed = "memory_processed"
// DomainJobMemoryRemaining as defined in libvirt/libvirt-domain.h:3529
DomainJobMemoryRemaining = "memory_remaining"
// DomainJobMemoryConstant as defined in libvirt/libvirt-domain.h:3541
DomainJobMemoryConstant = "memory_constant"
// DomainJobMemoryNormal as defined in libvirt/libvirt-domain.h:3551
DomainJobMemoryNormal = "memory_normal"
// DomainJobMemoryNormalBytes as defined in libvirt/libvirt-domain.h:3561
DomainJobMemoryNormalBytes = "memory_normal_bytes"
// DomainJobMemoryBps as defined in libvirt/libvirt-domain.h:3569
DomainJobMemoryBps = "memory_bps"
// DomainJobMemoryDirtyRate as defined in libvirt/libvirt-domain.h:3577
DomainJobMemoryDirtyRate = "memory_dirty_rate"
// DomainJobMemoryPageSize as defined in libvirt/libvirt-domain.h:3588
DomainJobMemoryPageSize = "memory_page_size"
// DomainJobMemoryIteration as defined in libvirt/libvirt-domain.h:3599
DomainJobMemoryIteration = "memory_iteration"
// DomainJobMemoryPostcopyReqs as defined in libvirt/libvirt-domain.h:3609
DomainJobMemoryPostcopyReqs = "memory_postcopy_requests"
// DomainJobDiskTotal as defined in libvirt/libvirt-domain.h:3619
DomainJobDiskTotal = "disk_total"
// DomainJobDiskProcessed as defined in libvirt/libvirt-domain.h:3629
DomainJobDiskProcessed = "disk_processed"
// DomainJobDiskRemaining as defined in libvirt/libvirt-domain.h:3639
DomainJobDiskRemaining = "disk_remaining"
// DomainJobDiskBps as defined in libvirt/libvirt-domain.h:3647
DomainJobDiskBps = "disk_bps"
// DomainJobCompressionCache as defined in libvirt/libvirt-domain.h:3656
DomainJobCompressionCache = "compression_cache"
// DomainJobCompressionBytes as defined in libvirt/libvirt-domain.h:3664
DomainJobCompressionBytes = "compression_bytes"
// DomainJobCompressionPages as defined in libvirt/libvirt-domain.h:3672
DomainJobCompressionPages = "compression_pages"
// DomainJobCompressionCacheMisses as defined in libvirt/libvirt-domain.h:3681
DomainJobCompressionCacheMisses = "compression_cache_misses"
// DomainJobCompressionOverflow as defined in libvirt/libvirt-domain.h:3691
DomainJobCompressionOverflow = "compression_overflow"
// DomainJobAutoConvergeThrottle as defined in libvirt/libvirt-domain.h:3700
DomainJobAutoConvergeThrottle = "auto_converge_throttle"
// DomainJobSuccess as defined in libvirt/libvirt-domain.h:3708
DomainJobSuccess = "success"
// DomainJobErrmsg as defined in libvirt/libvirt-domain.h:3716
DomainJobErrmsg = "errmsg"
// DomainJobDiskTempUsed as defined in libvirt/libvirt-domain.h:3724
DomainJobDiskTempUsed = "disk_temp_used"
// DomainJobDiskTempTotal as defined in libvirt/libvirt-domain.h:3731
DomainJobDiskTempTotal = "disk_temp_total"
// DomainTunableCPUVcpupin as defined in libvirt/libvirt-domain.h:4286
DomainTunableCPUVcpupin = "cputune.vcpupin%u"
// DomainTunableCPUEmulatorpin as defined in libvirt/libvirt-domain.h:4294
DomainTunableCPUEmulatorpin = "cputune.emulatorpin"
// DomainTunableCPUIothreadspin as defined in libvirt/libvirt-domain.h:4303
DomainTunableCPUIothreadspin = "cputune.iothreadpin%u"
// DomainTunableCPUCpuShares as defined in libvirt/libvirt-domain.h:4311
DomainTunableCPUCpuShares = "cputune.cpu_shares"
// DomainTunableCPUGlobalPeriod as defined in libvirt/libvirt-domain.h:4319
DomainTunableCPUGlobalPeriod = "cputune.global_period"
// DomainTunableCPUGlobalQuota as defined in libvirt/libvirt-domain.h:4327
DomainTunableCPUGlobalQuota = "cputune.global_quota"
// DomainTunableCPUVCPUPeriod as defined in libvirt/libvirt-domain.h:4335
DomainTunableCPUVCPUPeriod = "cputune.vcpu_period"
// DomainTunableCPUVCPUQuota as defined in libvirt/libvirt-domain.h:4343
DomainTunableCPUVCPUQuota = "cputune.vcpu_quota"
// DomainTunableCPUEmulatorPeriod as defined in libvirt/libvirt-domain.h:4352
DomainTunableCPUEmulatorPeriod = "cputune.emulator_period"
// DomainTunableCPUEmulatorQuota as defined in libvirt/libvirt-domain.h:4361
DomainTunableCPUEmulatorQuota = "cputune.emulator_quota"
// DomainTunableCPUIothreadPeriod as defined in libvirt/libvirt-domain.h:4369
DomainTunableCPUIothreadPeriod = "cputune.iothread_period"
// DomainTunableCPUIothreadQuota as defined in libvirt/libvirt-domain.h:4377
DomainTunableCPUIothreadQuota = "cputune.iothread_quota"
// DomainTunableBlkdevDisk as defined in libvirt/libvirt-domain.h:4385
DomainTunableBlkdevDisk = "blkdeviotune.disk"
// DomainTunableBlkdevTotalBytesSec as defined in libvirt/libvirt-domain.h:4393
DomainTunableBlkdevTotalBytesSec = "blkdeviotune.total_bytes_sec"
// DomainTunableBlkdevReadBytesSec as defined in libvirt/libvirt-domain.h:4401
DomainTunableBlkdevReadBytesSec = "blkdeviotune.read_bytes_sec"
// DomainTunableBlkdevWriteBytesSec as defined in libvirt/libvirt-domain.h:4409
DomainTunableBlkdevWriteBytesSec = "blkdeviotune.write_bytes_sec"
// DomainTunableBlkdevTotalIopsSec as defined in libvirt/libvirt-domain.h:4417
DomainTunableBlkdevTotalIopsSec = "blkdeviotune.total_iops_sec"
// DomainTunableBlkdevReadIopsSec as defined in libvirt/libvirt-domain.h:4425
DomainTunableBlkdevReadIopsSec = "blkdeviotune.read_iops_sec"
// DomainTunableBlkdevWriteIopsSec as defined in libvirt/libvirt-domain.h:4433
DomainTunableBlkdevWriteIopsSec = "blkdeviotune.write_iops_sec"
// DomainTunableBlkdevTotalBytesSecMax as defined in libvirt/libvirt-domain.h:4441
DomainTunableBlkdevTotalBytesSecMax = "blkdeviotune.total_bytes_sec_max"
// DomainTunableBlkdevReadBytesSecMax as defined in libvirt/libvirt-domain.h:4449
DomainTunableBlkdevReadBytesSecMax = "blkdeviotune.read_bytes_sec_max"
// DomainTunableBlkdevWriteBytesSecMax as defined in libvirt/libvirt-domain.h:4457
DomainTunableBlkdevWriteBytesSecMax = "blkdeviotune.write_bytes_sec_max"
// DomainTunableBlkdevTotalIopsSecMax as defined in libvirt/libvirt-domain.h:4465
DomainTunableBlkdevTotalIopsSecMax = "blkdeviotune.total_iops_sec_max"
// DomainTunableBlkdevReadIopsSecMax as defined in libvirt/libvirt-domain.h:4473
DomainTunableBlkdevReadIopsSecMax = "blkdeviotune.read_iops_sec_max"
// DomainTunableBlkdevWriteIopsSecMax as defined in libvirt/libvirt-domain.h:4481
DomainTunableBlkdevWriteIopsSecMax = "blkdeviotune.write_iops_sec_max"
// DomainTunableBlkdevSizeIopsSec as defined in libvirt/libvirt-domain.h:4489
DomainTunableBlkdevSizeIopsSec = "blkdeviotune.size_iops_sec"
// DomainTunableBlkdevGroupName as defined in libvirt/libvirt-domain.h:4497
DomainTunableBlkdevGroupName = "blkdeviotune.group_name"
// DomainTunableBlkdevTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4506
DomainTunableBlkdevTotalBytesSecMaxLength = "blkdeviotune.total_bytes_sec_max_length"
// DomainTunableBlkdevReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4515
DomainTunableBlkdevReadBytesSecMaxLength = "blkdeviotune.read_bytes_sec_max_length"
// DomainTunableBlkdevWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4524
DomainTunableBlkdevWriteBytesSecMaxLength = "blkdeviotune.write_bytes_sec_max_length"
// DomainTunableBlkdevTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4533
DomainTunableBlkdevTotalIopsSecMaxLength = "blkdeviotune.total_iops_sec_max_length"
// DomainTunableBlkdevReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4542
DomainTunableBlkdevReadIopsSecMaxLength = "blkdeviotune.read_iops_sec_max_length"
// DomainTunableBlkdevWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4551
DomainTunableBlkdevWriteIopsSecMaxLength = "blkdeviotune.write_iops_sec_max_length"
// DomainSchedFieldLength as defined in libvirt/libvirt-domain.h:4865
DomainSchedFieldLength = 80
// DomainBlkioFieldLength as defined in libvirt/libvirt-domain.h:4909
DomainBlkioFieldLength = 80
// DomainMemoryFieldLength as defined in libvirt/libvirt-domain.h:4953
DomainMemoryFieldLength = 80
// DomainLaunchSecuritySevMeasurement as defined in libvirt/libvirt-domain.h:5079
DomainLaunchSecuritySevMeasurement = "sev-measurement"
// NetworkPortBandwidthInAverage as defined in libvirt/libvirt-network.h:391
NetworkPortBandwidthInAverage = "inbound.average"
// NetworkPortBandwidthInPeak as defined in libvirt/libvirt-network.h:398
NetworkPortBandwidthInPeak = "inbound.peak"
// NetworkPortBandwidthInBurst as defined in libvirt/libvirt-network.h:405
NetworkPortBandwidthInBurst = "inbound.burst"
// NetworkPortBandwidthInFloor as defined in libvirt/libvirt-network.h:412
NetworkPortBandwidthInFloor = "inbound.floor"
// NetworkPortBandwidthOutAverage as defined in libvirt/libvirt-network.h:419
NetworkPortBandwidthOutAverage = "outbound.average"
// NetworkPortBandwidthOutPeak as defined in libvirt/libvirt-network.h:426
NetworkPortBandwidthOutPeak = "outbound.peak"
// NetworkPortBandwidthOutBurst as defined in libvirt/libvirt-network.h:433
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
)
// NodeSuspendTarget as declared in libvirt/libvirt-host.h:61
type NodeSuspendTarget int32
// NodeSuspendTarget enumeration from libvirt/libvirt-host.h:61
const (
NodeSuspendTargetMem NodeSuspendTarget = iota
NodeSuspendTargetDisk NodeSuspendTarget = 1
NodeSuspendTargetHybrid NodeSuspendTarget = 2
)
// NodeGetCPUStatsAllCPUs as declared in libvirt/libvirt-host.h:189
type NodeGetCPUStatsAllCPUs int32
// NodeGetCPUStatsAllCPUs enumeration from libvirt/libvirt-host.h:189
const (
NodeCPUStatsAllCpus NodeGetCPUStatsAllCPUs = -1
)
// NodeGetMemoryStatsAllCells as declared in libvirt/libvirt-host.h:267
type NodeGetMemoryStatsAllCells int32
// NodeGetMemoryStatsAllCells enumeration from libvirt/libvirt-host.h:267
const (
NodeMemoryStatsAllCells NodeGetMemoryStatsAllCells = -1
)
// ConnectFlags as declared in libvirt/libvirt-host.h:488
type ConnectFlags int32
// ConnectFlags enumeration from libvirt/libvirt-host.h:488
const (
ConnectRo ConnectFlags = 1
ConnectNoAliases ConnectFlags = 2
)
// ConnectCredentialType as declared in libvirt/libvirt-host.h:505
type ConnectCredentialType int32
// ConnectCredentialType enumeration from libvirt/libvirt-host.h:505
const (
CredUsername ConnectCredentialType = 1
CredAuthname ConnectCredentialType = 2
CredLanguage ConnectCredentialType = 3
CredCnonce ConnectCredentialType = 4
CredPassphrase ConnectCredentialType = 5
CredEchoprompt ConnectCredentialType = 6
CredNoechoprompt ConnectCredentialType = 7
CredRealm ConnectCredentialType = 8
CredExternal ConnectCredentialType = 9
)
// CPUCompareResult as declared in libvirt/libvirt-host.h:752
type CPUCompareResult int32
// CPUCompareResult enumeration from libvirt/libvirt-host.h:752
const (
CPUCompareError CPUCompareResult = -1
CPUCompareIncompatible CPUCompareResult = 0
CPUCompareIdentical CPUCompareResult = 1
CPUCompareSuperset CPUCompareResult = 2
)
// ConnectCompareCPUFlags as declared in libvirt/libvirt-host.h:759
type ConnectCompareCPUFlags int32
// ConnectCompareCPUFlags enumeration from libvirt/libvirt-host.h:759
const (
ConnectCompareCPUFailIncompatible ConnectCompareCPUFlags = 1
ConnectCompareCPUValidateXML ConnectCompareCPUFlags = 2
)
// ConnectBaselineCPUFlags as declared in libvirt/libvirt-host.h:785
type ConnectBaselineCPUFlags int32
// ConnectBaselineCPUFlags enumeration from libvirt/libvirt-host.h:785
const (
ConnectBaselineCPUExpandFeatures ConnectBaselineCPUFlags = 1
ConnectBaselineCPUMigratable ConnectBaselineCPUFlags = 2
)
// NodeAllocPagesFlags as declared in libvirt/libvirt-host.h:815
type NodeAllocPagesFlags int32
// NodeAllocPagesFlags enumeration from libvirt/libvirt-host.h:815
const (
NodeAllocPagesAdd NodeAllocPagesFlags = iota
NodeAllocPagesSet NodeAllocPagesFlags = 1
)
// 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:702
type DomainCoreDumpFormat int32
// DomainCoreDumpFormat enumeration from libvirt/libvirt-domain.h:702
const (
DomainCoreDumpFormatRaw DomainCoreDumpFormat = iota
DomainCoreDumpFormatKdumpZlib DomainCoreDumpFormat = 1
DomainCoreDumpFormatKdumpLzo DomainCoreDumpFormat = 2
DomainCoreDumpFormatKdumpSnappy DomainCoreDumpFormat = 3
)
// DomainMigrateFlags as declared in libvirt/libvirt-domain.h:852
type DomainMigrateFlags int32
// DomainMigrateFlags enumeration from libvirt/libvirt-domain.h:852
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
)
// DomainMigrateMaxSpeedFlags as declared in libvirt/libvirt-domain.h:1150
type DomainMigrateMaxSpeedFlags int32
// DomainMigrateMaxSpeedFlags enumeration from libvirt/libvirt-domain.h:1150
const (
DomainMigrateMaxSpeedPostcopy DomainMigrateMaxSpeedFlags = 1
)
// DomainShutdownFlagValues as declared in libvirt/libvirt-domain.h:1216
type DomainShutdownFlagValues int32
// DomainShutdownFlagValues enumeration from libvirt/libvirt-domain.h:1216
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:1229
type DomainRebootFlagValues int32
// DomainRebootFlagValues enumeration from libvirt/libvirt-domain.h:1229
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:1247
type DomainDestroyFlagsValues int32
// DomainDestroyFlagsValues enumeration from libvirt/libvirt-domain.h:1247
const (
DomainDestroyDefault DomainDestroyFlagsValues = iota
DomainDestroyGraceful DomainDestroyFlagsValues = 1
)
// DomainSaveRestoreFlags as declared in libvirt/libvirt-domain.h:1279
type DomainSaveRestoreFlags int32
// DomainSaveRestoreFlags enumeration from libvirt/libvirt-domain.h:1279
const (
DomainSaveBypassCache DomainSaveRestoreFlags = 1
DomainSaveRunning DomainSaveRestoreFlags = 2
DomainSavePaused DomainSaveRestoreFlags = 4
)
// DomainMemoryModFlags as declared in libvirt/libvirt-domain.h:1535
type DomainMemoryModFlags int32
// DomainMemoryModFlags enumeration from libvirt/libvirt-domain.h:1535
const (
DomainMemCurrent DomainMemoryModFlags = iota
DomainMemLive DomainMemoryModFlags = 1
DomainMemConfig DomainMemoryModFlags = 2
DomainMemMaximum DomainMemoryModFlags = 4
)
// DomainNumatuneMemMode as declared in libvirt/libvirt-domain.h:1553
type DomainNumatuneMemMode int32
// DomainNumatuneMemMode enumeration from libvirt/libvirt-domain.h:1553
const (
DomainNumatuneMemStrict DomainNumatuneMemMode = iota
DomainNumatuneMemPreferred DomainNumatuneMemMode = 1
DomainNumatuneMemInterleave DomainNumatuneMemMode = 2
)
// DomainGetHostnameFlags as declared in libvirt/libvirt-domain.h:1606
type DomainGetHostnameFlags int32
// DomainGetHostnameFlags enumeration from libvirt/libvirt-domain.h:1606
const (
DomainGetHostnameLease DomainGetHostnameFlags = 1
DomainGetHostnameAgent DomainGetHostnameFlags = 2
)
// DomainMetadataType as declared in libvirt/libvirt-domain.h:1621
type DomainMetadataType int32
// DomainMetadataType enumeration from libvirt/libvirt-domain.h:1621
const (
DomainMetadataDescription DomainMetadataType = iota
DomainMetadataTitle DomainMetadataType = 1
DomainMetadataElement DomainMetadataType = 2
)
// DomainXMLFlags as declared in libvirt/libvirt-domain.h:1651
type DomainXMLFlags int32
// DomainXMLFlags enumeration from libvirt/libvirt-domain.h:1651
const (
DomainXMLSecure DomainXMLFlags = 1
DomainXMLInactive DomainXMLFlags = 2
DomainXMLUpdateCPU DomainXMLFlags = 4
DomainXMLMigratable DomainXMLFlags = 8
)
// DomainSaveImageXMLFlags as declared in libvirt/libvirt-domain.h:1655
type DomainSaveImageXMLFlags int32
// DomainSaveImageXMLFlags enumeration from libvirt/libvirt-domain.h:1655
const (
DomainSaveImageXMLSecure DomainSaveImageXMLFlags = 1
)
// DomainBlockResizeFlags as declared in libvirt/libvirt-domain.h:1760
type DomainBlockResizeFlags int32
// DomainBlockResizeFlags enumeration from libvirt/libvirt-domain.h:1760
const (
DomainBlockResizeBytes DomainBlockResizeFlags = 1
)
// DomainMemoryFlags as declared in libvirt/libvirt-domain.h:1823
type DomainMemoryFlags int32
// DomainMemoryFlags enumeration from libvirt/libvirt-domain.h:1823
const (
MemoryVirtual DomainMemoryFlags = 1
MemoryPhysical DomainMemoryFlags = 2
)
// DomainDefineFlags as declared in libvirt/libvirt-domain.h:1833
type DomainDefineFlags int32
// DomainDefineFlags enumeration from libvirt/libvirt-domain.h:1833
const (
DomainDefineValidate DomainDefineFlags = 1
)
// DomainUndefineFlagsValues as declared in libvirt/libvirt-domain.h:1860
type DomainUndefineFlagsValues int32
// DomainUndefineFlagsValues enumeration from libvirt/libvirt-domain.h:1860