2018-01-03 23:19:28 +03:00
|
|
|
// Copyright 2017 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
|
|
|
|
// by https://git.io/c-for-go. DO NOT EDIT.
|
|
|
|
|
|
|
|
package libvirt
|
|
|
|
|
|
|
|
const (
|
|
|
|
// ExportVar as defined in libvirt/libvirt-common.h:58
|
|
|
|
ExportVar = 0
|
|
|
|
// TypedParamFieldLength as defined in libvirt/libvirt-common.h:171
|
|
|
|
TypedParamFieldLength = 80
|
|
|
|
// SecurityLabelBuflen as defined in libvirt/libvirt-host.h:85
|
|
|
|
SecurityLabelBuflen = 4097
|
|
|
|
// SecurityModelBuflen as defined in libvirt/libvirt-host.h:113
|
|
|
|
SecurityModelBuflen = 257
|
|
|
|
// SecurityDoiBuflen as defined in libvirt/libvirt-host.h:120
|
|
|
|
SecurityDoiBuflen = 257
|
|
|
|
// NodeCPUStatsFieldLength as defined in libvirt/libvirt-host.h:177
|
|
|
|
NodeCPUStatsFieldLength = 80
|
|
|
|
// NodeCPUStatsKernel as defined in libvirt/libvirt-host.h:194
|
|
|
|
NodeCPUStatsKernel = "kernel"
|
|
|
|
// NodeCPUStatsUser as defined in libvirt/libvirt-host.h:202
|
|
|
|
NodeCPUStatsUser = "user"
|
|
|
|
// NodeCPUStatsIdle as defined in libvirt/libvirt-host.h:210
|
|
|
|
NodeCPUStatsIdle = "idle"
|
|
|
|
// NodeCPUStatsIowait as defined in libvirt/libvirt-host.h:218
|
|
|
|
NodeCPUStatsIowait = "iowait"
|
|
|
|
// NodeCPUStatsIntr as defined in libvirt/libvirt-host.h:226
|
|
|
|
NodeCPUStatsIntr = "intr"
|
|
|
|
// NodeCPUStatsUtilization as defined in libvirt/libvirt-host.h:235
|
|
|
|
NodeCPUStatsUtilization = "utilization"
|
|
|
|
// NodeMemoryStatsFieldLength as defined in libvirt/libvirt-host.h:255
|
|
|
|
NodeMemoryStatsFieldLength = 80
|
|
|
|
// NodeMemoryStatsTotal as defined in libvirt/libvirt-host.h:272
|
|
|
|
NodeMemoryStatsTotal = "total"
|
|
|
|
// NodeMemoryStatsFree as defined in libvirt/libvirt-host.h:281
|
|
|
|
NodeMemoryStatsFree = "free"
|
|
|
|
// NodeMemoryStatsBuffers as defined in libvirt/libvirt-host.h:289
|
|
|
|
NodeMemoryStatsBuffers = "buffers"
|
|
|
|
// NodeMemoryStatsCached as defined in libvirt/libvirt-host.h:297
|
|
|
|
NodeMemoryStatsCached = "cached"
|
|
|
|
// NodeMemorySharedPagesToScan as defined in libvirt/libvirt-host.h:318
|
|
|
|
NodeMemorySharedPagesToScan = "shm_pages_to_scan"
|
|
|
|
// NodeMemorySharedSleepMillisecs as defined in libvirt/libvirt-host.h:326
|
|
|
|
NodeMemorySharedSleepMillisecs = "shm_sleep_millisecs"
|
|
|
|
// NodeMemorySharedPagesShared as defined in libvirt/libvirt-host.h:334
|
|
|
|
NodeMemorySharedPagesShared = "shm_pages_shared"
|
|
|
|
// NodeMemorySharedPagesSharing as defined in libvirt/libvirt-host.h:342
|
|
|
|
NodeMemorySharedPagesSharing = "shm_pages_sharing"
|
|
|
|
// NodeMemorySharedPagesUnshared as defined in libvirt/libvirt-host.h:350
|
|
|
|
NodeMemorySharedPagesUnshared = "shm_pages_unshared"
|
|
|
|
// NodeMemorySharedPagesVolatile as defined in libvirt/libvirt-host.h:358
|
|
|
|
NodeMemorySharedPagesVolatile = "shm_pages_volatile"
|
|
|
|
// NodeMemorySharedFullScans as defined in libvirt/libvirt-host.h:366
|
|
|
|
NodeMemorySharedFullScans = "shm_full_scans"
|
|
|
|
// NodeMemorySharedMergeAcrossNodes as defined in libvirt/libvirt-host.h:378
|
|
|
|
NodeMemorySharedMergeAcrossNodes = "shm_merge_across_nodes"
|
|
|
|
// UUIDBuflen as defined in libvirt/libvirt-host.h:513
|
|
|
|
UUIDBuflen = 16
|
|
|
|
// UUIDStringBuflen as defined in libvirt/libvirt-host.h:522
|
|
|
|
UUIDStringBuflen = 37
|
|
|
|
// DomainSchedulerCPUShares as defined in libvirt/libvirt-domain.h:315
|
|
|
|
DomainSchedulerCPUShares = "cpu_shares"
|
|
|
|
// DomainSchedulerGlobalPeriod as defined in libvirt/libvirt-domain.h:323
|
|
|
|
DomainSchedulerGlobalPeriod = "global_period"
|
|
|
|
// DomainSchedulerGlobalQuota as defined in libvirt/libvirt-domain.h:331
|
|
|
|
DomainSchedulerGlobalQuota = "global_quota"
|
|
|
|
// DomainSchedulerVCPUPeriod as defined in libvirt/libvirt-domain.h:339
|
|
|
|
DomainSchedulerVCPUPeriod = "vcpu_period"
|
|
|
|
// DomainSchedulerVCPUQuota as defined in libvirt/libvirt-domain.h:347
|
|
|
|
DomainSchedulerVCPUQuota = "vcpu_quota"
|
|
|
|
// DomainSchedulerEmulatorPeriod as defined in libvirt/libvirt-domain.h:356
|
|
|
|
DomainSchedulerEmulatorPeriod = "emulator_period"
|
|
|
|
// DomainSchedulerEmulatorQuota as defined in libvirt/libvirt-domain.h:365
|
|
|
|
DomainSchedulerEmulatorQuota = "emulator_quota"
|
|
|
|
// DomainSchedulerIothreadPeriod as defined in libvirt/libvirt-domain.h:373
|
|
|
|
DomainSchedulerIothreadPeriod = "iothread_period"
|
|
|
|
// DomainSchedulerIothreadQuota as defined in libvirt/libvirt-domain.h:381
|
|
|
|
DomainSchedulerIothreadQuota = "iothread_quota"
|
|
|
|
// DomainSchedulerWeight as defined in libvirt/libvirt-domain.h:389
|
|
|
|
DomainSchedulerWeight = "weight"
|
|
|
|
// DomainSchedulerCap as defined in libvirt/libvirt-domain.h:397
|
|
|
|
DomainSchedulerCap = "cap"
|
|
|
|
// DomainSchedulerReservation as defined in libvirt/libvirt-domain.h:405
|
|
|
|
DomainSchedulerReservation = "reservation"
|
|
|
|
// DomainSchedulerLimit as defined in libvirt/libvirt-domain.h:413
|
|
|
|
DomainSchedulerLimit = "limit"
|
|
|
|
// DomainSchedulerShares as defined in libvirt/libvirt-domain.h:421
|
|
|
|
DomainSchedulerShares = "shares"
|
|
|
|
// DomainBlockStatsFieldLength as defined in libvirt/libvirt-domain.h:479
|
|
|
|
DomainBlockStatsFieldLength = 80
|
|
|
|
// DomainBlockStatsReadBytes as defined in libvirt/libvirt-domain.h:487
|
|
|
|
DomainBlockStatsReadBytes = "rd_bytes"
|
|
|
|
// DomainBlockStatsReadReq as defined in libvirt/libvirt-domain.h:495
|
|
|
|
DomainBlockStatsReadReq = "rd_operations"
|
|
|
|
// DomainBlockStatsReadTotalTimes as defined in libvirt/libvirt-domain.h:503
|
|
|
|
DomainBlockStatsReadTotalTimes = "rd_total_times"
|
|
|
|
// DomainBlockStatsWriteBytes as defined in libvirt/libvirt-domain.h:511
|
|
|
|
DomainBlockStatsWriteBytes = "wr_bytes"
|
|
|
|
// DomainBlockStatsWriteReq as defined in libvirt/libvirt-domain.h:519
|
|
|
|
DomainBlockStatsWriteReq = "wr_operations"
|
|
|
|
// DomainBlockStatsWriteTotalTimes as defined in libvirt/libvirt-domain.h:527
|
|
|
|
DomainBlockStatsWriteTotalTimes = "wr_total_times"
|
|
|
|
// DomainBlockStatsFlushReq as defined in libvirt/libvirt-domain.h:535
|
|
|
|
DomainBlockStatsFlushReq = "flush_operations"
|
|
|
|
// DomainBlockStatsFlushTotalTimes as defined in libvirt/libvirt-domain.h:543
|
|
|
|
DomainBlockStatsFlushTotalTimes = "flush_total_times"
|
|
|
|
// DomainBlockStatsErrs as defined in libvirt/libvirt-domain.h:550
|
|
|
|
DomainBlockStatsErrs = "errs"
|
|
|
|
// MigrateParamURI as defined in libvirt/libvirt-domain.h:842
|
|
|
|
MigrateParamURI = "migrate_uri"
|
|
|
|
// MigrateParamDestName as defined in libvirt/libvirt-domain.h:852
|
|
|
|
MigrateParamDestName = "destination_name"
|
|
|
|
// MigrateParamDestXML as defined in libvirt/libvirt-domain.h:871
|
|
|
|
MigrateParamDestXML = "destination_xml"
|
|
|
|
// MigrateParamPersistXML as defined in libvirt/libvirt-domain.h:886
|
|
|
|
MigrateParamPersistXML = "persistent_xml"
|
|
|
|
// MigrateParamBandwidth as defined in libvirt/libvirt-domain.h:896
|
|
|
|
MigrateParamBandwidth = "bandwidth"
|
|
|
|
// MigrateParamGraphicsURI as defined in libvirt/libvirt-domain.h:917
|
|
|
|
MigrateParamGraphicsURI = "graphics_uri"
|
|
|
|
// MigrateParamListenAddress as defined in libvirt/libvirt-domain.h:928
|
|
|
|
MigrateParamListenAddress = "listen_address"
|
|
|
|
// MigrateParamMigrateDisks as defined in libvirt/libvirt-domain.h:937
|
|
|
|
MigrateParamMigrateDisks = "migrate_disks"
|
|
|
|
// MigrateParamDisksPort as defined in libvirt/libvirt-domain.h:947
|
|
|
|
MigrateParamDisksPort = "disks_port"
|
|
|
|
// MigrateParamCompression as defined in libvirt/libvirt-domain.h:957
|
|
|
|
MigrateParamCompression = "compression"
|
|
|
|
// MigrateParamCompressionMtLevel as defined in libvirt/libvirt-domain.h:966
|
|
|
|
MigrateParamCompressionMtLevel = "compression.mt.level"
|
|
|
|
// MigrateParamCompressionMtThreads as defined in libvirt/libvirt-domain.h:974
|
|
|
|
MigrateParamCompressionMtThreads = "compression.mt.threads"
|
|
|
|
// MigrateParamCompressionMtDthreads as defined in libvirt/libvirt-domain.h:982
|
|
|
|
MigrateParamCompressionMtDthreads = "compression.mt.dthreads"
|
|
|
|
// MigrateParamCompressionXbzrleCache as defined in libvirt/libvirt-domain.h:990
|
|
|
|
MigrateParamCompressionXbzrleCache = "compression.xbzrle.cache"
|
|
|
|
// MigrateParamAutoConvergeInitial as defined in libvirt/libvirt-domain.h:999
|
|
|
|
MigrateParamAutoConvergeInitial = "auto_converge.initial"
|
|
|
|
// MigrateParamAutoConvergeIncrement as defined in libvirt/libvirt-domain.h:1009
|
|
|
|
MigrateParamAutoConvergeIncrement = "auto_converge.increment"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainCPUStatsCputime as defined in libvirt/libvirt-domain.h:1262
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainCPUStatsCputime = "cpu_time"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainCPUStatsUsertime as defined in libvirt/libvirt-domain.h:1268
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainCPUStatsUsertime = "user_time"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainCPUStatsSystemtime as defined in libvirt/libvirt-domain.h:1274
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainCPUStatsSystemtime = "system_time"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainCPUStatsVcputime as defined in libvirt/libvirt-domain.h:1281
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainCPUStatsVcputime = "vcpu_time"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioWeight as defined in libvirt/libvirt-domain.h:1310
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioWeight = "weight"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioDeviceWeight as defined in libvirt/libvirt-domain.h:1320
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioDeviceWeight = "device_weight"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioDeviceReadIops as defined in libvirt/libvirt-domain.h:1331
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioDeviceReadIops = "device_read_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioDeviceWriteIops as defined in libvirt/libvirt-domain.h:1342
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioDeviceWriteIops = "device_write_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioDeviceReadBps as defined in libvirt/libvirt-domain.h:1353
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioDeviceReadBps = "device_read_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioDeviceWriteBps as defined in libvirt/libvirt-domain.h:1364
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioDeviceWriteBps = "device_write_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryParamUnlimited as defined in libvirt/libvirt-domain.h:1383
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainMemoryParamUnlimited = 9007199254740991
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryHardLimit as defined in libvirt/libvirt-domain.h:1392
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainMemoryHardLimit = "hard_limit"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemorySoftLimit as defined in libvirt/libvirt-domain.h:1401
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainMemorySoftLimit = "soft_limit"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryMinGuarantee as defined in libvirt/libvirt-domain.h:1410
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainMemoryMinGuarantee = "min_guarantee"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemorySwapHardLimit as defined in libvirt/libvirt-domain.h:1420
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainMemorySwapHardLimit = "swap_hard_limit"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainNumaNodeset as defined in libvirt/libvirt-domain.h:1465
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainNumaNodeset = "numa_nodeset"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainNumaMode as defined in libvirt/libvirt-domain.h:1473
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainNumaMode = "numa_mode"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthInAverage as defined in libvirt/libvirt-domain.h:1585
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthInAverage = "inbound.average"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthInPeak as defined in libvirt/libvirt-domain.h:1592
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthInPeak = "inbound.peak"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthInBurst as defined in libvirt/libvirt-domain.h:1599
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthInBurst = "inbound.burst"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthInFloor as defined in libvirt/libvirt-domain.h:1606
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthInFloor = "inbound.floor"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthOutAverage as defined in libvirt/libvirt-domain.h:1613
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthOutAverage = "outbound.average"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthOutPeak as defined in libvirt/libvirt-domain.h:1620
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthOutPeak = "outbound.peak"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBandwidthOutBurst as defined in libvirt/libvirt-domain.h:1627
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBandwidthOutBurst = "outbound.burst"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamCmt as defined in libvirt/libvirt-domain.h:2083
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamCmt = "cmt"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamMbmt as defined in libvirt/libvirt-domain.h:2094
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamMbmt = "mbmt"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamMbml as defined in libvirt/libvirt-domain.h:2104
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamMbml = "mbml"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamCacheMisses as defined in libvirt/libvirt-domain.h:2114
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamCacheMisses = "cache_misses"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamCacheReferences as defined in libvirt/libvirt-domain.h:2124
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamCacheReferences = "cache_references"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamInstructions as defined in libvirt/libvirt-domain.h:2134
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamInstructions = "instructions"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamCPUCycles as defined in libvirt/libvirt-domain.h:2144
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamCPUCycles = "cpu_cycles"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamBranchInstructions as defined in libvirt/libvirt-domain.h:2154
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamBranchInstructions = "branch_instructions"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamBranchMisses as defined in libvirt/libvirt-domain.h:2164
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamBranchMisses = "branch_misses"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamBusCycles as defined in libvirt/libvirt-domain.h:2174
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamBusCycles = "bus_cycles"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamStalledCyclesFrontend as defined in libvirt/libvirt-domain.h:2185
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamStalledCyclesFrontend = "stalled_cycles_frontend"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamStalledCyclesBackend as defined in libvirt/libvirt-domain.h:2196
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamStalledCyclesBackend = "stalled_cycles_backend"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamRefCPUCycles as defined in libvirt/libvirt-domain.h:2207
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamRefCPUCycles = "ref_cpu_cycles"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamCPUClock as defined in libvirt/libvirt-domain.h:2218
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamCPUClock = "cpu_clock"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamTaskClock as defined in libvirt/libvirt-domain.h:2229
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamTaskClock = "task_clock"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamPageFaults as defined in libvirt/libvirt-domain.h:2239
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamPageFaults = "page_faults"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamContextSwitches as defined in libvirt/libvirt-domain.h:2249
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamContextSwitches = "context_switches"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamCPUMigrations as defined in libvirt/libvirt-domain.h:2259
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamCPUMigrations = "cpu_migrations"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamPageFaultsMin as defined in libvirt/libvirt-domain.h:2269
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamPageFaultsMin = "page_faults_min"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamPageFaultsMaj as defined in libvirt/libvirt-domain.h:2279
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamPageFaultsMaj = "page_faults_maj"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamAlignmentFaults as defined in libvirt/libvirt-domain.h:2289
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamAlignmentFaults = "alignment_faults"
|
2018-02-14 21:49:14 +03:00
|
|
|
// PerfParamEmulationFaults as defined in libvirt/libvirt-domain.h:2299
|
2018-01-03 23:19:28 +03:00
|
|
|
PerfParamEmulationFaults = "emulation_faults"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCopyBandwidth as defined in libvirt/libvirt-domain.h:2463
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockCopyBandwidth = "bandwidth"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCopyGranularity as defined in libvirt/libvirt-domain.h:2474
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockCopyGranularity = "granularity"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCopyBufSize as defined in libvirt/libvirt-domain.h:2483
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockCopyBufSize = "buf-size"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneTotalBytesSec as defined in libvirt/libvirt-domain.h:2524
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneTotalBytesSec = "total_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneReadBytesSec as defined in libvirt/libvirt-domain.h:2532
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneReadBytesSec = "read_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneWriteBytesSec as defined in libvirt/libvirt-domain.h:2540
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneWriteBytesSec = "write_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneTotalIopsSec as defined in libvirt/libvirt-domain.h:2548
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneTotalIopsSec = "total_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneReadIopsSec as defined in libvirt/libvirt-domain.h:2556
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneReadIopsSec = "read_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneWriteIopsSec as defined in libvirt/libvirt-domain.h:2563
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneWriteIopsSec = "write_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneTotalBytesSecMax as defined in libvirt/libvirt-domain.h:2571
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneTotalBytesSecMax = "total_bytes_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneReadBytesSecMax as defined in libvirt/libvirt-domain.h:2579
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneReadBytesSecMax = "read_bytes_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneWriteBytesSecMax as defined in libvirt/libvirt-domain.h:2587
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneWriteBytesSecMax = "write_bytes_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneTotalIopsSecMax as defined in libvirt/libvirt-domain.h:2595
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneTotalIopsSecMax = "total_iops_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneReadIopsSecMax as defined in libvirt/libvirt-domain.h:2603
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneReadIopsSecMax = "read_iops_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneWriteIopsSecMax as defined in libvirt/libvirt-domain.h:2610
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneWriteIopsSecMax = "write_iops_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2618
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneTotalBytesSecMaxLength = "total_bytes_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2626
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneReadBytesSecMaxLength = "read_bytes_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2634
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneWriteBytesSecMaxLength = "write_bytes_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2642
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneTotalIopsSecMaxLength = "total_iops_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2650
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneReadIopsSecMaxLength = "read_iops_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2658
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneWriteIopsSecMaxLength = "write_iops_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneSizeIopsSec as defined in libvirt/libvirt-domain.h:2665
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneSizeIopsSec = "size_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockIotuneGroupName as defined in libvirt/libvirt-domain.h:2672
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlockIotuneGroupName = "group_name"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSendKeyMaxKeys as defined in libvirt/libvirt-domain.h:2753
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainSendKeyMaxKeys = 16
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobOperationStr as defined in libvirt/libvirt-domain.h:3165
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobOperationStr = "operation"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobTimeElapsed as defined in libvirt/libvirt-domain.h:3175
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobTimeElapsed = "time_elapsed"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobTimeElapsedNet as defined in libvirt/libvirt-domain.h:3185
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobTimeElapsedNet = "time_elapsed_net"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobTimeRemaining as defined in libvirt/libvirt-domain.h:3195
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobTimeRemaining = "time_remaining"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDowntime as defined in libvirt/libvirt-domain.h:3205
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDowntime = "downtime"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDowntimeNet as defined in libvirt/libvirt-domain.h:3214
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDowntimeNet = "downtime_net"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobSetupTime as defined in libvirt/libvirt-domain.h:3223
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobSetupTime = "setup_time"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDataTotal as defined in libvirt/libvirt-domain.h:3238
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDataTotal = "data_total"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDataProcessed as defined in libvirt/libvirt-domain.h:3248
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDataProcessed = "data_processed"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDataRemaining as defined in libvirt/libvirt-domain.h:3258
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDataRemaining = "data_remaining"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryTotal as defined in libvirt/libvirt-domain.h:3268
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryTotal = "memory_total"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryProcessed as defined in libvirt/libvirt-domain.h:3278
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryProcessed = "memory_processed"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryRemaining as defined in libvirt/libvirt-domain.h:3288
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryRemaining = "memory_remaining"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryConstant as defined in libvirt/libvirt-domain.h:3300
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryConstant = "memory_constant"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryNormal as defined in libvirt/libvirt-domain.h:3310
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryNormal = "memory_normal"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryNormalBytes as defined in libvirt/libvirt-domain.h:3320
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryNormalBytes = "memory_normal_bytes"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryBps as defined in libvirt/libvirt-domain.h:3328
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryBps = "memory_bps"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryDirtyRate as defined in libvirt/libvirt-domain.h:3336
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryDirtyRate = "memory_dirty_rate"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobMemoryPageSize as defined in libvirt/libvirt-domain.h:3347
|
|
|
|
DomainJobMemoryPageSize = "memory_page_size"
|
|
|
|
// DomainJobMemoryIteration as defined in libvirt/libvirt-domain.h:3358
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobMemoryIteration = "memory_iteration"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDiskTotal as defined in libvirt/libvirt-domain.h:3368
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDiskTotal = "disk_total"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDiskProcessed as defined in libvirt/libvirt-domain.h:3378
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDiskProcessed = "disk_processed"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDiskRemaining as defined in libvirt/libvirt-domain.h:3388
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDiskRemaining = "disk_remaining"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobDiskBps as defined in libvirt/libvirt-domain.h:3396
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobDiskBps = "disk_bps"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobCompressionCache as defined in libvirt/libvirt-domain.h:3405
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobCompressionCache = "compression_cache"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobCompressionBytes as defined in libvirt/libvirt-domain.h:3413
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobCompressionBytes = "compression_bytes"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobCompressionPages as defined in libvirt/libvirt-domain.h:3421
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobCompressionPages = "compression_pages"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobCompressionCacheMisses as defined in libvirt/libvirt-domain.h:3430
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobCompressionCacheMisses = "compression_cache_misses"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobCompressionOverflow as defined in libvirt/libvirt-domain.h:3440
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobCompressionOverflow = "compression_overflow"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobAutoConvergeThrottle as defined in libvirt/libvirt-domain.h:3449
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainJobAutoConvergeThrottle = "auto_converge_throttle"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUVcpupin as defined in libvirt/libvirt-domain.h:4003
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUVcpupin = "cputune.vcpupin%u"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUEmulatorpin as defined in libvirt/libvirt-domain.h:4011
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUEmulatorpin = "cputune.emulatorpin"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUIothreadspin as defined in libvirt/libvirt-domain.h:4020
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUIothreadspin = "cputune.iothreadpin%u"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUCpuShares as defined in libvirt/libvirt-domain.h:4028
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUCpuShares = "cputune.cpu_shares"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUGlobalPeriod as defined in libvirt/libvirt-domain.h:4036
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUGlobalPeriod = "cputune.global_period"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUGlobalQuota as defined in libvirt/libvirt-domain.h:4044
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUGlobalQuota = "cputune.global_quota"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUVCPUPeriod as defined in libvirt/libvirt-domain.h:4052
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUVCPUPeriod = "cputune.vcpu_period"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUVCPUQuota as defined in libvirt/libvirt-domain.h:4060
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUVCPUQuota = "cputune.vcpu_quota"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUEmulatorPeriod as defined in libvirt/libvirt-domain.h:4069
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUEmulatorPeriod = "cputune.emulator_period"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUEmulatorQuota as defined in libvirt/libvirt-domain.h:4078
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUEmulatorQuota = "cputune.emulator_quota"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUIothreadPeriod as defined in libvirt/libvirt-domain.h:4086
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUIothreadPeriod = "cputune.iothread_period"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableCPUIothreadQuota as defined in libvirt/libvirt-domain.h:4094
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableCPUIothreadQuota = "cputune.iothread_quota"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevDisk as defined in libvirt/libvirt-domain.h:4102
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevDisk = "blkdeviotune.disk"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevTotalBytesSec as defined in libvirt/libvirt-domain.h:4110
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevTotalBytesSec = "blkdeviotune.total_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevReadBytesSec as defined in libvirt/libvirt-domain.h:4118
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevReadBytesSec = "blkdeviotune.read_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevWriteBytesSec as defined in libvirt/libvirt-domain.h:4126
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevWriteBytesSec = "blkdeviotune.write_bytes_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevTotalIopsSec as defined in libvirt/libvirt-domain.h:4134
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevTotalIopsSec = "blkdeviotune.total_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevReadIopsSec as defined in libvirt/libvirt-domain.h:4142
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevReadIopsSec = "blkdeviotune.read_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevWriteIopsSec as defined in libvirt/libvirt-domain.h:4150
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevWriteIopsSec = "blkdeviotune.write_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevTotalBytesSecMax as defined in libvirt/libvirt-domain.h:4158
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevTotalBytesSecMax = "blkdeviotune.total_bytes_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevReadBytesSecMax as defined in libvirt/libvirt-domain.h:4166
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevReadBytesSecMax = "blkdeviotune.read_bytes_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevWriteBytesSecMax as defined in libvirt/libvirt-domain.h:4174
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevWriteBytesSecMax = "blkdeviotune.write_bytes_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevTotalIopsSecMax as defined in libvirt/libvirt-domain.h:4182
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevTotalIopsSecMax = "blkdeviotune.total_iops_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevReadIopsSecMax as defined in libvirt/libvirt-domain.h:4190
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevReadIopsSecMax = "blkdeviotune.read_iops_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevWriteIopsSecMax as defined in libvirt/libvirt-domain.h:4198
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevWriteIopsSecMax = "blkdeviotune.write_iops_sec_max"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevSizeIopsSec as defined in libvirt/libvirt-domain.h:4206
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevSizeIopsSec = "blkdeviotune.size_iops_sec"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevGroupName as defined in libvirt/libvirt-domain.h:4214
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevGroupName = "blkdeviotune.group_name"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4223
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevTotalBytesSecMaxLength = "blkdeviotune.total_bytes_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4232
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevReadBytesSecMaxLength = "blkdeviotune.read_bytes_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4241
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevWriteBytesSecMaxLength = "blkdeviotune.write_bytes_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4250
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevTotalIopsSecMaxLength = "blkdeviotune.total_iops_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4259
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevReadIopsSecMaxLength = "blkdeviotune.read_iops_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainTunableBlkdevWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4268
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainTunableBlkdevWriteIopsSecMaxLength = "blkdeviotune.write_iops_sec_max_length"
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSchedFieldLength as defined in libvirt/libvirt-domain.h:4556
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainSchedFieldLength = 80
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlkioFieldLength as defined in libvirt/libvirt-domain.h:4600
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainBlkioFieldLength = 80
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryFieldLength as defined in libvirt/libvirt-domain.h:4644
|
2018-01-03 23:19:28 +03:00
|
|
|
DomainMemoryFieldLength = 80
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectCloseReason as declared in libvirt/libvirt-common.h:120
|
|
|
|
type ConnectCloseReason int32
|
|
|
|
|
|
|
|
// ConnectCloseReason enumeration from libvirt/libvirt-common.h:120
|
|
|
|
const (
|
|
|
|
ConnectCloseReasonError ConnectCloseReason = iota
|
|
|
|
ConnectCloseReasonEOF ConnectCloseReason = 1
|
|
|
|
ConnectCloseReasonKeepalive ConnectCloseReason = 2
|
|
|
|
ConnectCloseReasonClient ConnectCloseReason = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// TypedParameterType as declared in libvirt/libvirt-common.h:139
|
|
|
|
type TypedParameterType int32
|
|
|
|
|
|
|
|
// TypedParameterType enumeration from libvirt/libvirt-common.h:139
|
|
|
|
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:164
|
|
|
|
type TypedParameterFlags int32
|
|
|
|
|
|
|
|
// TypedParameterFlags enumeration from libvirt/libvirt-common.h:164
|
|
|
|
const (
|
|
|
|
TypedParamStringOkay TypedParameterFlags = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeSuspendTarget as declared in libvirt/libvirt-host.h:62
|
|
|
|
type NodeSuspendTarget int32
|
|
|
|
|
|
|
|
// NodeSuspendTarget enumeration from libvirt/libvirt-host.h:62
|
|
|
|
const (
|
|
|
|
NodeSuspendTargetMem NodeSuspendTarget = iota
|
|
|
|
NodeSuspendTargetDisk NodeSuspendTarget = 1
|
|
|
|
NodeSuspendTargetHybrid NodeSuspendTarget = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeGetCPUStatsAllCPUs as declared in libvirt/libvirt-host.h:186
|
|
|
|
type NodeGetCPUStatsAllCPUs int32
|
|
|
|
|
|
|
|
// NodeGetCPUStatsAllCPUs enumeration from libvirt/libvirt-host.h:186
|
|
|
|
const (
|
|
|
|
NodeCPUStatsAllCpus NodeGetCPUStatsAllCPUs = -1
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeGetMemoryStatsAllCells as declared in libvirt/libvirt-host.h:264
|
|
|
|
type NodeGetMemoryStatsAllCells int32
|
|
|
|
|
|
|
|
// NodeGetMemoryStatsAllCells enumeration from libvirt/libvirt-host.h:264
|
|
|
|
const (
|
|
|
|
NodeMemoryStatsAllCells NodeGetMemoryStatsAllCells = -1
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectFlags as declared in libvirt/libvirt-host.h:443
|
|
|
|
type ConnectFlags int32
|
|
|
|
|
|
|
|
// ConnectFlags enumeration from libvirt/libvirt-host.h:443
|
|
|
|
const (
|
|
|
|
ConnectRo ConnectFlags = 1
|
|
|
|
ConnectNoAliases ConnectFlags = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectCredentialType as declared in libvirt/libvirt-host.h:460
|
|
|
|
type ConnectCredentialType int32
|
|
|
|
|
|
|
|
// ConnectCredentialType enumeration from libvirt/libvirt-host.h:460
|
|
|
|
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:633
|
|
|
|
type CPUCompareResult int32
|
|
|
|
|
|
|
|
// CPUCompareResult enumeration from libvirt/libvirt-host.h:633
|
|
|
|
const (
|
|
|
|
CPUCompareError CPUCompareResult = -1
|
|
|
|
CPUCompareIncompatible CPUCompareResult = 0
|
|
|
|
CPUCompareIdentical CPUCompareResult = 1
|
|
|
|
CPUCompareSuperset CPUCompareResult = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectCompareCPUFlags as declared in libvirt/libvirt-host.h:638
|
|
|
|
type ConnectCompareCPUFlags int32
|
|
|
|
|
|
|
|
// ConnectCompareCPUFlags enumeration from libvirt/libvirt-host.h:638
|
|
|
|
const (
|
|
|
|
ConnectCompareCPUFailIncompatible ConnectCompareCPUFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectBaselineCPUFlags as declared in libvirt/libvirt-host.h:657
|
|
|
|
type ConnectBaselineCPUFlags int32
|
|
|
|
|
|
|
|
// ConnectBaselineCPUFlags enumeration from libvirt/libvirt-host.h:657
|
|
|
|
const (
|
|
|
|
ConnectBaselineCPUExpandFeatures ConnectBaselineCPUFlags = 1
|
|
|
|
ConnectBaselineCPUMigratable ConnectBaselineCPUFlags = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeAllocPagesFlags as declared in libvirt/libvirt-host.h:679
|
|
|
|
type NodeAllocPagesFlags int32
|
|
|
|
|
|
|
|
// NodeAllocPagesFlags enumeration from libvirt/libvirt-host.h:679
|
|
|
|
const (
|
|
|
|
NodeAllocPagesAdd NodeAllocPagesFlags = iota
|
|
|
|
NodeAllocPagesSet NodeAllocPagesFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainState as declared in libvirt/libvirt-domain.h:71
|
|
|
|
type DomainState int32
|
|
|
|
|
|
|
|
// DomainState enumeration from libvirt/libvirt-domain.h:71
|
|
|
|
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:79
|
|
|
|
type DomainNostateReason int32
|
|
|
|
|
|
|
|
// DomainNostateReason enumeration from libvirt/libvirt-domain.h:79
|
|
|
|
const (
|
|
|
|
DomainNostateUnknown DomainNostateReason = iota
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainRunningReason as declared in libvirt/libvirt-domain.h:98
|
|
|
|
type DomainRunningReason int32
|
|
|
|
|
|
|
|
// DomainRunningReason enumeration from libvirt/libvirt-domain.h:98
|
|
|
|
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:106
|
|
|
|
type DomainBlockedReason int32
|
|
|
|
|
|
|
|
// DomainBlockedReason enumeration from libvirt/libvirt-domain.h:106
|
|
|
|
const (
|
|
|
|
DomainBlockedUnknown DomainBlockedReason = iota
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainPausedReason as declared in libvirt/libvirt-domain.h:127
|
|
|
|
type DomainPausedReason int32
|
|
|
|
|
|
|
|
// DomainPausedReason enumeration from libvirt/libvirt-domain.h:127
|
|
|
|
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:136
|
|
|
|
type DomainShutdownReason int32
|
|
|
|
|
|
|
|
// DomainShutdownReason enumeration from libvirt/libvirt-domain.h:136
|
|
|
|
const (
|
|
|
|
DomainShutdownUnknown DomainShutdownReason = iota
|
|
|
|
DomainShutdownUser DomainShutdownReason = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainShutoffReason as declared in libvirt/libvirt-domain.h:151
|
|
|
|
type DomainShutoffReason int32
|
|
|
|
|
|
|
|
// DomainShutoffReason enumeration from libvirt/libvirt-domain.h:151
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainCrashedReason as declared in libvirt/libvirt-domain.h:160
|
|
|
|
type DomainCrashedReason int32
|
|
|
|
|
|
|
|
// DomainCrashedReason enumeration from libvirt/libvirt-domain.h:160
|
|
|
|
const (
|
|
|
|
DomainCrashedUnknown DomainCrashedReason = iota
|
|
|
|
DomainCrashedPanicked DomainCrashedReason = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainPMSuspendedReason as declared in libvirt/libvirt-domain.h:168
|
|
|
|
type DomainPMSuspendedReason int32
|
|
|
|
|
|
|
|
// DomainPMSuspendedReason enumeration from libvirt/libvirt-domain.h:168
|
|
|
|
const (
|
|
|
|
DomainPmsuspendedUnknown DomainPMSuspendedReason = iota
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainPMSuspendedDiskReason as declared in libvirt/libvirt-domain.h:176
|
|
|
|
type DomainPMSuspendedDiskReason int32
|
|
|
|
|
|
|
|
// DomainPMSuspendedDiskReason enumeration from libvirt/libvirt-domain.h:176
|
|
|
|
const (
|
|
|
|
DomainPmsuspendedDiskUnknown DomainPMSuspendedDiskReason = iota
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainControlState as declared in libvirt/libvirt-domain.h:196
|
|
|
|
type DomainControlState int32
|
|
|
|
|
|
|
|
// DomainControlState enumeration from libvirt/libvirt-domain.h:196
|
|
|
|
const (
|
|
|
|
DomainControlOk DomainControlState = iota
|
|
|
|
DomainControlJob DomainControlState = 1
|
|
|
|
DomainControlOccupied DomainControlState = 2
|
|
|
|
DomainControlError DomainControlState = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainControlErrorReason as declared in libvirt/libvirt-domain.h:216
|
|
|
|
type DomainControlErrorReason int32
|
|
|
|
|
|
|
|
// DomainControlErrorReason enumeration from libvirt/libvirt-domain.h:216
|
|
|
|
const (
|
|
|
|
DomainControlErrorReasonNone DomainControlErrorReason = iota
|
|
|
|
DomainControlErrorReasonUnknown DomainControlErrorReason = 1
|
|
|
|
DomainControlErrorReasonMonitor DomainControlErrorReason = 2
|
|
|
|
DomainControlErrorReasonInternal DomainControlErrorReason = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainModificationImpact as declared in libvirt/libvirt-domain.h:264
|
|
|
|
type DomainModificationImpact int32
|
|
|
|
|
|
|
|
// DomainModificationImpact enumeration from libvirt/libvirt-domain.h:264
|
|
|
|
const (
|
|
|
|
DomainAffectCurrent DomainModificationImpact = iota
|
|
|
|
DomainAffectLive DomainModificationImpact = 1
|
|
|
|
DomainAffectConfig DomainModificationImpact = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainCreateFlags as declared in libvirt/libvirt-domain.h:304
|
|
|
|
type DomainCreateFlags int32
|
|
|
|
|
|
|
|
// DomainCreateFlags enumeration from libvirt/libvirt-domain.h:304
|
|
|
|
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:640
|
|
|
|
type DomainMemoryStatTags int32
|
|
|
|
|
|
|
|
// DomainMemoryStatTags enumeration from libvirt/libvirt-domain.h:640
|
|
|
|
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
|
|
|
|
DomainMemoryStatNr DomainMemoryStatTags = 10
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainCoreDumpFlags as declared in libvirt/libvirt-domain.h:659
|
|
|
|
type DomainCoreDumpFlags int32
|
|
|
|
|
|
|
|
// DomainCoreDumpFlags enumeration from libvirt/libvirt-domain.h:659
|
|
|
|
const (
|
|
|
|
DumpCrash DomainCoreDumpFlags = 1
|
|
|
|
DumpLive DomainCoreDumpFlags = 2
|
|
|
|
DumpBypassCache DomainCoreDumpFlags = 4
|
|
|
|
DumpReset DomainCoreDumpFlags = 8
|
|
|
|
DumpMemoryOnly DomainCoreDumpFlags = 16
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainCoreDumpFormat as declared in libvirt/libvirt-domain.h:682
|
|
|
|
type DomainCoreDumpFormat int32
|
|
|
|
|
|
|
|
// DomainCoreDumpFormat enumeration from libvirt/libvirt-domain.h:682
|
|
|
|
const (
|
|
|
|
DomainCoreDumpFormatRaw DomainCoreDumpFormat = iota
|
|
|
|
DomainCoreDumpFormatKdumpZlib DomainCoreDumpFormat = 1
|
|
|
|
DomainCoreDumpFormatKdumpLzo DomainCoreDumpFormat = 2
|
|
|
|
DomainCoreDumpFormatKdumpSnappy DomainCoreDumpFormat = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainMigrateFlags as declared in libvirt/libvirt-domain.h:826
|
|
|
|
type DomainMigrateFlags int32
|
|
|
|
|
|
|
|
// DomainMigrateFlags enumeration from libvirt/libvirt-domain.h:826
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainShutdownFlagValues as declared in libvirt/libvirt-domain.h:1121
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainShutdownFlagValues int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainShutdownFlagValues enumeration from libvirt/libvirt-domain.h:1121
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainShutdownDefault DomainShutdownFlagValues = iota
|
|
|
|
DomainShutdownAcpiPowerBtn DomainShutdownFlagValues = 1
|
|
|
|
DomainShutdownGuestAgent DomainShutdownFlagValues = 2
|
|
|
|
DomainShutdownInitctl DomainShutdownFlagValues = 4
|
|
|
|
DomainShutdownSignal DomainShutdownFlagValues = 8
|
|
|
|
DomainShutdownParavirt DomainShutdownFlagValues = 16
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainRebootFlagValues as declared in libvirt/libvirt-domain.h:1134
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainRebootFlagValues int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainRebootFlagValues enumeration from libvirt/libvirt-domain.h:1134
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainRebootDefault DomainRebootFlagValues = iota
|
|
|
|
DomainRebootAcpiPowerBtn DomainRebootFlagValues = 1
|
|
|
|
DomainRebootGuestAgent DomainRebootFlagValues = 2
|
|
|
|
DomainRebootInitctl DomainRebootFlagValues = 4
|
|
|
|
DomainRebootSignal DomainRebootFlagValues = 8
|
|
|
|
DomainRebootParavirt DomainRebootFlagValues = 16
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDestroyFlagsValues as declared in libvirt/libvirt-domain.h:1152
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainDestroyFlagsValues int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDestroyFlagsValues enumeration from libvirt/libvirt-domain.h:1152
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainDestroyDefault DomainDestroyFlagsValues = iota
|
|
|
|
DomainDestroyGraceful DomainDestroyFlagsValues = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSaveRestoreFlags as declared in libvirt/libvirt-domain.h:1184
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainSaveRestoreFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSaveRestoreFlags enumeration from libvirt/libvirt-domain.h:1184
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainSaveBypassCache DomainSaveRestoreFlags = 1
|
|
|
|
DomainSaveRunning DomainSaveRestoreFlags = 2
|
|
|
|
DomainSavePaused DomainSaveRestoreFlags = 4
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryModFlags as declared in libvirt/libvirt-domain.h:1439
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainMemoryModFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryModFlags enumeration from libvirt/libvirt-domain.h:1439
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainMemCurrent DomainMemoryModFlags = iota
|
|
|
|
DomainMemLive DomainMemoryModFlags = 1
|
|
|
|
DomainMemConfig DomainMemoryModFlags = 2
|
|
|
|
DomainMemMaximum DomainMemoryModFlags = 4
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainNumatuneMemMode as declared in libvirt/libvirt-domain.h:1457
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainNumatuneMemMode int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainNumatuneMemMode enumeration from libvirt/libvirt-domain.h:1457
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainNumatuneMemStrict DomainNumatuneMemMode = iota
|
|
|
|
DomainNumatuneMemPreferred DomainNumatuneMemMode = 1
|
|
|
|
DomainNumatuneMemInterleave DomainNumatuneMemMode = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMetadataType as declared in libvirt/libvirt-domain.h:1519
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainMetadataType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMetadataType enumeration from libvirt/libvirt-domain.h:1519
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainMetadataDescription DomainMetadataType = iota
|
|
|
|
DomainMetadataTitle DomainMetadataType = 1
|
|
|
|
DomainMetadataElement DomainMetadataType = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainXMLFlags as declared in libvirt/libvirt-domain.h:1549
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainXMLFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainXMLFlags enumeration from libvirt/libvirt-domain.h:1549
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainXMLSecure DomainXMLFlags = 1
|
|
|
|
DomainXMLInactive DomainXMLFlags = 2
|
|
|
|
DomainXMLUpdateCPU DomainXMLFlags = 4
|
|
|
|
DomainXMLMigratable DomainXMLFlags = 8
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockResizeFlags as declared in libvirt/libvirt-domain.h:1654
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockResizeFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockResizeFlags enumeration from libvirt/libvirt-domain.h:1654
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockResizeBytes DomainBlockResizeFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryFlags as declared in libvirt/libvirt-domain.h:1717
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainMemoryFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainMemoryFlags enumeration from libvirt/libvirt-domain.h:1717
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
MemoryVirtual DomainMemoryFlags = 1
|
|
|
|
MemoryPhysical DomainMemoryFlags = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDefineFlags as declared in libvirt/libvirt-domain.h:1727
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainDefineFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDefineFlags enumeration from libvirt/libvirt-domain.h:1727
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainDefineValidate DomainDefineFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainUndefineFlagsValues as declared in libvirt/libvirt-domain.h:1751
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainUndefineFlagsValues int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainUndefineFlagsValues enumeration from libvirt/libvirt-domain.h:1751
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainUndefineManagedSave DomainUndefineFlagsValues = 1
|
|
|
|
DomainUndefineSnapshotsMetadata DomainUndefineFlagsValues = 2
|
|
|
|
DomainUndefineNvram DomainUndefineFlagsValues = 4
|
|
|
|
DomainUndefineKeepNvram DomainUndefineFlagsValues = 8
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectListAllDomainsFlags as declared in libvirt/libvirt-domain.h:1787
|
2018-01-03 23:19:28 +03:00
|
|
|
type ConnectListAllDomainsFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectListAllDomainsFlags enumeration from libvirt/libvirt-domain.h:1787
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
ConnectListDomainsActive ConnectListAllDomainsFlags = 1
|
|
|
|
ConnectListDomainsInactive ConnectListAllDomainsFlags = 2
|
|
|
|
ConnectListDomainsPersistent ConnectListAllDomainsFlags = 4
|
|
|
|
ConnectListDomainsTransient ConnectListAllDomainsFlags = 8
|
|
|
|
ConnectListDomainsRunning ConnectListAllDomainsFlags = 16
|
|
|
|
ConnectListDomainsPaused ConnectListAllDomainsFlags = 32
|
|
|
|
ConnectListDomainsShutoff ConnectListAllDomainsFlags = 64
|
|
|
|
ConnectListDomainsOther ConnectListAllDomainsFlags = 128
|
|
|
|
ConnectListDomainsManagedsave ConnectListAllDomainsFlags = 256
|
|
|
|
ConnectListDomainsNoManagedsave ConnectListAllDomainsFlags = 512
|
|
|
|
ConnectListDomainsAutostart ConnectListAllDomainsFlags = 1024
|
|
|
|
ConnectListDomainsNoAutostart ConnectListAllDomainsFlags = 2048
|
|
|
|
ConnectListDomainsHasSnapshot ConnectListAllDomainsFlags = 4096
|
|
|
|
ConnectListDomainsNoSnapshot ConnectListAllDomainsFlags = 8192
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// VCPUState as declared in libvirt/libvirt-domain.h:1818
|
2018-01-03 23:19:28 +03:00
|
|
|
type VCPUState int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// VCPUState enumeration from libvirt/libvirt-domain.h:1818
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
VCPUOffline VCPUState = iota
|
|
|
|
VCPURunning VCPUState = 1
|
|
|
|
VCPUBlocked VCPUState = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainVCPUFlags as declared in libvirt/libvirt-domain.h:1840
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainVCPUFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainVCPUFlags enumeration from libvirt/libvirt-domain.h:1840
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainVCPUCurrent DomainVCPUFlags = iota
|
|
|
|
DomainVCPULive DomainVCPUFlags = 1
|
|
|
|
DomainVCPUConfig DomainVCPUFlags = 2
|
|
|
|
DomainVCPUMaximum DomainVCPUFlags = 4
|
|
|
|
DomainVCPUGuest DomainVCPUFlags = 8
|
|
|
|
DomainVCPUHotpluggable DomainVCPUFlags = 16
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDeviceModifyFlags as declared in libvirt/libvirt-domain.h:2013
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainDeviceModifyFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDeviceModifyFlags enumeration from libvirt/libvirt-domain.h:2013
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainDeviceModifyCurrent DomainDeviceModifyFlags = iota
|
|
|
|
DomainDeviceModifyLive DomainDeviceModifyFlags = 1
|
|
|
|
DomainDeviceModifyConfig DomainDeviceModifyFlags = 2
|
|
|
|
DomainDeviceModifyForce DomainDeviceModifyFlags = 4
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainStatsTypes as declared in libvirt/libvirt-domain.h:2041
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainStatsTypes int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainStatsTypes enumeration from libvirt/libvirt-domain.h:2041
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainStatsState DomainStatsTypes = 1
|
|
|
|
DomainStatsCPUTotal DomainStatsTypes = 2
|
|
|
|
DomainStatsBalloon DomainStatsTypes = 4
|
|
|
|
DomainStatsVCPU DomainStatsTypes = 8
|
|
|
|
DomainStatsInterface DomainStatsTypes = 16
|
|
|
|
DomainStatsBlock DomainStatsTypes = 32
|
|
|
|
DomainStatsPerf DomainStatsTypes = 64
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectGetAllDomainStatsFlags as declared in libvirt/libvirt-domain.h:2057
|
2018-01-03 23:19:28 +03:00
|
|
|
type ConnectGetAllDomainStatsFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectGetAllDomainStatsFlags enumeration from libvirt/libvirt-domain.h:2057
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
ConnectGetAllDomainsStatsActive ConnectGetAllDomainStatsFlags = 1
|
|
|
|
ConnectGetAllDomainsStatsInactive ConnectGetAllDomainStatsFlags = 2
|
|
|
|
ConnectGetAllDomainsStatsPersistent ConnectGetAllDomainStatsFlags = 4
|
|
|
|
ConnectGetAllDomainsStatsTransient ConnectGetAllDomainStatsFlags = 8
|
|
|
|
ConnectGetAllDomainsStatsRunning ConnectGetAllDomainStatsFlags = 16
|
|
|
|
ConnectGetAllDomainsStatsPaused ConnectGetAllDomainStatsFlags = 32
|
|
|
|
ConnectGetAllDomainsStatsShutoff ConnectGetAllDomainStatsFlags = 64
|
|
|
|
ConnectGetAllDomainsStatsOther ConnectGetAllDomainStatsFlags = 128
|
|
|
|
ConnectGetAllDomainsStatsBacking ConnectGetAllDomainStatsFlags = 1073741824
|
|
|
|
ConnectGetAllDomainsStatsEnforceStats ConnectGetAllDomainStatsFlags = -2147483648
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobType as declared in libvirt/libvirt-domain.h:2341
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockJobType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobType enumeration from libvirt/libvirt-domain.h:2341
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockJobTypeUnknown DomainBlockJobType = iota
|
|
|
|
DomainBlockJobTypePull DomainBlockJobType = 1
|
|
|
|
DomainBlockJobTypeCopy DomainBlockJobType = 2
|
|
|
|
DomainBlockJobTypeCommit DomainBlockJobType = 3
|
|
|
|
DomainBlockJobTypeActiveCommit DomainBlockJobType = 4
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobAbortFlags as declared in libvirt/libvirt-domain.h:2353
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockJobAbortFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobAbortFlags enumeration from libvirt/libvirt-domain.h:2353
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockJobAbortAsync DomainBlockJobAbortFlags = 1
|
|
|
|
DomainBlockJobAbortPivot DomainBlockJobAbortFlags = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobInfoFlags as declared in libvirt/libvirt-domain.h:2362
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockJobInfoFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobInfoFlags enumeration from libvirt/libvirt-domain.h:2362
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockJobInfoBandwidthBytes DomainBlockJobInfoFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobSetSpeedFlags as declared in libvirt/libvirt-domain.h:2391
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockJobSetSpeedFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockJobSetSpeedFlags enumeration from libvirt/libvirt-domain.h:2391
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockJobSpeedBandwidthBytes DomainBlockJobSetSpeedFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockPullFlags as declared in libvirt/libvirt-domain.h:2401
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockPullFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockPullFlags enumeration from libvirt/libvirt-domain.h:2401
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockPullBandwidthBytes DomainBlockPullFlags = 64
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockRebaseFlags as declared in libvirt/libvirt-domain.h:2425
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockRebaseFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockRebaseFlags enumeration from libvirt/libvirt-domain.h:2425
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockRebaseShallow DomainBlockRebaseFlags = 1
|
|
|
|
DomainBlockRebaseReuseExt DomainBlockRebaseFlags = 2
|
|
|
|
DomainBlockRebaseCopyRaw DomainBlockRebaseFlags = 4
|
|
|
|
DomainBlockRebaseCopy DomainBlockRebaseFlags = 8
|
|
|
|
DomainBlockRebaseRelative DomainBlockRebaseFlags = 16
|
|
|
|
DomainBlockRebaseCopyDev DomainBlockRebaseFlags = 32
|
|
|
|
DomainBlockRebaseBandwidthBytes DomainBlockRebaseFlags = 64
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCopyFlags as declared in libvirt/libvirt-domain.h:2444
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockCopyFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCopyFlags enumeration from libvirt/libvirt-domain.h:2444
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockCopyShallow DomainBlockCopyFlags = 1
|
|
|
|
DomainBlockCopyReuseExt DomainBlockCopyFlags = 2
|
|
|
|
DomainBlockCopyTransientJob DomainBlockCopyFlags = 4
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCommitFlags as declared in libvirt/libvirt-domain.h:2509
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainBlockCommitFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainBlockCommitFlags enumeration from libvirt/libvirt-domain.h:2509
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockCommitShallow DomainBlockCommitFlags = 1
|
|
|
|
DomainBlockCommitDelete DomainBlockCommitFlags = 2
|
|
|
|
DomainBlockCommitActive DomainBlockCommitFlags = 4
|
|
|
|
DomainBlockCommitRelative DomainBlockCommitFlags = 8
|
|
|
|
DomainBlockCommitBandwidthBytes DomainBlockCommitFlags = 16
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDiskErrorCode as declared in libvirt/libvirt-domain.h:2700
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainDiskErrorCode int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainDiskErrorCode enumeration from libvirt/libvirt-domain.h:2700
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainDiskErrorNone DomainDiskErrorCode = iota
|
|
|
|
DomainDiskErrorUnspec DomainDiskErrorCode = 1
|
|
|
|
DomainDiskErrorNoSpace DomainDiskErrorCode = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// KeycodeSet as declared in libvirt/libvirt-domain.h:2746
|
2018-01-03 23:19:28 +03:00
|
|
|
type KeycodeSet int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// KeycodeSet enumeration from libvirt/libvirt-domain.h:2746
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
KeycodeSetLinux KeycodeSet = iota
|
|
|
|
KeycodeSetXt KeycodeSet = 1
|
|
|
|
KeycodeSetAtset1 KeycodeSet = 2
|
|
|
|
KeycodeSetAtset2 KeycodeSet = 3
|
|
|
|
KeycodeSetAtset3 KeycodeSet = 4
|
|
|
|
KeycodeSetOsx KeycodeSet = 5
|
|
|
|
KeycodeSetXtKbd KeycodeSet = 6
|
|
|
|
KeycodeSetUsb KeycodeSet = 7
|
|
|
|
KeycodeSetWin32 KeycodeSet = 8
|
|
|
|
KeycodeSetRfb KeycodeSet = 9
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainProcessSignal as declared in libvirt/libvirt-domain.h:2848
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainProcessSignal int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainProcessSignal enumeration from libvirt/libvirt-domain.h:2848
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainProcessSignalNop DomainProcessSignal = iota
|
|
|
|
DomainProcessSignalHup DomainProcessSignal = 1
|
|
|
|
DomainProcessSignalInt DomainProcessSignal = 2
|
|
|
|
DomainProcessSignalQuit DomainProcessSignal = 3
|
|
|
|
DomainProcessSignalIll DomainProcessSignal = 4
|
|
|
|
DomainProcessSignalTrap DomainProcessSignal = 5
|
|
|
|
DomainProcessSignalAbrt DomainProcessSignal = 6
|
|
|
|
DomainProcessSignalBus DomainProcessSignal = 7
|
|
|
|
DomainProcessSignalFpe DomainProcessSignal = 8
|
|
|
|
DomainProcessSignalKill DomainProcessSignal = 9
|
|
|
|
DomainProcessSignalUsr1 DomainProcessSignal = 10
|
|
|
|
DomainProcessSignalSegv DomainProcessSignal = 11
|
|
|
|
DomainProcessSignalUsr2 DomainProcessSignal = 12
|
|
|
|
DomainProcessSignalPipe DomainProcessSignal = 13
|
|
|
|
DomainProcessSignalAlrm DomainProcessSignal = 14
|
|
|
|
DomainProcessSignalTerm DomainProcessSignal = 15
|
|
|
|
DomainProcessSignalStkflt DomainProcessSignal = 16
|
|
|
|
DomainProcessSignalChld DomainProcessSignal = 17
|
|
|
|
DomainProcessSignalCont DomainProcessSignal = 18
|
|
|
|
DomainProcessSignalStop DomainProcessSignal = 19
|
|
|
|
DomainProcessSignalTstp DomainProcessSignal = 20
|
|
|
|
DomainProcessSignalTtin DomainProcessSignal = 21
|
|
|
|
DomainProcessSignalTtou DomainProcessSignal = 22
|
|
|
|
DomainProcessSignalUrg DomainProcessSignal = 23
|
|
|
|
DomainProcessSignalXcpu DomainProcessSignal = 24
|
|
|
|
DomainProcessSignalXfsz DomainProcessSignal = 25
|
|
|
|
DomainProcessSignalVtalrm DomainProcessSignal = 26
|
|
|
|
DomainProcessSignalProf DomainProcessSignal = 27
|
|
|
|
DomainProcessSignalWinch DomainProcessSignal = 28
|
|
|
|
DomainProcessSignalPoll DomainProcessSignal = 29
|
|
|
|
DomainProcessSignalPwr DomainProcessSignal = 30
|
|
|
|
DomainProcessSignalSys DomainProcessSignal = 31
|
|
|
|
DomainProcessSignalRt0 DomainProcessSignal = 32
|
|
|
|
DomainProcessSignalRt1 DomainProcessSignal = 33
|
|
|
|
DomainProcessSignalRt2 DomainProcessSignal = 34
|
|
|
|
DomainProcessSignalRt3 DomainProcessSignal = 35
|
|
|
|
DomainProcessSignalRt4 DomainProcessSignal = 36
|
|
|
|
DomainProcessSignalRt5 DomainProcessSignal = 37
|
|
|
|
DomainProcessSignalRt6 DomainProcessSignal = 38
|
|
|
|
DomainProcessSignalRt7 DomainProcessSignal = 39
|
|
|
|
DomainProcessSignalRt8 DomainProcessSignal = 40
|
|
|
|
DomainProcessSignalRt9 DomainProcessSignal = 41
|
|
|
|
DomainProcessSignalRt10 DomainProcessSignal = 42
|
|
|
|
DomainProcessSignalRt11 DomainProcessSignal = 43
|
|
|
|
DomainProcessSignalRt12 DomainProcessSignal = 44
|
|
|
|
DomainProcessSignalRt13 DomainProcessSignal = 45
|
|
|
|
DomainProcessSignalRt14 DomainProcessSignal = 46
|
|
|
|
DomainProcessSignalRt15 DomainProcessSignal = 47
|
|
|
|
DomainProcessSignalRt16 DomainProcessSignal = 48
|
|
|
|
DomainProcessSignalRt17 DomainProcessSignal = 49
|
|
|
|
DomainProcessSignalRt18 DomainProcessSignal = 50
|
|
|
|
DomainProcessSignalRt19 DomainProcessSignal = 51
|
|
|
|
DomainProcessSignalRt20 DomainProcessSignal = 52
|
|
|
|
DomainProcessSignalRt21 DomainProcessSignal = 53
|
|
|
|
DomainProcessSignalRt22 DomainProcessSignal = 54
|
|
|
|
DomainProcessSignalRt23 DomainProcessSignal = 55
|
|
|
|
DomainProcessSignalRt24 DomainProcessSignal = 56
|
|
|
|
DomainProcessSignalRt25 DomainProcessSignal = 57
|
|
|
|
DomainProcessSignalRt26 DomainProcessSignal = 58
|
|
|
|
DomainProcessSignalRt27 DomainProcessSignal = 59
|
|
|
|
DomainProcessSignalRt28 DomainProcessSignal = 60
|
|
|
|
DomainProcessSignalRt29 DomainProcessSignal = 61
|
|
|
|
DomainProcessSignalRt30 DomainProcessSignal = 62
|
|
|
|
DomainProcessSignalRt31 DomainProcessSignal = 63
|
|
|
|
DomainProcessSignalRt32 DomainProcessSignal = 64
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventType as declared in libvirt/libvirt-domain.h:2886
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventType enumeration from libvirt/libvirt-domain.h:2886
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventDefined DomainEventType = iota
|
|
|
|
DomainEventUndefined DomainEventType = 1
|
|
|
|
DomainEventStarted DomainEventType = 2
|
|
|
|
DomainEventSuspended DomainEventType = 3
|
|
|
|
DomainEventResumed DomainEventType = 4
|
|
|
|
DomainEventStopped DomainEventType = 5
|
|
|
|
DomainEventShutdown DomainEventType = 6
|
|
|
|
DomainEventPmsuspended DomainEventType = 7
|
|
|
|
DomainEventCrashed DomainEventType = 8
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventDefinedDetailType as declared in libvirt/libvirt-domain.h:2902
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventDefinedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventDefinedDetailType enumeration from libvirt/libvirt-domain.h:2902
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventDefinedAdded DomainEventDefinedDetailType = iota
|
|
|
|
DomainEventDefinedUpdated DomainEventDefinedDetailType = 1
|
|
|
|
DomainEventDefinedRenamed DomainEventDefinedDetailType = 2
|
|
|
|
DomainEventDefinedFromSnapshot DomainEventDefinedDetailType = 3
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventUndefinedDetailType as declared in libvirt/libvirt-domain.h:2916
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventUndefinedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventUndefinedDetailType enumeration from libvirt/libvirt-domain.h:2916
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventUndefinedRemoved DomainEventUndefinedDetailType = iota
|
|
|
|
DomainEventUndefinedRenamed DomainEventUndefinedDetailType = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventStartedDetailType as declared in libvirt/libvirt-domain.h:2933
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventStartedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventStartedDetailType enumeration from libvirt/libvirt-domain.h:2933
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventStartedBooted DomainEventStartedDetailType = iota
|
|
|
|
DomainEventStartedMigrated DomainEventStartedDetailType = 1
|
|
|
|
DomainEventStartedRestored DomainEventStartedDetailType = 2
|
|
|
|
DomainEventStartedFromSnapshot DomainEventStartedDetailType = 3
|
|
|
|
DomainEventStartedWakeup DomainEventStartedDetailType = 4
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventSuspendedDetailType as declared in libvirt/libvirt-domain.h:2954
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventSuspendedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventSuspendedDetailType enumeration from libvirt/libvirt-domain.h:2954
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventSuspendedPaused DomainEventSuspendedDetailType = iota
|
|
|
|
DomainEventSuspendedMigrated DomainEventSuspendedDetailType = 1
|
|
|
|
DomainEventSuspendedIoerror DomainEventSuspendedDetailType = 2
|
|
|
|
DomainEventSuspendedWatchdog DomainEventSuspendedDetailType = 3
|
|
|
|
DomainEventSuspendedRestored DomainEventSuspendedDetailType = 4
|
|
|
|
DomainEventSuspendedFromSnapshot DomainEventSuspendedDetailType = 5
|
|
|
|
DomainEventSuspendedAPIError DomainEventSuspendedDetailType = 6
|
|
|
|
DomainEventSuspendedPostcopy DomainEventSuspendedDetailType = 7
|
|
|
|
DomainEventSuspendedPostcopyFailed DomainEventSuspendedDetailType = 8
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventResumedDetailType as declared in libvirt/libvirt-domain.h:2971
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventResumedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventResumedDetailType enumeration from libvirt/libvirt-domain.h:2971
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventResumedUnpaused DomainEventResumedDetailType = iota
|
|
|
|
DomainEventResumedMigrated DomainEventResumedDetailType = 1
|
|
|
|
DomainEventResumedFromSnapshot DomainEventResumedDetailType = 2
|
|
|
|
DomainEventResumedPostcopy DomainEventResumedDetailType = 3
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventStoppedDetailType as declared in libvirt/libvirt-domain.h:2990
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventStoppedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventStoppedDetailType enumeration from libvirt/libvirt-domain.h:2990
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventStoppedShutdown DomainEventStoppedDetailType = iota
|
|
|
|
DomainEventStoppedDestroyed DomainEventStoppedDetailType = 1
|
|
|
|
DomainEventStoppedCrashed DomainEventStoppedDetailType = 2
|
|
|
|
DomainEventStoppedMigrated DomainEventStoppedDetailType = 3
|
|
|
|
DomainEventStoppedSaved DomainEventStoppedDetailType = 4
|
|
|
|
DomainEventStoppedFailed DomainEventStoppedDetailType = 5
|
|
|
|
DomainEventStoppedFromSnapshot DomainEventStoppedDetailType = 6
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventShutdownDetailType as declared in libvirt/libvirt-domain.h:3013
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventShutdownDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventShutdownDetailType enumeration from libvirt/libvirt-domain.h:3013
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventShutdownFinished DomainEventShutdownDetailType = iota
|
|
|
|
DomainEventShutdownGuest DomainEventShutdownDetailType = 1
|
|
|
|
DomainEventShutdownHost DomainEventShutdownDetailType = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventPMSuspendedDetailType as declared in libvirt/libvirt-domain.h:3027
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventPMSuspendedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventPMSuspendedDetailType enumeration from libvirt/libvirt-domain.h:3027
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventPmsuspendedMemory DomainEventPMSuspendedDetailType = iota
|
|
|
|
DomainEventPmsuspendedDisk DomainEventPMSuspendedDetailType = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventCrashedDetailType as declared in libvirt/libvirt-domain.h:3040
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventCrashedDetailType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventCrashedDetailType enumeration from libvirt/libvirt-domain.h:3040
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventCrashedPanicked DomainEventCrashedDetailType = iota
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobType as declared in libvirt/libvirt-domain.h:3084
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainJobType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobType enumeration from libvirt/libvirt-domain.h:3084
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainJobNone DomainJobType = iota
|
|
|
|
DomainJobBounded DomainJobType = 1
|
|
|
|
DomainJobUnbounded DomainJobType = 2
|
|
|
|
DomainJobCompleted DomainJobType = 3
|
|
|
|
DomainJobFailed DomainJobType = 4
|
|
|
|
DomainJobCancelled DomainJobType = 5
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainGetJobStatsFlags as declared in libvirt/libvirt-domain.h:3131
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainGetJobStatsFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainGetJobStatsFlags enumeration from libvirt/libvirt-domain.h:3131
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainJobStatsCompleted DomainGetJobStatsFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobOperation as declared in libvirt/libvirt-domain.h:3156
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainJobOperation int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainJobOperation enumeration from libvirt/libvirt-domain.h:3156
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainJobOperationStrUnknown DomainJobOperation = iota
|
|
|
|
DomainJobOperationStrStart DomainJobOperation = 1
|
|
|
|
DomainJobOperationStrSave DomainJobOperation = 2
|
|
|
|
DomainJobOperationStrRestore DomainJobOperation = 3
|
|
|
|
DomainJobOperationStrMigrationIn DomainJobOperation = 4
|
|
|
|
DomainJobOperationStrMigrationOut DomainJobOperation = 5
|
|
|
|
DomainJobOperationStrSnapshot DomainJobOperation = 6
|
|
|
|
DomainJobOperationStrSnapshotRevert DomainJobOperation = 7
|
|
|
|
DomainJobOperationStrDump DomainJobOperation = 8
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventWatchdogAction as declared in libvirt/libvirt-domain.h:3500
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventWatchdogAction int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventWatchdogAction enumeration from libvirt/libvirt-domain.h:3500
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventWatchdogNone DomainEventWatchdogAction = iota
|
|
|
|
DomainEventWatchdogPause DomainEventWatchdogAction = 1
|
|
|
|
DomainEventWatchdogReset DomainEventWatchdogAction = 2
|
|
|
|
DomainEventWatchdogPoweroff DomainEventWatchdogAction = 3
|
|
|
|
DomainEventWatchdogShutdown DomainEventWatchdogAction = 4
|
|
|
|
DomainEventWatchdogDebug DomainEventWatchdogAction = 5
|
|
|
|
DomainEventWatchdogInjectnmi DomainEventWatchdogAction = 6
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventIOErrorAction as declared in libvirt/libvirt-domain.h:3531
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventIOErrorAction int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventIOErrorAction enumeration from libvirt/libvirt-domain.h:3531
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventIoErrorNone DomainEventIOErrorAction = iota
|
|
|
|
DomainEventIoErrorPause DomainEventIOErrorAction = 1
|
|
|
|
DomainEventIoErrorReport DomainEventIOErrorAction = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventGraphicsPhase as declared in libvirt/libvirt-domain.h:3594
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventGraphicsPhase int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventGraphicsPhase enumeration from libvirt/libvirt-domain.h:3594
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventGraphicsConnect DomainEventGraphicsPhase = iota
|
|
|
|
DomainEventGraphicsInitialize DomainEventGraphicsPhase = 1
|
|
|
|
DomainEventGraphicsDisconnect DomainEventGraphicsPhase = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventGraphicsAddressType as declared in libvirt/libvirt-domain.h:3609
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventGraphicsAddressType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventGraphicsAddressType enumeration from libvirt/libvirt-domain.h:3609
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventGraphicsAddressIpv4 DomainEventGraphicsAddressType = iota
|
|
|
|
DomainEventGraphicsAddressIpv6 DomainEventGraphicsAddressType = 1
|
|
|
|
DomainEventGraphicsAddressUnix DomainEventGraphicsAddressType = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventBlockJobStatus as declared in libvirt/libvirt-domain.h:3697
|
2018-01-03 23:19:28 +03:00
|
|
|
type ConnectDomainEventBlockJobStatus int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventBlockJobStatus enumeration from libvirt/libvirt-domain.h:3697
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlockJobCompleted ConnectDomainEventBlockJobStatus = iota
|
|
|
|
DomainBlockJobFailed ConnectDomainEventBlockJobStatus = 1
|
|
|
|
DomainBlockJobCanceled ConnectDomainEventBlockJobStatus = 2
|
|
|
|
DomainBlockJobReady ConnectDomainEventBlockJobStatus = 3
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventDiskChangeReason as declared in libvirt/libvirt-domain.h:3747
|
2018-01-03 23:19:28 +03:00
|
|
|
type ConnectDomainEventDiskChangeReason int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventDiskChangeReason enumeration from libvirt/libvirt-domain.h:3747
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventDiskChangeMissingOnStart ConnectDomainEventDiskChangeReason = iota
|
|
|
|
DomainEventDiskDropMissingOnStart ConnectDomainEventDiskChangeReason = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventTrayChangeReason as declared in libvirt/libvirt-domain.h:3788
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventTrayChangeReason int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventTrayChangeReason enumeration from libvirt/libvirt-domain.h:3788
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventTrayChangeOpen DomainEventTrayChangeReason = iota
|
|
|
|
DomainEventTrayChangeClose DomainEventTrayChangeReason = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventAgentLifecycleState as declared in libvirt/libvirt-domain.h:4303
|
2018-01-03 23:19:28 +03:00
|
|
|
type ConnectDomainEventAgentLifecycleState int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventAgentLifecycleState enumeration from libvirt/libvirt-domain.h:4303
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
ConnectDomainEventAgentLifecycleStateConnected ConnectDomainEventAgentLifecycleState = 1
|
|
|
|
ConnectDomainEventAgentLifecycleStateDisconnected ConnectDomainEventAgentLifecycleState = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventAgentLifecycleReason as declared in libvirt/libvirt-domain.h:4313
|
2018-01-03 23:19:28 +03:00
|
|
|
type ConnectDomainEventAgentLifecycleReason int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// ConnectDomainEventAgentLifecycleReason enumeration from libvirt/libvirt-domain.h:4313
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
ConnectDomainEventAgentLifecycleReasonUnknown ConnectDomainEventAgentLifecycleReason = iota
|
|
|
|
ConnectDomainEventAgentLifecycleReasonDomainStarted ConnectDomainEventAgentLifecycleReason = 1
|
|
|
|
ConnectDomainEventAgentLifecycleReasonChannel ConnectDomainEventAgentLifecycleReason = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventID as declared in libvirt/libvirt-domain.h:4417
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainEventID int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainEventID enumeration from libvirt/libvirt-domain.h:4417
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainEventIDLifecycle DomainEventID = iota
|
|
|
|
DomainEventIDReboot DomainEventID = 1
|
|
|
|
DomainEventIDRtcChange DomainEventID = 2
|
|
|
|
DomainEventIDWatchdog DomainEventID = 3
|
|
|
|
DomainEventIDIoError DomainEventID = 4
|
|
|
|
DomainEventIDGraphics DomainEventID = 5
|
|
|
|
DomainEventIDIoErrorReason DomainEventID = 6
|
|
|
|
DomainEventIDControlError DomainEventID = 7
|
|
|
|
DomainEventIDBlockJob DomainEventID = 8
|
|
|
|
DomainEventIDDiskChange DomainEventID = 9
|
|
|
|
DomainEventIDTrayChange DomainEventID = 10
|
|
|
|
DomainEventIDPmwakeup DomainEventID = 11
|
|
|
|
DomainEventIDPmsuspend DomainEventID = 12
|
|
|
|
DomainEventIDBalloonChange DomainEventID = 13
|
|
|
|
DomainEventIDPmsuspendDisk DomainEventID = 14
|
|
|
|
DomainEventIDDeviceRemoved DomainEventID = 15
|
|
|
|
DomainEventIDBlockJob2 DomainEventID = 16
|
|
|
|
DomainEventIDTunable DomainEventID = 17
|
|
|
|
DomainEventIDAgentLifecycle DomainEventID = 18
|
|
|
|
DomainEventIDDeviceAdded DomainEventID = 19
|
|
|
|
DomainEventIDMigrationIteration DomainEventID = 20
|
|
|
|
DomainEventIDJobCompleted DomainEventID = 21
|
|
|
|
DomainEventIDDeviceRemovalFailed DomainEventID = 22
|
|
|
|
DomainEventIDMetadataChange DomainEventID = 23
|
|
|
|
DomainEventIDBlockThreshold DomainEventID = 24
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainConsoleFlags as declared in libvirt/libvirt-domain.h:4444
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainConsoleFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainConsoleFlags enumeration from libvirt/libvirt-domain.h:4444
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainConsoleForce DomainConsoleFlags = 1
|
|
|
|
DomainConsoleSafe DomainConsoleFlags = 2
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainChannelFlags as declared in libvirt/libvirt-domain.h:4460
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainChannelFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainChannelFlags enumeration from libvirt/libvirt-domain.h:4460
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainChannelForce DomainChannelFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainOpenGraphicsFlags as declared in libvirt/libvirt-domain.h:4469
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainOpenGraphicsFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainOpenGraphicsFlags enumeration from libvirt/libvirt-domain.h:4469
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainOpenGraphicsSkipauth DomainOpenGraphicsFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSetTimeFlags as declared in libvirt/libvirt-domain.h:4526
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainSetTimeFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSetTimeFlags enumeration from libvirt/libvirt-domain.h:4526
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainTimeSync DomainSetTimeFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// SchedParameterType as declared in libvirt/libvirt-domain.h:4547
|
2018-01-03 23:19:28 +03:00
|
|
|
type SchedParameterType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// SchedParameterType enumeration from libvirt/libvirt-domain.h:4547
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainSchedFieldInt SchedParameterType = 1
|
|
|
|
DomainSchedFieldUint SchedParameterType = 2
|
|
|
|
DomainSchedFieldLlong SchedParameterType = 3
|
|
|
|
DomainSchedFieldUllong SchedParameterType = 4
|
|
|
|
DomainSchedFieldDouble SchedParameterType = 5
|
|
|
|
DomainSchedFieldBoolean SchedParameterType = 6
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// BlkioParameterType as declared in libvirt/libvirt-domain.h:4591
|
2018-01-03 23:19:28 +03:00
|
|
|
type BlkioParameterType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// BlkioParameterType enumeration from libvirt/libvirt-domain.h:4591
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainBlkioParamInt BlkioParameterType = 1
|
|
|
|
DomainBlkioParamUint BlkioParameterType = 2
|
|
|
|
DomainBlkioParamLlong BlkioParameterType = 3
|
|
|
|
DomainBlkioParamUllong BlkioParameterType = 4
|
|
|
|
DomainBlkioParamDouble BlkioParameterType = 5
|
|
|
|
DomainBlkioParamBoolean BlkioParameterType = 6
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// MemoryParameterType as declared in libvirt/libvirt-domain.h:4635
|
2018-01-03 23:19:28 +03:00
|
|
|
type MemoryParameterType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// MemoryParameterType enumeration from libvirt/libvirt-domain.h:4635
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainMemoryParamInt MemoryParameterType = 1
|
|
|
|
DomainMemoryParamUint MemoryParameterType = 2
|
|
|
|
DomainMemoryParamLlong MemoryParameterType = 3
|
|
|
|
DomainMemoryParamUllong MemoryParameterType = 4
|
|
|
|
DomainMemoryParamDouble MemoryParameterType = 5
|
|
|
|
DomainMemoryParamBoolean MemoryParameterType = 6
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainInterfaceAddressesSource as declared in libvirt/libvirt-domain.h:4672
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainInterfaceAddressesSource int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainInterfaceAddressesSource enumeration from libvirt/libvirt-domain.h:4672
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainInterfaceAddressesSrcLease DomainInterfaceAddressesSource = iota
|
|
|
|
DomainInterfaceAddressesSrcAgent DomainInterfaceAddressesSource = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSetUserPasswordFlags as declared in libvirt/libvirt-domain.h:4700
|
2018-01-03 23:19:28 +03:00
|
|
|
type DomainSetUserPasswordFlags int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainSetUserPasswordFlags enumeration from libvirt/libvirt-domain.h:4700
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
DomainPasswordEncrypted DomainSetUserPasswordFlags = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// DomainLifecycle as declared in libvirt/libvirt-domain.h:4739
|
|
|
|
type DomainLifecycle int32
|
|
|
|
|
|
|
|
// DomainLifecycle enumeration from libvirt/libvirt-domain.h:4739
|
|
|
|
const (
|
|
|
|
DomainLifecyclePoweroff DomainLifecycle = iota
|
|
|
|
DomainLifecycleReboot DomainLifecycle = 1
|
|
|
|
DomainLifecycleCrash DomainLifecycle = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainLifecycleAction as declared in libvirt/libvirt-domain.h:4752
|
|
|
|
type DomainLifecycleAction int32
|
|
|
|
|
|
|
|
// DomainLifecycleAction enumeration from libvirt/libvirt-domain.h:4752
|
|
|
|
const (
|
|
|
|
DomainLifecycleActionDestroy DomainLifecycleAction = iota
|
|
|
|
DomainLifecycleActionRestart DomainLifecycleAction = 1
|
|
|
|
DomainLifecycleActionRestartRename DomainLifecycleAction = 2
|
|
|
|
DomainLifecycleActionPreserve DomainLifecycleAction = 3
|
|
|
|
DomainLifecycleActionCoredumpDestroy DomainLifecycleAction = 4
|
|
|
|
DomainLifecycleActionCoredumpRestart DomainLifecycleAction = 5
|
|
|
|
)
|
|
|
|
|
2018-01-03 23:19:28 +03:00
|
|
|
// DomainSnapshotCreateFlags as declared in libvirt/libvirt-domain-snapshot.h:73
|
|
|
|
type DomainSnapshotCreateFlags int32
|
|
|
|
|
|
|
|
// DomainSnapshotCreateFlags enumeration from libvirt/libvirt-domain-snapshot.h:73
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainSnapshotListFlags as declared in libvirt/libvirt-domain-snapshot.h:133
|
|
|
|
type DomainSnapshotListFlags int32
|
|
|
|
|
|
|
|
// DomainSnapshotListFlags enumeration from libvirt/libvirt-domain-snapshot.h:133
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainSnapshotRevertFlags as declared in libvirt/libvirt-domain-snapshot.h:190
|
|
|
|
type DomainSnapshotRevertFlags int32
|
|
|
|
|
|
|
|
// DomainSnapshotRevertFlags enumeration from libvirt/libvirt-domain-snapshot.h:190
|
|
|
|
const (
|
|
|
|
DomainSnapshotRevertRunning DomainSnapshotRevertFlags = 1
|
|
|
|
DomainSnapshotRevertPaused DomainSnapshotRevertFlags = 2
|
|
|
|
DomainSnapshotRevertForce DomainSnapshotRevertFlags = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// DomainSnapshotDeleteFlags as declared in libvirt/libvirt-domain-snapshot.h:204
|
|
|
|
type DomainSnapshotDeleteFlags int32
|
|
|
|
|
|
|
|
// DomainSnapshotDeleteFlags enumeration from libvirt/libvirt-domain-snapshot.h:204
|
|
|
|
const (
|
|
|
|
DomainSnapshotDeleteChildren DomainSnapshotDeleteFlags = 1
|
|
|
|
DomainSnapshotDeleteMetadataOnly DomainSnapshotDeleteFlags = 2
|
|
|
|
DomainSnapshotDeleteChildrenOnly DomainSnapshotDeleteFlags = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// EventHandleType as declared in libvirt/libvirt-event.h:44
|
|
|
|
type EventHandleType int32
|
|
|
|
|
|
|
|
// EventHandleType enumeration from libvirt/libvirt-event.h:44
|
|
|
|
const (
|
|
|
|
EventHandleReadable EventHandleType = 1
|
|
|
|
EventHandleWritable EventHandleType = 2
|
|
|
|
EventHandleError EventHandleType = 4
|
|
|
|
EventHandleHangup EventHandleType = 8
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectListAllInterfacesFlags as declared in libvirt/libvirt-interface.h:65
|
|
|
|
type ConnectListAllInterfacesFlags int32
|
|
|
|
|
|
|
|
// ConnectListAllInterfacesFlags enumeration from libvirt/libvirt-interface.h:65
|
|
|
|
const (
|
|
|
|
ConnectListInterfacesInactive ConnectListAllInterfacesFlags = 1
|
|
|
|
ConnectListInterfacesActive ConnectListAllInterfacesFlags = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// InterfaceXMLFlags as declared in libvirt/libvirt-interface.h:81
|
|
|
|
type InterfaceXMLFlags int32
|
|
|
|
|
|
|
|
// InterfaceXMLFlags enumeration from libvirt/libvirt-interface.h:81
|
|
|
|
const (
|
|
|
|
InterfaceXMLInactive InterfaceXMLFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// NetworkXMLFlags as declared in libvirt/libvirt-network.h:33
|
|
|
|
type NetworkXMLFlags int32
|
|
|
|
|
|
|
|
// NetworkXMLFlags enumeration from libvirt/libvirt-network.h:33
|
|
|
|
const (
|
|
|
|
NetworkXMLInactive NetworkXMLFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectListAllNetworksFlags as declared in libvirt/libvirt-network.h:85
|
|
|
|
type ConnectListAllNetworksFlags int32
|
|
|
|
|
|
|
|
// ConnectListAllNetworksFlags enumeration from libvirt/libvirt-network.h:85
|
|
|
|
const (
|
|
|
|
ConnectListNetworksInactive ConnectListAllNetworksFlags = 1
|
|
|
|
ConnectListNetworksActive ConnectListAllNetworksFlags = 2
|
|
|
|
ConnectListNetworksPersistent ConnectListAllNetworksFlags = 4
|
|
|
|
ConnectListNetworksTransient ConnectListAllNetworksFlags = 8
|
|
|
|
ConnectListNetworksAutostart ConnectListAllNetworksFlags = 16
|
|
|
|
ConnectListNetworksNoAutostart ConnectListAllNetworksFlags = 32
|
|
|
|
)
|
|
|
|
|
|
|
|
// NetworkUpdateCommand as declared in libvirt/libvirt-network.h:134
|
|
|
|
type NetworkUpdateCommand int32
|
|
|
|
|
|
|
|
// NetworkUpdateCommand enumeration from libvirt/libvirt-network.h:134
|
|
|
|
const (
|
|
|
|
NetworkUpdateCommandNone NetworkUpdateCommand = iota
|
|
|
|
NetworkUpdateCommandModify NetworkUpdateCommand = 1
|
|
|
|
NetworkUpdateCommandDelete NetworkUpdateCommand = 2
|
|
|
|
NetworkUpdateCommandAddLast NetworkUpdateCommand = 3
|
|
|
|
NetworkUpdateCommandAddFirst NetworkUpdateCommand = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// NetworkUpdateSection as declared in libvirt/libvirt-network.h:160
|
|
|
|
type NetworkUpdateSection int32
|
|
|
|
|
|
|
|
// NetworkUpdateSection enumeration from libvirt/libvirt-network.h:160
|
|
|
|
const (
|
|
|
|
NetworkSectionNone NetworkUpdateSection = iota
|
|
|
|
NetworkSectionBridge NetworkUpdateSection = 1
|
|
|
|
NetworkSectionDomain NetworkUpdateSection = 2
|
|
|
|
NetworkSectionIP NetworkUpdateSection = 3
|
|
|
|
NetworkSectionIPDhcpHost NetworkUpdateSection = 4
|
|
|
|
NetworkSectionIPDhcpRange NetworkUpdateSection = 5
|
|
|
|
NetworkSectionForward NetworkUpdateSection = 6
|
|
|
|
NetworkSectionForwardInterface NetworkUpdateSection = 7
|
|
|
|
NetworkSectionForwardPf NetworkUpdateSection = 8
|
|
|
|
NetworkSectionPortgroup NetworkUpdateSection = 9
|
|
|
|
NetworkSectionDNSHost NetworkUpdateSection = 10
|
|
|
|
NetworkSectionDNSTxt NetworkUpdateSection = 11
|
|
|
|
NetworkSectionDNSSrv NetworkUpdateSection = 12
|
|
|
|
)
|
|
|
|
|
|
|
|
// NetworkUpdateFlags as declared in libvirt/libvirt-network.h:172
|
|
|
|
type NetworkUpdateFlags int32
|
|
|
|
|
|
|
|
// NetworkUpdateFlags enumeration from libvirt/libvirt-network.h:172
|
|
|
|
const (
|
|
|
|
NetworkUpdateAffectCurrent NetworkUpdateFlags = iota
|
|
|
|
NetworkUpdateAffectLive NetworkUpdateFlags = 1
|
|
|
|
NetworkUpdateAffectConfig NetworkUpdateFlags = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// NetworkEventLifecycleType as declared in libvirt/libvirt-network.h:230
|
|
|
|
type NetworkEventLifecycleType int32
|
|
|
|
|
|
|
|
// NetworkEventLifecycleType enumeration from libvirt/libvirt-network.h:230
|
|
|
|
const (
|
|
|
|
NetworkEventDefined NetworkEventLifecycleType = iota
|
|
|
|
NetworkEventUndefined NetworkEventLifecycleType = 1
|
|
|
|
NetworkEventStarted NetworkEventLifecycleType = 2
|
|
|
|
NetworkEventStopped NetworkEventLifecycleType = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// NetworkEventID as declared in libvirt/libvirt-network.h:278
|
|
|
|
type NetworkEventID int32
|
|
|
|
|
|
|
|
// NetworkEventID enumeration from libvirt/libvirt-network.h:278
|
|
|
|
const (
|
|
|
|
NetworkEventIDLifecycle NetworkEventID = iota
|
|
|
|
)
|
|
|
|
|
|
|
|
// IPAddrType as declared in libvirt/libvirt-network.h:287
|
|
|
|
type IPAddrType int32
|
|
|
|
|
|
|
|
// IPAddrType enumeration from libvirt/libvirt-network.h:287
|
|
|
|
const (
|
|
|
|
IPAddrTypeIpv4 IPAddrType = iota
|
|
|
|
IPAddrTypeIpv6 IPAddrType = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectListAllNodeDeviceFlags as declared in libvirt/libvirt-nodedev.h:85
|
|
|
|
type ConnectListAllNodeDeviceFlags int32
|
|
|
|
|
|
|
|
// ConnectListAllNodeDeviceFlags enumeration from libvirt/libvirt-nodedev.h:85
|
|
|
|
const (
|
|
|
|
ConnectListNodeDevicesCapSystem ConnectListAllNodeDeviceFlags = 1
|
|
|
|
ConnectListNodeDevicesCapPciDev ConnectListAllNodeDeviceFlags = 2
|
|
|
|
ConnectListNodeDevicesCapUsbDev ConnectListAllNodeDeviceFlags = 4
|
|
|
|
ConnectListNodeDevicesCapUsbInterface ConnectListAllNodeDeviceFlags = 8
|
|
|
|
ConnectListNodeDevicesCapNet ConnectListAllNodeDeviceFlags = 16
|
|
|
|
ConnectListNodeDevicesCapScsiHost ConnectListAllNodeDeviceFlags = 32
|
|
|
|
ConnectListNodeDevicesCapScsiTarget ConnectListAllNodeDeviceFlags = 64
|
|
|
|
ConnectListNodeDevicesCapScsi ConnectListAllNodeDeviceFlags = 128
|
|
|
|
ConnectListNodeDevicesCapStorage ConnectListAllNodeDeviceFlags = 256
|
|
|
|
ConnectListNodeDevicesCapFcHost ConnectListAllNodeDeviceFlags = 512
|
|
|
|
ConnectListNodeDevicesCapVports ConnectListAllNodeDeviceFlags = 1024
|
|
|
|
ConnectListNodeDevicesCapScsiGeneric ConnectListAllNodeDeviceFlags = 2048
|
|
|
|
ConnectListNodeDevicesCapDrm ConnectListAllNodeDeviceFlags = 4096
|
|
|
|
ConnectListNodeDevicesCapMdevTypes ConnectListAllNodeDeviceFlags = 8192
|
|
|
|
ConnectListNodeDevicesCapMdev ConnectListAllNodeDeviceFlags = 16384
|
|
|
|
ConnectListNodeDevicesCapCcwDev ConnectListAllNodeDeviceFlags = 32768
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeDeviceEventID as declared in libvirt/libvirt-nodedev.h:155
|
|
|
|
type NodeDeviceEventID int32
|
|
|
|
|
|
|
|
// NodeDeviceEventID enumeration from libvirt/libvirt-nodedev.h:155
|
|
|
|
const (
|
|
|
|
NodeDeviceEventIDLifecycle NodeDeviceEventID = iota
|
|
|
|
NodeDeviceEventIDUpdate NodeDeviceEventID = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeDeviceEventLifecycleType as declared in libvirt/libvirt-nodedev.h:197
|
|
|
|
type NodeDeviceEventLifecycleType int32
|
|
|
|
|
|
|
|
// NodeDeviceEventLifecycleType enumeration from libvirt/libvirt-nodedev.h:197
|
|
|
|
const (
|
|
|
|
NodeDeviceEventCreated NodeDeviceEventLifecycleType = iota
|
|
|
|
NodeDeviceEventDeleted NodeDeviceEventLifecycleType = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// SecretUsageType as declared in libvirt/libvirt-secret.h:56
|
|
|
|
type SecretUsageType int32
|
|
|
|
|
|
|
|
// SecretUsageType enumeration from libvirt/libvirt-secret.h:56
|
|
|
|
const (
|
|
|
|
SecretUsageTypeNone SecretUsageType = iota
|
|
|
|
SecretUsageTypeVolume SecretUsageType = 1
|
|
|
|
SecretUsageTypeCeph SecretUsageType = 2
|
|
|
|
SecretUsageTypeIscsi SecretUsageType = 3
|
|
|
|
SecretUsageTypeTLS SecretUsageType = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectListAllSecretsFlags as declared in libvirt/libvirt-secret.h:79
|
|
|
|
type ConnectListAllSecretsFlags int32
|
|
|
|
|
|
|
|
// ConnectListAllSecretsFlags enumeration from libvirt/libvirt-secret.h:79
|
|
|
|
const (
|
|
|
|
ConnectListSecretsEphemeral ConnectListAllSecretsFlags = 1
|
|
|
|
ConnectListSecretsNoEphemeral ConnectListAllSecretsFlags = 2
|
|
|
|
ConnectListSecretsPrivate ConnectListAllSecretsFlags = 4
|
|
|
|
ConnectListSecretsNoPrivate ConnectListAllSecretsFlags = 8
|
|
|
|
)
|
|
|
|
|
|
|
|
// SecretEventID as declared in libvirt/libvirt-secret.h:140
|
|
|
|
type SecretEventID int32
|
|
|
|
|
|
|
|
// SecretEventID enumeration from libvirt/libvirt-secret.h:140
|
|
|
|
const (
|
|
|
|
SecretEventIDLifecycle SecretEventID = iota
|
|
|
|
SecretEventIDValueChanged SecretEventID = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// SecretEventLifecycleType as declared in libvirt/libvirt-secret.h:182
|
|
|
|
type SecretEventLifecycleType int32
|
|
|
|
|
|
|
|
// SecretEventLifecycleType enumeration from libvirt/libvirt-secret.h:182
|
|
|
|
const (
|
|
|
|
SecretEventDefined SecretEventLifecycleType = iota
|
|
|
|
SecretEventUndefined SecretEventLifecycleType = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// StoragePoolState as declared in libvirt/libvirt-storage.h:58
|
|
|
|
type StoragePoolState int32
|
|
|
|
|
|
|
|
// StoragePoolState enumeration from libvirt/libvirt-storage.h:58
|
|
|
|
const (
|
|
|
|
StoragePoolInactive StoragePoolState = iota
|
|
|
|
StoragePoolBuilding StoragePoolState = 1
|
|
|
|
StoragePoolRunning StoragePoolState = 2
|
|
|
|
StoragePoolDegraded StoragePoolState = 3
|
|
|
|
StoragePoolInaccessible StoragePoolState = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// StoragePoolBuildFlags as declared in libvirt/libvirt-storage.h:66
|
|
|
|
type StoragePoolBuildFlags int32
|
|
|
|
|
|
|
|
// StoragePoolBuildFlags enumeration from libvirt/libvirt-storage.h:66
|
|
|
|
const (
|
|
|
|
StoragePoolBuildNew StoragePoolBuildFlags = iota
|
|
|
|
StoragePoolBuildRepair StoragePoolBuildFlags = 1
|
|
|
|
StoragePoolBuildResize StoragePoolBuildFlags = 2
|
|
|
|
StoragePoolBuildNoOverwrite StoragePoolBuildFlags = 4
|
|
|
|
StoragePoolBuildOverwrite StoragePoolBuildFlags = 8
|
|
|
|
)
|
|
|
|
|
|
|
|
// StoragePoolDeleteFlags as declared in libvirt/libvirt-storage.h:71
|
|
|
|
type StoragePoolDeleteFlags int32
|
|
|
|
|
|
|
|
// StoragePoolDeleteFlags enumeration from libvirt/libvirt-storage.h:71
|
|
|
|
const (
|
|
|
|
StoragePoolDeleteNormal StoragePoolDeleteFlags = iota
|
|
|
|
StoragePoolDeleteZeroed StoragePoolDeleteFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// StoragePoolCreateFlags as declared in libvirt/libvirt-storage.h:88
|
|
|
|
type StoragePoolCreateFlags int32
|
|
|
|
|
|
|
|
// StoragePoolCreateFlags enumeration from libvirt/libvirt-storage.h:88
|
|
|
|
const (
|
|
|
|
StoragePoolCreateNormal StoragePoolCreateFlags = iota
|
|
|
|
StoragePoolCreateWithBuild StoragePoolCreateFlags = 1
|
|
|
|
StoragePoolCreateWithBuildOverwrite StoragePoolCreateFlags = 2
|
|
|
|
StoragePoolCreateWithBuildNoOverwrite StoragePoolCreateFlags = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolType as declared in libvirt/libvirt-storage.h:130
|
|
|
|
type StorageVolType int32
|
|
|
|
|
|
|
|
// StorageVolType enumeration from libvirt/libvirt-storage.h:130
|
|
|
|
const (
|
|
|
|
StorageVolFile StorageVolType = iota
|
|
|
|
StorageVolBlock StorageVolType = 1
|
|
|
|
StorageVolDir StorageVolType = 2
|
|
|
|
StorageVolNetwork StorageVolType = 3
|
|
|
|
StorageVolNetdir StorageVolType = 4
|
|
|
|
StorageVolPloop StorageVolType = 5
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolDeleteFlags as declared in libvirt/libvirt-storage.h:136
|
|
|
|
type StorageVolDeleteFlags int32
|
|
|
|
|
|
|
|
// StorageVolDeleteFlags enumeration from libvirt/libvirt-storage.h:136
|
|
|
|
const (
|
|
|
|
StorageVolDeleteNormal StorageVolDeleteFlags = iota
|
|
|
|
StorageVolDeleteZeroed StorageVolDeleteFlags = 1
|
|
|
|
StorageVolDeleteWithSnapshots StorageVolDeleteFlags = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolWipeAlgorithm as declared in libvirt/libvirt-storage.h:168
|
|
|
|
type StorageVolWipeAlgorithm int32
|
|
|
|
|
|
|
|
// StorageVolWipeAlgorithm enumeration from libvirt/libvirt-storage.h:168
|
|
|
|
const (
|
|
|
|
StorageVolWipeAlgZero StorageVolWipeAlgorithm = iota
|
|
|
|
StorageVolWipeAlgNnsa StorageVolWipeAlgorithm = 1
|
|
|
|
StorageVolWipeAlgDod StorageVolWipeAlgorithm = 2
|
|
|
|
StorageVolWipeAlgBsi StorageVolWipeAlgorithm = 3
|
|
|
|
StorageVolWipeAlgGutmann StorageVolWipeAlgorithm = 4
|
|
|
|
StorageVolWipeAlgSchneier StorageVolWipeAlgorithm = 5
|
|
|
|
StorageVolWipeAlgPfitzner7 StorageVolWipeAlgorithm = 6
|
|
|
|
StorageVolWipeAlgPfitzner33 StorageVolWipeAlgorithm = 7
|
|
|
|
StorageVolWipeAlgRandom StorageVolWipeAlgorithm = 8
|
|
|
|
StorageVolWipeAlgTrim StorageVolWipeAlgorithm = 9
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolInfoFlags as declared in libvirt/libvirt-storage.h:176
|
|
|
|
type StorageVolInfoFlags int32
|
|
|
|
|
|
|
|
// StorageVolInfoFlags enumeration from libvirt/libvirt-storage.h:176
|
|
|
|
const (
|
|
|
|
StorageVolUseAllocation StorageVolInfoFlags = iota
|
|
|
|
StorageVolGetPhysical StorageVolInfoFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageXMLFlags as declared in libvirt/libvirt-storage.h:190
|
|
|
|
type StorageXMLFlags int32
|
|
|
|
|
|
|
|
// StorageXMLFlags enumeration from libvirt/libvirt-storage.h:190
|
|
|
|
const (
|
|
|
|
StorageXMLInactive StorageXMLFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConnectListAllStoragePoolsFlags as declared in libvirt/libvirt-storage.h:244
|
|
|
|
type ConnectListAllStoragePoolsFlags int32
|
|
|
|
|
|
|
|
// ConnectListAllStoragePoolsFlags enumeration from libvirt/libvirt-storage.h:244
|
|
|
|
const (
|
|
|
|
ConnectListStoragePoolsInactive ConnectListAllStoragePoolsFlags = 1
|
|
|
|
ConnectListStoragePoolsActive ConnectListAllStoragePoolsFlags = 2
|
|
|
|
ConnectListStoragePoolsPersistent ConnectListAllStoragePoolsFlags = 4
|
|
|
|
ConnectListStoragePoolsTransient ConnectListAllStoragePoolsFlags = 8
|
|
|
|
ConnectListStoragePoolsAutostart ConnectListAllStoragePoolsFlags = 16
|
|
|
|
ConnectListStoragePoolsNoAutostart ConnectListAllStoragePoolsFlags = 32
|
|
|
|
ConnectListStoragePoolsDir ConnectListAllStoragePoolsFlags = 64
|
|
|
|
ConnectListStoragePoolsFs ConnectListAllStoragePoolsFlags = 128
|
|
|
|
ConnectListStoragePoolsNetfs ConnectListAllStoragePoolsFlags = 256
|
|
|
|
ConnectListStoragePoolsLogical ConnectListAllStoragePoolsFlags = 512
|
|
|
|
ConnectListStoragePoolsDisk ConnectListAllStoragePoolsFlags = 1024
|
|
|
|
ConnectListStoragePoolsIscsi ConnectListAllStoragePoolsFlags = 2048
|
|
|
|
ConnectListStoragePoolsScsi ConnectListAllStoragePoolsFlags = 4096
|
|
|
|
ConnectListStoragePoolsMpath ConnectListAllStoragePoolsFlags = 8192
|
|
|
|
ConnectListStoragePoolsRbd ConnectListAllStoragePoolsFlags = 16384
|
|
|
|
ConnectListStoragePoolsSheepdog ConnectListAllStoragePoolsFlags = 32768
|
|
|
|
ConnectListStoragePoolsGluster ConnectListAllStoragePoolsFlags = 65536
|
|
|
|
ConnectListStoragePoolsZfs ConnectListAllStoragePoolsFlags = 131072
|
|
|
|
ConnectListStoragePoolsVstorage ConnectListAllStoragePoolsFlags = 262144
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolCreateFlags as declared in libvirt/libvirt-storage.h:340
|
|
|
|
type StorageVolCreateFlags int32
|
|
|
|
|
|
|
|
// StorageVolCreateFlags enumeration from libvirt/libvirt-storage.h:340
|
|
|
|
const (
|
|
|
|
StorageVolCreatePreallocMetadata StorageVolCreateFlags = 1
|
|
|
|
StorageVolCreateReflink StorageVolCreateFlags = 2
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolDownloadFlags as declared in libvirt/libvirt-storage.h:352
|
|
|
|
type StorageVolDownloadFlags int32
|
|
|
|
|
|
|
|
// StorageVolDownloadFlags enumeration from libvirt/libvirt-storage.h:352
|
|
|
|
const (
|
|
|
|
StorageVolDownloadSparseStream StorageVolDownloadFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolUploadFlags as declared in libvirt/libvirt-storage.h:361
|
|
|
|
type StorageVolUploadFlags int32
|
|
|
|
|
|
|
|
// StorageVolUploadFlags enumeration from libvirt/libvirt-storage.h:361
|
|
|
|
const (
|
|
|
|
StorageVolUploadSparseStream StorageVolUploadFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// StorageVolResizeFlags as declared in libvirt/libvirt-storage.h:392
|
|
|
|
type StorageVolResizeFlags int32
|
|
|
|
|
|
|
|
// StorageVolResizeFlags enumeration from libvirt/libvirt-storage.h:392
|
|
|
|
const (
|
|
|
|
StorageVolResizeAllocate StorageVolResizeFlags = 1
|
|
|
|
StorageVolResizeDelta StorageVolResizeFlags = 2
|
|
|
|
StorageVolResizeShrink StorageVolResizeFlags = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
// StoragePoolEventID as declared in libvirt/libvirt-storage.h:428
|
|
|
|
type StoragePoolEventID int32
|
|
|
|
|
|
|
|
// StoragePoolEventID enumeration from libvirt/libvirt-storage.h:428
|
|
|
|
const (
|
|
|
|
StoragePoolEventIDLifecycle StoragePoolEventID = iota
|
|
|
|
StoragePoolEventIDRefresh StoragePoolEventID = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// StoragePoolEventLifecycleType as declared in libvirt/libvirt-storage.h:474
|
2018-01-03 23:19:28 +03:00
|
|
|
type StoragePoolEventLifecycleType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// StoragePoolEventLifecycleType enumeration from libvirt/libvirt-storage.h:474
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
StoragePoolEventDefined StoragePoolEventLifecycleType = iota
|
|
|
|
StoragePoolEventUndefined StoragePoolEventLifecycleType = 1
|
|
|
|
StoragePoolEventStarted StoragePoolEventLifecycleType = 2
|
|
|
|
StoragePoolEventStopped StoragePoolEventLifecycleType = 3
|
2018-02-14 21:49:14 +03:00
|
|
|
StoragePoolEventCreated StoragePoolEventLifecycleType = 4
|
|
|
|
StoragePoolEventDeleted StoragePoolEventLifecycleType = 5
|
2018-01-03 23:19:28 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
// StreamFlags as declared in libvirt/libvirt-stream.h:34
|
|
|
|
type StreamFlags int32
|
|
|
|
|
|
|
|
// StreamFlags enumeration from libvirt/libvirt-stream.h:34
|
|
|
|
const (
|
|
|
|
StreamNonblock StreamFlags = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// StreamRecvFlagsValues as declared in libvirt/libvirt-stream.h:50
|
|
|
|
type StreamRecvFlagsValues int32
|
|
|
|
|
|
|
|
// StreamRecvFlagsValues enumeration from libvirt/libvirt-stream.h:50
|
|
|
|
const (
|
|
|
|
StreamRecvStopAtHole StreamRecvFlagsValues = 1
|
|
|
|
)
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// StreamEventType as declared in libvirt/libvirt-stream.h:238
|
2018-01-03 23:19:28 +03:00
|
|
|
type StreamEventType int32
|
|
|
|
|
2018-02-14 21:49:14 +03:00
|
|
|
// StreamEventType enumeration from libvirt/libvirt-stream.h:238
|
2018-01-03 23:19:28 +03:00
|
|
|
const (
|
|
|
|
StreamEventReadable StreamEventType = 1
|
|
|
|
StreamEventWritable StreamEventType = 2
|
|
|
|
StreamEventError StreamEventType = 4
|
|
|
|
StreamEventHangup StreamEventType = 8
|
|
|
|
)
|