| 1 |
// Code generated by gengotypes.py. DO NOT EDIT. |
| 2 |
// source: libxl_types.idl |
| 3 |
|
| 4 |
package xenlight |
| 5 |
|
| 6 |
type Error int |
| 7 |
const( |
| 8 |
ErrorNonspecific Error = -1 |
| 9 |
ErrorVersion Error = -2 |
| 10 |
ErrorFail Error = -3 |
| 11 |
ErrorNi Error = -4 |
| 12 |
ErrorNomem Error = -5 |
| 13 |
ErrorInval Error = -6 |
| 14 |
ErrorBadfail Error = -7 |
| 15 |
ErrorGuestTimedout Error = -8 |
| 16 |
ErrorTimedout Error = -9 |
| 17 |
ErrorNoparavirt Error = -10 |
| 18 |
ErrorNotReady Error = -11 |
| 19 |
ErrorOseventRegFail Error = -12 |
| 20 |
ErrorBufferfull Error = -13 |
| 21 |
ErrorUnknownChild Error = -14 |
| 22 |
ErrorLockFail Error = -15 |
| 23 |
ErrorJsonConfigEmpty Error = -16 |
| 24 |
ErrorDeviceExists Error = -17 |
| 25 |
ErrorCheckpointDevopsDoesNotMatch Error = -18 |
| 26 |
ErrorCheckpointDeviceNotSupported Error = -19 |
| 27 |
ErrorVnumaConfigInvalid Error = -20 |
| 28 |
ErrorDomainNotfound Error = -21 |
| 29 |
ErrorAborted Error = -22 |
| 30 |
ErrorNotfound Error = -23 |
| 31 |
ErrorDomainDestroyed Error = -24 |
| 32 |
ErrorFeatureRemoved Error = -25 |
| 33 |
ErrorProtocolErrorQmp Error = -26 |
| 34 |
ErrorUnknownQmpError Error = -27 |
| 35 |
ErrorQmpGenericError Error = -28 |
| 36 |
ErrorQmpCommandNotFound Error = -29 |
| 37 |
ErrorQmpDeviceNotActive Error = -30 |
| 38 |
ErrorQmpDeviceNotFound Error = -31 |
| 39 |
ErrorQemuApi Error = -32 |
| 40 |
) |
| 41 |
|
| 42 |
type DomainType int |
| 43 |
const( |
| 44 |
DomainTypeInvalid DomainType = -1 |
| 45 |
DomainTypeHvm DomainType = 1 |
| 46 |
DomainTypePv DomainType = 2 |
| 47 |
DomainTypePvh DomainType = 3 |
| 48 |
) |
| 49 |
|
| 50 |
type RdmReserveStrategy int |
| 51 |
const( |
| 52 |
RdmReserveStrategyIgnore RdmReserveStrategy = 0 |
| 53 |
RdmReserveStrategyHost RdmReserveStrategy = 1 |
| 54 |
) |
| 55 |
|
| 56 |
type RdmReservePolicy int |
| 57 |
const( |
| 58 |
RdmReservePolicyInvalid RdmReservePolicy = -1 |
| 59 |
RdmReservePolicyStrict RdmReservePolicy = 0 |
| 60 |
RdmReservePolicyRelaxed RdmReservePolicy = 1 |
| 61 |
) |
| 62 |
|
| 63 |
type ChannelConnection int |
| 64 |
const( |
| 65 |
ChannelConnectionUnknown ChannelConnection = 0 |
| 66 |
ChannelConnectionPty ChannelConnection = 1 |
| 67 |
ChannelConnectionSocket ChannelConnection = 2 |
| 68 |
) |
| 69 |
|
| 70 |
type DeviceModelVersion int |
| 71 |
const( |
| 72 |
DeviceModelVersionUnknown DeviceModelVersion = 0 |
| 73 |
DeviceModelVersionQemuXenTraditional DeviceModelVersion = 1 |
| 74 |
DeviceModelVersionQemuXen DeviceModelVersion = 2 |
| 75 |
) |
| 76 |
|
| 77 |
type ConsoleType int |
| 78 |
const( |
| 79 |
ConsoleTypeUnknown ConsoleType = 0 |
| 80 |
ConsoleTypeSerial ConsoleType = 1 |
| 81 |
ConsoleTypePv ConsoleType = 2 |
| 82 |
ConsoleTypeVuart ConsoleType = 3 |
| 83 |
) |
| 84 |
|
| 85 |
type DiskFormat int |
| 86 |
const( |
| 87 |
DiskFormatUnknown DiskFormat = 0 |
| 88 |
DiskFormatQcow DiskFormat = 1 |
| 89 |
DiskFormatQcow2 DiskFormat = 2 |
| 90 |
DiskFormatVhd DiskFormat = 3 |
| 91 |
DiskFormatRaw DiskFormat = 4 |
| 92 |
DiskFormatEmpty DiskFormat = 5 |
| 93 |
DiskFormatQed DiskFormat = 6 |
| 94 |
) |
| 95 |
|
| 96 |
type DiskBackend int |
| 97 |
const( |
| 98 |
DiskBackendUnknown DiskBackend = 0 |
| 99 |
DiskBackendPhy DiskBackend = 1 |
| 100 |
DiskBackendTap DiskBackend = 2 |
| 101 |
DiskBackendQdisk DiskBackend = 3 |
| 102 |
DiskBackendStandalone DiskBackend = 4 |
| 103 |
) |
| 104 |
|
| 105 |
type DiskSpecification int |
| 106 |
const( |
| 107 |
DiskSpecificationUnknown DiskSpecification = 0 |
| 108 |
DiskSpecificationXen DiskSpecification = 1 |
| 109 |
DiskSpecificationVirtio DiskSpecification = 2 |
| 110 |
) |
| 111 |
|
| 112 |
type DiskTransport int |
| 113 |
const( |
| 114 |
DiskTransportUnknown DiskTransport = 0 |
| 115 |
DiskTransportMmio DiskTransport = 1 |
| 116 |
) |
| 117 |
|
| 118 |
type NicType int |
| 119 |
const( |
| 120 |
NicTypeUnknown NicType = 0 |
| 121 |
NicTypeVifIoemu NicType = 1 |
| 122 |
NicTypeVif NicType = 2 |
| 123 |
) |
| 124 |
|
| 125 |
type P9Type int |
| 126 |
const( |
| 127 |
P9TypeUnknown P9Type = 0 |
| 128 |
P9TypeQemu P9Type = 1 |
| 129 |
P9TypeXen9Pfsd P9Type = 2 |
| 130 |
) |
| 131 |
|
| 132 |
type ActionOnShutdown int |
| 133 |
const( |
| 134 |
ActionOnShutdownDestroy ActionOnShutdown = 1 |
| 135 |
ActionOnShutdownRestart ActionOnShutdown = 2 |
| 136 |
ActionOnShutdownRestartRename ActionOnShutdown = 3 |
| 137 |
ActionOnShutdownPreserve ActionOnShutdown = 4 |
| 138 |
ActionOnShutdownCoredumpDestroy ActionOnShutdown = 5 |
| 139 |
ActionOnShutdownCoredumpRestart ActionOnShutdown = 6 |
| 140 |
ActionOnShutdownSoftReset ActionOnShutdown = 7 |
| 141 |
) |
| 142 |
|
| 143 |
type Trigger int |
| 144 |
const( |
| 145 |
TriggerUnknown Trigger = 0 |
| 146 |
TriggerPower Trigger = 1 |
| 147 |
TriggerSleep Trigger = 2 |
| 148 |
TriggerNmi Trigger = 3 |
| 149 |
TriggerInit Trigger = 4 |
| 150 |
TriggerReset Trigger = 5 |
| 151 |
TriggerS3Resume Trigger = 6 |
| 152 |
) |
| 153 |
|
| 154 |
type TscMode int |
| 155 |
const( |
| 156 |
TscModeDefault TscMode = 0 |
| 157 |
TscModeAlwaysEmulate TscMode = 1 |
| 158 |
TscModeNative TscMode = 2 |
| 159 |
TscModeNativeParavirt TscMode = 3 |
| 160 |
) |
| 161 |
|
| 162 |
type GfxPassthruKind int |
| 163 |
const( |
| 164 |
GfxPassthruKindDefault GfxPassthruKind = 0 |
| 165 |
GfxPassthruKindIgd GfxPassthruKind = 1 |
| 166 |
) |
| 167 |
|
| 168 |
type TimerMode int |
| 169 |
const( |
| 170 |
TimerModeUnknown TimerMode = -1 |
| 171 |
TimerModeDelayForMissedTicks TimerMode = 0 |
| 172 |
TimerModeNoDelayForMissedTicks TimerMode = 1 |
| 173 |
TimerModeNoMissedTicksPending TimerMode = 2 |
| 174 |
TimerModeOneMissedTickPending TimerMode = 3 |
| 175 |
) |
| 176 |
|
| 177 |
type BiosType int |
| 178 |
const( |
| 179 |
BiosTypeUnknown BiosType = 0 |
| 180 |
BiosTypeRombios BiosType = 1 |
| 181 |
BiosTypeSeabios BiosType = 2 |
| 182 |
BiosTypeOvmf BiosType = 3 |
| 183 |
) |
| 184 |
|
| 185 |
type Scheduler int |
| 186 |
const( |
| 187 |
SchedulerUnknown Scheduler = 0 |
| 188 |
SchedulerSedf Scheduler = 4 |
| 189 |
SchedulerCredit Scheduler = 5 |
| 190 |
SchedulerCredit2 Scheduler = 6 |
| 191 |
SchedulerArinc653 Scheduler = 7 |
| 192 |
SchedulerRtds Scheduler = 8 |
| 193 |
SchedulerNull Scheduler = 9 |
| 194 |
) |
| 195 |
|
| 196 |
type ShutdownReason int |
| 197 |
const( |
| 198 |
ShutdownReasonUnknown ShutdownReason = -1 |
| 199 |
ShutdownReasonPoweroff ShutdownReason = 0 |
| 200 |
ShutdownReasonReboot ShutdownReason = 1 |
| 201 |
ShutdownReasonSuspend ShutdownReason = 2 |
| 202 |
ShutdownReasonCrash ShutdownReason = 3 |
| 203 |
ShutdownReasonWatchdog ShutdownReason = 4 |
| 204 |
ShutdownReasonSoftReset ShutdownReason = 5 |
| 205 |
) |
| 206 |
|
| 207 |
type VgaInterfaceType int |
| 208 |
const( |
| 209 |
VgaInterfaceTypeUnknown VgaInterfaceType = 0 |
| 210 |
VgaInterfaceTypeCirrus VgaInterfaceType = 1 |
| 211 |
VgaInterfaceTypeStd VgaInterfaceType = 2 |
| 212 |
VgaInterfaceTypeNone VgaInterfaceType = 3 |
| 213 |
VgaInterfaceTypeQxl VgaInterfaceType = 4 |
| 214 |
) |
| 215 |
|
| 216 |
type VendorDevice int |
| 217 |
const( |
| 218 |
VendorDeviceNone VendorDevice = 0 |
| 219 |
VendorDeviceXenserver VendorDevice = 1 |
| 220 |
) |
| 221 |
|
| 222 |
type ViridianEnlightenment int |
| 223 |
const( |
| 224 |
ViridianEnlightenmentBase ViridianEnlightenment = 0 |
| 225 |
ViridianEnlightenmentFreq ViridianEnlightenment = 1 |
| 226 |
ViridianEnlightenmentTimeRefCount ViridianEnlightenment = 2 |
| 227 |
ViridianEnlightenmentReferenceTsc ViridianEnlightenment = 3 |
| 228 |
ViridianEnlightenmentHcallRemoteTlbFlush ViridianEnlightenment = 4 |
| 229 |
ViridianEnlightenmentApicAssist ViridianEnlightenment = 5 |
| 230 |
ViridianEnlightenmentCrashCtl ViridianEnlightenment = 6 |
| 231 |
ViridianEnlightenmentSynic ViridianEnlightenment = 7 |
| 232 |
ViridianEnlightenmentStimer ViridianEnlightenment = 8 |
| 233 |
ViridianEnlightenmentHcallIpi ViridianEnlightenment = 9 |
| 234 |
ViridianEnlightenmentExProcessorMasks ViridianEnlightenment = 10 |
| 235 |
ViridianEnlightenmentNoVpLimit ViridianEnlightenment = 11 |
| 236 |
ViridianEnlightenmentCpuHotplug ViridianEnlightenment = 12 |
| 237 |
) |
| 238 |
|
| 239 |
type Hdtype int |
| 240 |
const( |
| 241 |
HdtypeIde Hdtype = 1 |
| 242 |
HdtypeAhci Hdtype = 2 |
| 243 |
) |
| 244 |
|
| 245 |
type CheckpointedStream int |
| 246 |
const( |
| 247 |
CheckpointedStreamNone CheckpointedStream = 0 |
| 248 |
CheckpointedStreamRemus CheckpointedStream = 1 |
| 249 |
CheckpointedStreamColo CheckpointedStream = 2 |
| 250 |
) |
| 251 |
|
| 252 |
type VuartType int |
| 253 |
const( |
| 254 |
VuartTypeUnknown VuartType = 0 |
| 255 |
VuartTypeSbsaUart VuartType = 1 |
| 256 |
) |
| 257 |
|
| 258 |
type VkbBackend int |
| 259 |
const( |
| 260 |
VkbBackendUnknown VkbBackend = 0 |
| 261 |
VkbBackendQemu VkbBackend = 1 |
| 262 |
VkbBackendLinux VkbBackend = 2 |
| 263 |
) |
| 264 |
|
| 265 |
type VirtioTransport int |
| 266 |
const( |
| 267 |
VirtioTransportUnknown VirtioTransport = 0 |
| 268 |
VirtioTransportMmio VirtioTransport = 1 |
| 269 |
) |
| 270 |
|
| 271 |
type Passthrough int |
| 272 |
const( |
| 273 |
PassthroughDefault Passthrough = 0 |
| 274 |
PassthroughDisabled Passthrough = 1 |
| 275 |
PassthroughEnabled Passthrough = 2 |
| 276 |
PassthroughSyncPt Passthrough = 3 |
| 277 |
PassthroughSharePt Passthrough = 4 |
| 278 |
) |
| 279 |
|
| 280 |
type IoportRange struct { |
| 281 |
First uint32 |
| 282 |
Number uint32 |
| 283 |
} |
| 284 |
|
| 285 |
type IomemRange struct { |
| 286 |
Start uint64 |
| 287 |
Number uint64 |
| 288 |
Gfn uint64 |
| 289 |
} |
| 290 |
|
| 291 |
type VgaInterfaceInfo struct { |
| 292 |
Kind VgaInterfaceType |
| 293 |
} |
| 294 |
|
| 295 |
type VncInfo struct { |
| 296 |
Enable Defbool |
| 297 |
Listen string |
| 298 |
Passwd string |
| 299 |
Display int |
| 300 |
Findunused Defbool |
| 301 |
} |
| 302 |
|
| 303 |
type SpiceInfo struct { |
| 304 |
Enable Defbool |
| 305 |
Port int |
| 306 |
TlsPort int |
| 307 |
Host string |
| 308 |
DisableTicketing Defbool |
| 309 |
Passwd string |
| 310 |
AgentMouse Defbool |
| 311 |
Vdagent Defbool |
| 312 |
ClipboardSharing Defbool |
| 313 |
Usbredirection int |
| 314 |
ImageCompression string |
| 315 |
StreamingVideo string |
| 316 |
} |
| 317 |
|
| 318 |
type SdlInfo struct { |
| 319 |
Enable Defbool |
| 320 |
Opengl Defbool |
| 321 |
Display string |
| 322 |
Xauthority string |
| 323 |
} |
| 324 |
|
| 325 |
type Dominfo struct { |
| 326 |
Uuid Uuid |
| 327 |
Domid Domid |
| 328 |
Ssidref uint32 |
| 329 |
SsidLabel string |
| 330 |
Running bool |
| 331 |
Blocked bool |
| 332 |
Paused bool |
| 333 |
Shutdown bool |
| 334 |
Dying bool |
| 335 |
NeverStop bool |
| 336 |
ShutdownReason ShutdownReason |
| 337 |
OutstandingMemkb uint64 |
| 338 |
CurrentMemkb uint64 |
| 339 |
SharedMemkb uint64 |
| 340 |
PagedMemkb uint64 |
| 341 |
MaxMemkb uint64 |
| 342 |
CpuTime uint64 |
| 343 |
VcpuMaxId uint32 |
| 344 |
VcpuOnline uint32 |
| 345 |
Cpupool uint32 |
| 346 |
GpaddrBits byte |
| 347 |
DomainType DomainType |
| 348 |
} |
| 349 |
|
| 350 |
type Cpupoolinfo struct { |
| 351 |
Poolid uint32 |
| 352 |
PoolName string |
| 353 |
Sched Scheduler |
| 354 |
NDom uint32 |
| 355 |
Cpumap Bitmap |
| 356 |
} |
| 357 |
|
| 358 |
type Channelinfo struct { |
| 359 |
Backend string |
| 360 |
BackendId uint32 |
| 361 |
Frontend string |
| 362 |
FrontendId uint32 |
| 363 |
Devid Devid |
| 364 |
State int |
| 365 |
Evtch int |
| 366 |
Rref int |
| 367 |
Connection ChannelConnection |
| 368 |
ConnectionUnion ChannelinfoConnectionUnion |
| 369 |
} |
| 370 |
|
| 371 |
type ChannelinfoConnectionUnion interface { |
| 372 |
isChannelinfoConnectionUnion() |
| 373 |
} |
| 374 |
|
| 375 |
type ChannelinfoConnectionUnionPty struct { |
| 376 |
Path string |
| 377 |
} |
| 378 |
|
| 379 |
func (x ChannelinfoConnectionUnionPty) isChannelinfoConnectionUnion(){} |
| 380 |
|
| 381 |
type Vminfo struct { |
| 382 |
Uuid Uuid |
| 383 |
Domid Domid |
| 384 |
} |
| 385 |
|
| 386 |
type VersionInfo struct { |
| 387 |
XenVersionMajor int |
| 388 |
XenVersionMinor int |
| 389 |
XenVersionExtra string |
| 390 |
Compiler string |
| 391 |
CompileBy string |
| 392 |
CompileDomain string |
| 393 |
CompileDate string |
| 394 |
Capabilities string |
| 395 |
Changeset string |
| 396 |
VirtStart uint64 |
| 397 |
Pagesize int |
| 398 |
Commandline string |
| 399 |
BuildId string |
| 400 |
} |
| 401 |
|
| 402 |
type SmbiosType int |
| 403 |
const( |
| 404 |
SmbiosTypeBiosVendor SmbiosType = 1 |
| 405 |
SmbiosTypeBiosVersion SmbiosType = 2 |
| 406 |
SmbiosTypeSystemManufacturer SmbiosType = 3 |
| 407 |
SmbiosTypeSystemProductName SmbiosType = 4 |
| 408 |
SmbiosTypeSystemVersion SmbiosType = 5 |
| 409 |
SmbiosTypeSystemSerialNumber SmbiosType = 6 |
| 410 |
SmbiosTypeBaseboardManufacturer SmbiosType = 7 |
| 411 |
SmbiosTypeBaseboardProductName SmbiosType = 8 |
| 412 |
SmbiosTypeBaseboardVersion SmbiosType = 9 |
| 413 |
SmbiosTypeBaseboardSerialNumber SmbiosType = 10 |
| 414 |
SmbiosTypeBaseboardAssetTag SmbiosType = 11 |
| 415 |
SmbiosTypeBaseboardLocationInChassis SmbiosType = 12 |
| 416 |
SmbiosTypeEnclosureManufacturer SmbiosType = 13 |
| 417 |
SmbiosTypeEnclosureSerialNumber SmbiosType = 14 |
| 418 |
SmbiosTypeEnclosureAssetTag SmbiosType = 15 |
| 419 |
SmbiosTypeBatteryManufacturer SmbiosType = 16 |
| 420 |
SmbiosTypeBatteryDeviceName SmbiosType = 17 |
| 421 |
SmbiosTypeOem SmbiosType = 18 |
| 422 |
) |
| 423 |
|
| 424 |
type Smbios struct { |
| 425 |
Key SmbiosType |
| 426 |
Value string |
| 427 |
} |
| 428 |
|
| 429 |
type DomainCreateInfo struct { |
| 430 |
Type DomainType |
| 431 |
Hap Defbool |
| 432 |
Oos Defbool |
| 433 |
Ssidref uint32 |
| 434 |
SsidLabel string |
| 435 |
Name string |
| 436 |
Domid Domid |
| 437 |
Uuid Uuid |
| 438 |
Xsdata KeyValueList |
| 439 |
Platformdata KeyValueList |
| 440 |
Poolid uint32 |
| 441 |
PoolName string |
| 442 |
RunHotplugScripts Defbool |
| 443 |
DriverDomain Defbool |
| 444 |
Passthrough Passthrough |
| 445 |
XendSuspendEvtchnCompat Defbool |
| 446 |
} |
| 447 |
|
| 448 |
type DomainRestoreParams struct { |
| 449 |
CheckpointedStream int |
| 450 |
StreamVersion uint32 |
| 451 |
ColoProxyScript string |
| 452 |
UserspaceColoProxy Defbool |
| 453 |
} |
| 454 |
|
| 455 |
type SchedParams struct { |
| 456 |
Vcpuid int |
| 457 |
Weight int |
| 458 |
Cap int |
| 459 |
Period int |
| 460 |
Extratime int |
| 461 |
Budget int |
| 462 |
} |
| 463 |
|
| 464 |
type VcpuSchedParams struct { |
| 465 |
Sched Scheduler |
| 466 |
Vcpus []SchedParams |
| 467 |
} |
| 468 |
|
| 469 |
type DomainSchedParams struct { |
| 470 |
Sched Scheduler |
| 471 |
Weight int |
| 472 |
Cap int |
| 473 |
Period int |
| 474 |
Budget int |
| 475 |
Extratime int |
| 476 |
Slice int |
| 477 |
Latency int |
| 478 |
} |
| 479 |
|
| 480 |
type VnodeInfo struct { |
| 481 |
Memkb uint64 |
| 482 |
Distances []uint32 |
| 483 |
Pnode uint32 |
| 484 |
Vcpus Bitmap |
| 485 |
} |
| 486 |
|
| 487 |
type GicVersion int |
| 488 |
const( |
| 489 |
GicVersionDefault GicVersion = 0 |
| 490 |
GicVersionV2 GicVersion = 32 |
| 491 |
GicVersionV3 GicVersion = 48 |
| 492 |
) |
| 493 |
|
| 494 |
type TeeType int |
| 495 |
const( |
| 496 |
TeeTypeNone TeeType = 0 |
| 497 |
TeeTypeOptee TeeType = 1 |
| 498 |
TeeTypeFfa TeeType = 2 |
| 499 |
) |
| 500 |
|
| 501 |
type SveType int |
| 502 |
const( |
| 503 |
SveTypeHw SveType = -1 |
| 504 |
SveTypeDisabled SveType = 0 |
| 505 |
SveType128 SveType = 128 |
| 506 |
SveType256 SveType = 256 |
| 507 |
SveType384 SveType = 384 |
| 508 |
SveType512 SveType = 512 |
| 509 |
SveType640 SveType = 640 |
| 510 |
SveType768 SveType = 768 |
| 511 |
SveType896 SveType = 896 |
| 512 |
SveType1024 SveType = 1024 |
| 513 |
SveType1152 SveType = 1152 |
| 514 |
SveType1280 SveType = 1280 |
| 515 |
SveType1408 SveType = 1408 |
| 516 |
SveType1536 SveType = 1536 |
| 517 |
SveType1664 SveType = 1664 |
| 518 |
SveType1792 SveType = 1792 |
| 519 |
SveType1920 SveType = 1920 |
| 520 |
SveType2048 SveType = 2048 |
| 521 |
) |
| 522 |
|
| 523 |
type RdmReserve struct { |
| 524 |
Strategy RdmReserveStrategy |
| 525 |
Policy RdmReservePolicy |
| 526 |
} |
| 527 |
|
| 528 |
type Altp2MMode int |
| 529 |
const( |
| 530 |
Altp2MModeDisabled Altp2MMode = 0 |
| 531 |
Altp2MModeMixed Altp2MMode = 1 |
| 532 |
Altp2MModeExternal Altp2MMode = 2 |
| 533 |
Altp2MModeLimited Altp2MMode = 3 |
| 534 |
) |
| 535 |
|
| 536 |
type DomainBuildInfo struct { |
| 537 |
MaxVcpus int |
| 538 |
AvailVcpus Bitmap |
| 539 |
Cpumap Bitmap |
| 540 |
Nodemap Bitmap |
| 541 |
VcpuHardAffinity []Bitmap |
| 542 |
VcpuSoftAffinity []Bitmap |
| 543 |
NumaPlacement Defbool |
| 544 |
TscMode TscMode |
| 545 |
MaxMemkb uint64 |
| 546 |
TargetMemkb uint64 |
| 547 |
VideoMemkb uint64 |
| 548 |
ShadowMemkb uint64 |
| 549 |
IommuMemkb uint64 |
| 550 |
RtcTimeoffset uint32 |
| 551 |
ExecSsidref uint32 |
| 552 |
ExecSsidLabel string |
| 553 |
Localtime Defbool |
| 554 |
DisableMigrate Defbool |
| 555 |
Cpuid CpuidPolicyList |
| 556 |
BlkdevStart string |
| 557 |
VnumaNodes []VnodeInfo |
| 558 |
MaxGrantFrames uint32 |
| 559 |
MaxMaptrackFrames uint32 |
| 560 |
MaxGrantVersion int |
| 561 |
DeviceModelVersion DeviceModelVersion |
| 562 |
DeviceModelStubdomain Defbool |
| 563 |
StubdomainMemkb uint64 |
| 564 |
StubdomainKernel string |
| 565 |
StubdomainCmdline string |
| 566 |
StubdomainRamdisk string |
| 567 |
DeviceModel string |
| 568 |
DeviceModelSsidref uint32 |
| 569 |
DeviceModelSsidLabel string |
| 570 |
DeviceModelUser string |
| 571 |
Extra StringList |
| 572 |
ExtraPv StringList |
| 573 |
ExtraHvm StringList |
| 574 |
SchedParams DomainSchedParams |
| 575 |
Ioports []IoportRange |
| 576 |
Irqs []uint32 |
| 577 |
Iomem []IomemRange |
| 578 |
LlcColors []uint32 |
| 579 |
ClaimMode Defbool |
| 580 |
EventChannels uint32 |
| 581 |
Kernel string |
| 582 |
Cmdline string |
| 583 |
Ramdisk string |
| 584 |
DeviceTree string |
| 585 |
Acpi Defbool |
| 586 |
Bootloader string |
| 587 |
BootloaderArgs StringList |
| 588 |
BootloaderRestrict Defbool |
| 589 |
BootloaderUser string |
| 590 |
TimerMode TimerMode |
| 591 |
NestedHvm Defbool |
| 592 |
Apic Defbool |
| 593 |
DmRestrict Defbool |
| 594 |
Tee TeeType |
| 595 |
Type DomainType |
| 596 |
TypeUnion DomainBuildInfoTypeUnion |
| 597 |
ArchArm struct { |
| 598 |
GicVersion GicVersion |
| 599 |
Vuart VuartType |
| 600 |
SveVl SveType |
| 601 |
NrSpis uint32 |
| 602 |
} |
| 603 |
ArchX86 struct { |
| 604 |
MsrRelaxed Defbool |
| 605 |
} |
| 606 |
Altp2M Altp2MMode |
| 607 |
VmtraceBufKb int |
| 608 |
Vpmu Defbool |
| 609 |
} |
| 610 |
|
| 611 |
type DomainBuildInfoTypeUnion interface { |
| 612 |
isDomainBuildInfoTypeUnion() |
| 613 |
} |
| 614 |
|
| 615 |
type DomainBuildInfoTypeUnionHvm struct { |
| 616 |
Firmware string |
| 617 |
Bios BiosType |
| 618 |
Pae Defbool |
| 619 |
Apic Defbool |
| 620 |
Acpi Defbool |
| 621 |
AcpiS3 Defbool |
| 622 |
AcpiS4 Defbool |
| 623 |
AcpiLaptopSlate Defbool |
| 624 |
Nx Defbool |
| 625 |
Viridian Defbool |
| 626 |
ViridianEnable Bitmap |
| 627 |
ViridianDisable Bitmap |
| 628 |
Timeoffset string |
| 629 |
Hpet Defbool |
| 630 |
VptAlign Defbool |
| 631 |
MmioHoleMemkb uint64 |
| 632 |
TimerMode TimerMode |
| 633 |
NestedHvm Defbool |
| 634 |
Altp2M Defbool |
| 635 |
SystemFirmware string |
| 636 |
SmbiosFirmware string |
| 637 |
Smbios []Smbios |
| 638 |
AcpiFirmware string |
| 639 |
Hdtype Hdtype |
| 640 |
Nographic Defbool |
| 641 |
Vga VgaInterfaceInfo |
| 642 |
Vnc VncInfo |
| 643 |
Keymap string |
| 644 |
Sdl SdlInfo |
| 645 |
Spice SpiceInfo |
| 646 |
GfxPassthru Defbool |
| 647 |
GfxPassthruKind GfxPassthruKind |
| 648 |
Serial string |
| 649 |
Boot string |
| 650 |
Usb Defbool |
| 651 |
Usbversion int |
| 652 |
Usbdevice string |
| 653 |
VkbDevice Defbool |
| 654 |
Soundhw string |
| 655 |
XenPlatformPci Defbool |
| 656 |
UsbdeviceList StringList |
| 657 |
VendorDevice VendorDevice |
| 658 |
MsVmGenid MsVmGenid |
| 659 |
SerialList StringList |
| 660 |
Rdm RdmReserve |
| 661 |
RdmMemBoundaryMemkb uint64 |
| 662 |
McaCaps uint64 |
| 663 |
Pirq Defbool |
| 664 |
} |
| 665 |
|
| 666 |
func (x DomainBuildInfoTypeUnionHvm) isDomainBuildInfoTypeUnion(){} |
| 667 |
|
| 668 |
type DomainBuildInfoTypeUnionPv struct { |
| 669 |
Kernel string |
| 670 |
SlackMemkb uint64 |
| 671 |
Bootloader string |
| 672 |
BootloaderArgs StringList |
| 673 |
Cmdline string |
| 674 |
Ramdisk string |
| 675 |
Features string |
| 676 |
E820Host Defbool |
| 677 |
} |
| 678 |
|
| 679 |
func (x DomainBuildInfoTypeUnionPv) isDomainBuildInfoTypeUnion(){} |
| 680 |
|
| 681 |
type DomainBuildInfoTypeUnionPvh struct { |
| 682 |
Pvshim Defbool |
| 683 |
PvshimPath string |
| 684 |
PvshimCmdline string |
| 685 |
PvshimExtra string |
| 686 |
} |
| 687 |
|
| 688 |
func (x DomainBuildInfoTypeUnionPvh) isDomainBuildInfoTypeUnion(){} |
| 689 |
|
| 690 |
type DeviceVfb struct { |
| 691 |
BackendDomid Domid |
| 692 |
BackendDomname string |
| 693 |
Devid Devid |
| 694 |
Vnc VncInfo |
| 695 |
Sdl SdlInfo |
| 696 |
Keymap string |
| 697 |
} |
| 698 |
|
| 699 |
type DeviceVkb struct { |
| 700 |
BackendDomid Domid |
| 701 |
BackendDomname string |
| 702 |
Devid Devid |
| 703 |
BackendType VkbBackend |
| 704 |
UniqueId string |
| 705 |
FeatureDisableKeyboard bool |
| 706 |
FeatureDisablePointer bool |
| 707 |
FeatureAbsPointer bool |
| 708 |
FeatureRawPointer bool |
| 709 |
FeatureMultiTouch bool |
| 710 |
Width uint32 |
| 711 |
Height uint32 |
| 712 |
MultiTouchWidth uint32 |
| 713 |
MultiTouchHeight uint32 |
| 714 |
MultiTouchNumContacts uint32 |
| 715 |
} |
| 716 |
|
| 717 |
type DeviceVirtio struct { |
| 718 |
BackendDomid Domid |
| 719 |
BackendDomname string |
| 720 |
Type string |
| 721 |
Transport VirtioTransport |
| 722 |
GrantUsage Defbool |
| 723 |
Devid Devid |
| 724 |
Irq uint32 |
| 725 |
Base uint64 |
| 726 |
} |
| 727 |
|
| 728 |
type DeviceDisk struct { |
| 729 |
BackendDomid Domid |
| 730 |
BackendDomname string |
| 731 |
PdevPath string |
| 732 |
Vdev string |
| 733 |
Backend DiskBackend |
| 734 |
Format DiskFormat |
| 735 |
Script string |
| 736 |
Removable int |
| 737 |
Readwrite int |
| 738 |
IsCdrom int |
| 739 |
DirectIoSafe bool |
| 740 |
DiscardEnable Defbool |
| 741 |
Specification DiskSpecification |
| 742 |
Transport DiskTransport |
| 743 |
Irq uint32 |
| 744 |
Base uint64 |
| 745 |
ColoEnable Defbool |
| 746 |
ColoRestoreEnable Defbool |
| 747 |
ColoHost string |
| 748 |
ColoPort int |
| 749 |
ColoExport string |
| 750 |
ActiveDisk string |
| 751 |
HiddenDisk string |
| 752 |
Trusted Defbool |
| 753 |
GrantUsage Defbool |
| 754 |
} |
| 755 |
|
| 756 |
type DeviceNic struct { |
| 757 |
BackendDomid Domid |
| 758 |
BackendDomname string |
| 759 |
Devid Devid |
| 760 |
Mtu int |
| 761 |
Vlan string |
| 762 |
Model string |
| 763 |
Mac Mac |
| 764 |
Ip string |
| 765 |
Bridge string |
| 766 |
Ifname string |
| 767 |
Script string |
| 768 |
Nictype NicType |
| 769 |
RateBytesPerInterval uint64 |
| 770 |
RateIntervalUsecs uint32 |
| 771 |
Gatewaydev string |
| 772 |
ColoftForwarddev string |
| 773 |
ColoSockMirrorId string |
| 774 |
ColoSockMirrorIp string |
| 775 |
ColoSockMirrorPort string |
| 776 |
ColoSockComparePriInId string |
| 777 |
ColoSockComparePriInIp string |
| 778 |
ColoSockComparePriInPort string |
| 779 |
ColoSockCompareSecInId string |
| 780 |
ColoSockCompareSecInIp string |
| 781 |
ColoSockCompareSecInPort string |
| 782 |
ColoSockCompareNotifyId string |
| 783 |
ColoSockCompareNotifyIp string |
| 784 |
ColoSockCompareNotifyPort string |
| 785 |
ColoSockRedirector0Id string |
| 786 |
ColoSockRedirector0Ip string |
| 787 |
ColoSockRedirector0Port string |
| 788 |
ColoSockRedirector1Id string |
| 789 |
ColoSockRedirector1Ip string |
| 790 |
ColoSockRedirector1Port string |
| 791 |
ColoSockRedirector2Id string |
| 792 |
ColoSockRedirector2Ip string |
| 793 |
ColoSockRedirector2Port string |
| 794 |
ColoFilterMirrorQueue string |
| 795 |
ColoFilterMirrorOutdev string |
| 796 |
ColoFilterRedirector0Queue string |
| 797 |
ColoFilterRedirector0Indev string |
| 798 |
ColoFilterRedirector0Outdev string |
| 799 |
ColoFilterRedirector1Queue string |
| 800 |
ColoFilterRedirector1Indev string |
| 801 |
ColoFilterRedirector1Outdev string |
| 802 |
ColoComparePriIn string |
| 803 |
ColoCompareSecIn string |
| 804 |
ColoCompareOut string |
| 805 |
ColoCompareNotifyDev string |
| 806 |
ColoSockSecRedirector0Id string |
| 807 |
ColoSockSecRedirector0Ip string |
| 808 |
ColoSockSecRedirector0Port string |
| 809 |
ColoSockSecRedirector1Id string |
| 810 |
ColoSockSecRedirector1Ip string |
| 811 |
ColoSockSecRedirector1Port string |
| 812 |
ColoFilterSecRedirector0Queue string |
| 813 |
ColoFilterSecRedirector0Indev string |
| 814 |
ColoFilterSecRedirector0Outdev string |
| 815 |
ColoFilterSecRedirector1Queue string |
| 816 |
ColoFilterSecRedirector1Indev string |
| 817 |
ColoFilterSecRedirector1Outdev string |
| 818 |
ColoFilterSecRewriter0Queue string |
| 819 |
ColoCheckpointHost string |
| 820 |
ColoCheckpointPort string |
| 821 |
Trusted Defbool |
| 822 |
} |
| 823 |
|
| 824 |
type DevicePci struct { |
| 825 |
Func byte |
| 826 |
Dev byte |
| 827 |
Bus byte |
| 828 |
Domain int |
| 829 |
Vdevfn uint32 |
| 830 |
VfuncMask uint32 |
| 831 |
Msitranslate bool |
| 832 |
PowerMgmt bool |
| 833 |
Permissive bool |
| 834 |
Seize bool |
| 835 |
RdmPolicy RdmReservePolicy |
| 836 |
Name string |
| 837 |
} |
| 838 |
|
| 839 |
type DeviceRdm struct { |
| 840 |
Start uint64 |
| 841 |
Size uint64 |
| 842 |
Policy RdmReservePolicy |
| 843 |
} |
| 844 |
|
| 845 |
type UsbctrlType int |
| 846 |
const( |
| 847 |
UsbctrlTypeAuto UsbctrlType = 0 |
| 848 |
UsbctrlTypePv UsbctrlType = 1 |
| 849 |
UsbctrlTypeDevicemodel UsbctrlType = 2 |
| 850 |
UsbctrlTypeQusb UsbctrlType = 3 |
| 851 |
) |
| 852 |
|
| 853 |
type UsbdevType int |
| 854 |
const( |
| 855 |
UsbdevTypeHostdev UsbdevType = 1 |
| 856 |
) |
| 857 |
|
| 858 |
type DeviceUsbctrl struct { |
| 859 |
Type UsbctrlType |
| 860 |
Devid Devid |
| 861 |
Version int |
| 862 |
Ports int |
| 863 |
BackendDomid Domid |
| 864 |
BackendDomname string |
| 865 |
} |
| 866 |
|
| 867 |
type DeviceUsbdev struct { |
| 868 |
Ctrl Devid |
| 869 |
Port int |
| 870 |
Type UsbdevType |
| 871 |
TypeUnion DeviceUsbdevTypeUnion |
| 872 |
} |
| 873 |
|
| 874 |
type DeviceUsbdevTypeUnion interface { |
| 875 |
isDeviceUsbdevTypeUnion() |
| 876 |
} |
| 877 |
|
| 878 |
type DeviceUsbdevTypeUnionHostdev struct { |
| 879 |
Hostbus byte |
| 880 |
Hostaddr byte |
| 881 |
} |
| 882 |
|
| 883 |
func (x DeviceUsbdevTypeUnionHostdev) isDeviceUsbdevTypeUnion(){} |
| 884 |
|
| 885 |
type DeviceDtdev struct { |
| 886 |
Path string |
| 887 |
} |
| 888 |
|
| 889 |
type DeviceVtpm struct { |
| 890 |
BackendDomid Domid |
| 891 |
BackendDomname string |
| 892 |
Devid Devid |
| 893 |
Uuid Uuid |
| 894 |
} |
| 895 |
|
| 896 |
type DeviceP9 struct { |
| 897 |
BackendDomid Domid |
| 898 |
BackendDomname string |
| 899 |
Tag string |
| 900 |
Path string |
| 901 |
SecurityModel string |
| 902 |
Devid Devid |
| 903 |
Type P9Type |
| 904 |
MaxSpace int |
| 905 |
MaxFiles int |
| 906 |
MaxOpenFiles int |
| 907 |
AutoDelete bool |
| 908 |
} |
| 909 |
|
| 910 |
type DevicePvcallsif struct { |
| 911 |
BackendDomid Domid |
| 912 |
BackendDomname string |
| 913 |
Devid Devid |
| 914 |
} |
| 915 |
|
| 916 |
type DeviceChannel struct { |
| 917 |
BackendDomid Domid |
| 918 |
BackendDomname string |
| 919 |
Devid Devid |
| 920 |
Name string |
| 921 |
Connection ChannelConnection |
| 922 |
ConnectionUnion DeviceChannelConnectionUnion |
| 923 |
} |
| 924 |
|
| 925 |
type DeviceChannelConnectionUnion interface { |
| 926 |
isDeviceChannelConnectionUnion() |
| 927 |
} |
| 928 |
|
| 929 |
type DeviceChannelConnectionUnionSocket struct { |
| 930 |
Path string |
| 931 |
} |
| 932 |
|
| 933 |
func (x DeviceChannelConnectionUnionSocket) isDeviceChannelConnectionUnion(){} |
| 934 |
|
| 935 |
type ConnectorParam struct { |
| 936 |
UniqueId string |
| 937 |
Width uint32 |
| 938 |
Height uint32 |
| 939 |
} |
| 940 |
|
| 941 |
type DeviceVdispl struct { |
| 942 |
BackendDomid Domid |
| 943 |
BackendDomname string |
| 944 |
Devid Devid |
| 945 |
BeAlloc bool |
| 946 |
Connectors []ConnectorParam |
| 947 |
} |
| 948 |
|
| 949 |
type VsndPcmFormat int |
| 950 |
const( |
| 951 |
VsndPcmFormatS8 VsndPcmFormat = 1 |
| 952 |
VsndPcmFormatU8 VsndPcmFormat = 2 |
| 953 |
VsndPcmFormatS16Le VsndPcmFormat = 3 |
| 954 |
VsndPcmFormatS16Be VsndPcmFormat = 4 |
| 955 |
VsndPcmFormatU16Le VsndPcmFormat = 5 |
| 956 |
VsndPcmFormatU16Be VsndPcmFormat = 6 |
| 957 |
VsndPcmFormatS24Le VsndPcmFormat = 7 |
| 958 |
VsndPcmFormatS24Be VsndPcmFormat = 8 |
| 959 |
VsndPcmFormatU24Le VsndPcmFormat = 9 |
| 960 |
VsndPcmFormatU24Be VsndPcmFormat = 10 |
| 961 |
VsndPcmFormatS32Le VsndPcmFormat = 11 |
| 962 |
VsndPcmFormatS32Be VsndPcmFormat = 12 |
| 963 |
VsndPcmFormatU32Le VsndPcmFormat = 13 |
| 964 |
VsndPcmFormatU32Be VsndPcmFormat = 14 |
| 965 |
VsndPcmFormatF32Le VsndPcmFormat = 15 |
| 966 |
VsndPcmFormatF32Be VsndPcmFormat = 16 |
| 967 |
VsndPcmFormatF64Le VsndPcmFormat = 17 |
| 968 |
VsndPcmFormatF64Be VsndPcmFormat = 18 |
| 969 |
VsndPcmFormatIec958SubframeLe VsndPcmFormat = 19 |
| 970 |
VsndPcmFormatIec958SubframeBe VsndPcmFormat = 20 |
| 971 |
VsndPcmFormatMuLaw VsndPcmFormat = 21 |
| 972 |
VsndPcmFormatALaw VsndPcmFormat = 22 |
| 973 |
VsndPcmFormatImaAdpcm VsndPcmFormat = 23 |
| 974 |
VsndPcmFormatMpeg VsndPcmFormat = 24 |
| 975 |
VsndPcmFormatGsm VsndPcmFormat = 25 |
| 976 |
) |
| 977 |
|
| 978 |
type VsndParams struct { |
| 979 |
SampleRates []uint32 |
| 980 |
SampleFormats []VsndPcmFormat |
| 981 |
ChannelsMin uint32 |
| 982 |
ChannelsMax uint32 |
| 983 |
BufferSize uint32 |
| 984 |
} |
| 985 |
|
| 986 |
type VsndStreamType int |
| 987 |
const( |
| 988 |
VsndStreamTypeP VsndStreamType = 1 |
| 989 |
VsndStreamTypeC VsndStreamType = 2 |
| 990 |
) |
| 991 |
|
| 992 |
type VsndStream struct { |
| 993 |
UniqueId string |
| 994 |
Type VsndStreamType |
| 995 |
Params VsndParams |
| 996 |
} |
| 997 |
|
| 998 |
type VsndPcm struct { |
| 999 |
Name string |
| 1000 |
Params VsndParams |
| 1001 |
Streams []VsndStream |
| 1002 |
} |
| 1003 |
|
| 1004 |
type DeviceVsnd struct { |
| 1005 |
BackendDomid Domid |
| 1006 |
BackendDomname string |
| 1007 |
Devid Devid |
| 1008 |
ShortName string |
| 1009 |
LongName string |
| 1010 |
Params VsndParams |
| 1011 |
Pcms []VsndPcm |
| 1012 |
} |
| 1013 |
|
| 1014 |
type DomainConfig struct { |
| 1015 |
CInfo DomainCreateInfo |
| 1016 |
BInfo DomainBuildInfo |
| 1017 |
Disks []DeviceDisk |
| 1018 |
Nics []DeviceNic |
| 1019 |
Pcidevs []DevicePci |
| 1020 |
Rdms []DeviceRdm |
| 1021 |
Dtdevs []DeviceDtdev |
| 1022 |
Vfbs []DeviceVfb |
| 1023 |
Vkbs []DeviceVkb |
| 1024 |
Virtios []DeviceVirtio |
| 1025 |
Vtpms []DeviceVtpm |
| 1026 |
P9S []DeviceP9 |
| 1027 |
Pvcallsifs []DevicePvcallsif |
| 1028 |
Vdispls []DeviceVdispl |
| 1029 |
Vsnds []DeviceVsnd |
| 1030 |
Channels []DeviceChannel |
| 1031 |
Usbctrls []DeviceUsbctrl |
| 1032 |
Usbdevs []DeviceUsbdev |
| 1033 |
OnPoweroff ActionOnShutdown |
| 1034 |
OnReboot ActionOnShutdown |
| 1035 |
OnWatchdog ActionOnShutdown |
| 1036 |
OnCrash ActionOnShutdown |
| 1037 |
OnSoftReset ActionOnShutdown |
| 1038 |
} |
| 1039 |
|
| 1040 |
type Diskinfo struct { |
| 1041 |
Backend string |
| 1042 |
BackendId uint32 |
| 1043 |
Frontend string |
| 1044 |
FrontendId uint32 |
| 1045 |
Devid Devid |
| 1046 |
State int |
| 1047 |
Evtch int |
| 1048 |
Rref int |
| 1049 |
} |
| 1050 |
|
| 1051 |
type Nicinfo struct { |
| 1052 |
Backend string |
| 1053 |
BackendId uint32 |
| 1054 |
Frontend string |
| 1055 |
FrontendId uint32 |
| 1056 |
Devid Devid |
| 1057 |
State int |
| 1058 |
Evtch int |
| 1059 |
RrefTx int |
| 1060 |
RrefRx int |
| 1061 |
} |
| 1062 |
|
| 1063 |
type Vtpminfo struct { |
| 1064 |
Backend string |
| 1065 |
BackendId uint32 |
| 1066 |
Frontend string |
| 1067 |
FrontendId uint32 |
| 1068 |
Devid Devid |
| 1069 |
State int |
| 1070 |
Evtch int |
| 1071 |
Rref int |
| 1072 |
Uuid Uuid |
| 1073 |
} |
| 1074 |
|
| 1075 |
type Usbctrlinfo struct { |
| 1076 |
Type UsbctrlType |
| 1077 |
Devid Devid |
| 1078 |
Version int |
| 1079 |
Ports int |
| 1080 |
Backend string |
| 1081 |
BackendId uint32 |
| 1082 |
Frontend string |
| 1083 |
FrontendId uint32 |
| 1084 |
State int |
| 1085 |
Evtch int |
| 1086 |
RefUrb int |
| 1087 |
RefConn int |
| 1088 |
} |
| 1089 |
|
| 1090 |
type Vcpuinfo struct { |
| 1091 |
Vcpuid uint32 |
| 1092 |
Cpu uint32 |
| 1093 |
Online bool |
| 1094 |
Blocked bool |
| 1095 |
Running bool |
| 1096 |
VcpuTime uint64 |
| 1097 |
Cpumap Bitmap |
| 1098 |
CpumapSoft Bitmap |
| 1099 |
} |
| 1100 |
|
| 1101 |
type Physinfo struct { |
| 1102 |
ThreadsPerCore uint32 |
| 1103 |
CoresPerSocket uint32 |
| 1104 |
MaxCpuId uint32 |
| 1105 |
NrCpus uint32 |
| 1106 |
CpuKhz uint32 |
| 1107 |
TotalPages uint64 |
| 1108 |
FreePages uint64 |
| 1109 |
ScrubPages uint64 |
| 1110 |
OutstandingPages uint64 |
| 1111 |
SharingFreedPages uint64 |
| 1112 |
SharingUsedFrames uint64 |
| 1113 |
MaxPossibleMfn uint64 |
| 1114 |
NrNodes uint32 |
| 1115 |
HwCap Hwcap |
| 1116 |
CapHvm bool |
| 1117 |
CapPv bool |
| 1118 |
CapHvmDirectio bool |
| 1119 |
CapHap bool |
| 1120 |
CapShadow bool |
| 1121 |
CapIommuHapPtShare bool |
| 1122 |
CapVmtrace bool |
| 1123 |
CapVpmu bool |
| 1124 |
CapGnttabV1 bool |
| 1125 |
CapGnttabV2 bool |
| 1126 |
ArchCapabilities uint32 |
| 1127 |
} |
| 1128 |
|
| 1129 |
type Connectorinfo struct { |
| 1130 |
UniqueId string |
| 1131 |
Width uint32 |
| 1132 |
Height uint32 |
| 1133 |
ReqEvtch int |
| 1134 |
ReqRref int |
| 1135 |
EvtEvtch int |
| 1136 |
EvtRref int |
| 1137 |
} |
| 1138 |
|
| 1139 |
type Vdisplinfo struct { |
| 1140 |
Backend string |
| 1141 |
BackendId uint32 |
| 1142 |
Frontend string |
| 1143 |
FrontendId uint32 |
| 1144 |
Devid Devid |
| 1145 |
State int |
| 1146 |
BeAlloc bool |
| 1147 |
Connectors []Connectorinfo |
| 1148 |
} |
| 1149 |
|
| 1150 |
type Streaminfo struct { |
| 1151 |
ReqEvtch int |
| 1152 |
ReqRref int |
| 1153 |
} |
| 1154 |
|
| 1155 |
type Pcminfo struct { |
| 1156 |
Streams []Streaminfo |
| 1157 |
} |
| 1158 |
|
| 1159 |
type Vsndinfo struct { |
| 1160 |
Backend string |
| 1161 |
BackendId uint32 |
| 1162 |
Frontend string |
| 1163 |
FrontendId uint32 |
| 1164 |
Devid Devid |
| 1165 |
State int |
| 1166 |
Pcms []Pcminfo |
| 1167 |
} |
| 1168 |
|
| 1169 |
type Vkbinfo struct { |
| 1170 |
Backend string |
| 1171 |
BackendId uint32 |
| 1172 |
Frontend string |
| 1173 |
FrontendId uint32 |
| 1174 |
Devid Devid |
| 1175 |
State int |
| 1176 |
Evtch int |
| 1177 |
Rref int |
| 1178 |
} |
| 1179 |
|
| 1180 |
type Numainfo struct { |
| 1181 |
Size uint64 |
| 1182 |
Free uint64 |
| 1183 |
Dists []uint32 |
| 1184 |
} |
| 1185 |
|
| 1186 |
type Cputopology struct { |
| 1187 |
Core uint32 |
| 1188 |
Socket uint32 |
| 1189 |
Node uint32 |
| 1190 |
} |
| 1191 |
|
| 1192 |
type Pcitopology struct { |
| 1193 |
Seg uint16 |
| 1194 |
Bus byte |
| 1195 |
Devfn byte |
| 1196 |
Node uint32 |
| 1197 |
} |
| 1198 |
|
| 1199 |
type SchedCreditParams struct { |
| 1200 |
TsliceMs int |
| 1201 |
RatelimitUs int |
| 1202 |
VcpuMigrDelayUs int |
| 1203 |
} |
| 1204 |
|
| 1205 |
type SchedCredit2Params struct { |
| 1206 |
RatelimitUs int |
| 1207 |
} |
| 1208 |
|
| 1209 |
type DomainRemusInfo struct { |
| 1210 |
Interval int |
| 1211 |
AllowUnsafe Defbool |
| 1212 |
Blackhole Defbool |
| 1213 |
Compression Defbool |
| 1214 |
Netbuf Defbool |
| 1215 |
Netbufscript string |
| 1216 |
Diskbuf Defbool |
| 1217 |
Colo Defbool |
| 1218 |
UserspaceColoProxy Defbool |
| 1219 |
} |
| 1220 |
|
| 1221 |
type EventType int |
| 1222 |
const( |
| 1223 |
EventTypeDomainShutdown EventType = 1 |
| 1224 |
EventTypeDomainDeath EventType = 2 |
| 1225 |
EventTypeDiskEject EventType = 3 |
| 1226 |
EventTypeOperationComplete EventType = 4 |
| 1227 |
EventTypeDomainCreateConsoleAvailable EventType = 5 |
| 1228 |
) |
| 1229 |
|
| 1230 |
type Event struct { |
| 1231 |
Link EvLink |
| 1232 |
Domid Domid |
| 1233 |
Domuuid Uuid |
| 1234 |
ForUser uint64 |
| 1235 |
Type EventType |
| 1236 |
TypeUnion EventTypeUnion |
| 1237 |
} |
| 1238 |
|
| 1239 |
type EventTypeUnion interface { |
| 1240 |
isEventTypeUnion() |
| 1241 |
} |
| 1242 |
|
| 1243 |
type EventTypeUnionDomainShutdown struct { |
| 1244 |
ShutdownReason byte |
| 1245 |
} |
| 1246 |
|
| 1247 |
func (x EventTypeUnionDomainShutdown) isEventTypeUnion(){} |
| 1248 |
|
| 1249 |
type EventTypeUnionDiskEject struct { |
| 1250 |
Vdev string |
| 1251 |
Disk DeviceDisk |
| 1252 |
} |
| 1253 |
|
| 1254 |
func (x EventTypeUnionDiskEject) isEventTypeUnion(){} |
| 1255 |
|
| 1256 |
type EventTypeUnionOperationComplete struct { |
| 1257 |
Rc int |
| 1258 |
} |
| 1259 |
|
| 1260 |
func (x EventTypeUnionOperationComplete) isEventTypeUnion(){} |
| 1261 |
|
| 1262 |
type PsrCmtType int |
| 1263 |
const( |
| 1264 |
PsrCmtTypeCacheOccupancy PsrCmtType = 1 |
| 1265 |
PsrCmtTypeTotalMemCount PsrCmtType = 2 |
| 1266 |
PsrCmtTypeLocalMemCount PsrCmtType = 3 |
| 1267 |
) |
| 1268 |
|
| 1269 |
type PsrCbmType int |
| 1270 |
const( |
| 1271 |
PsrCbmTypeUnknown PsrCbmType = 0 |
| 1272 |
PsrCbmTypeL3Cbm PsrCbmType = 1 |
| 1273 |
PsrCbmTypeL3CbmCode PsrCbmType = 2 |
| 1274 |
PsrCbmTypeL3CbmData PsrCbmType = 3 |
| 1275 |
PsrCbmTypeL2Cbm PsrCbmType = 4 |
| 1276 |
PsrCbmTypeMbaThrtl PsrCbmType = 5 |
| 1277 |
) |
| 1278 |
|
| 1279 |
type PsrCatInfo struct { |
| 1280 |
Id uint32 |
| 1281 |
CosMax uint32 |
| 1282 |
CbmLen uint32 |
| 1283 |
CdpEnabled bool |
| 1284 |
} |
| 1285 |
|
| 1286 |
type PsrFeatType int |
| 1287 |
const( |
| 1288 |
PsrFeatTypeCat PsrFeatType = 1 |
| 1289 |
PsrFeatTypeMba PsrFeatType = 2 |
| 1290 |
) |
| 1291 |
|
| 1292 |
type PsrHwInfo struct { |
| 1293 |
Id uint32 |
| 1294 |
Type PsrFeatType |
| 1295 |
TypeUnion PsrHwInfoTypeUnion |
| 1296 |
} |
| 1297 |
|
| 1298 |
type PsrHwInfoTypeUnion interface { |
| 1299 |
isPsrHwInfoTypeUnion() |
| 1300 |
} |
| 1301 |
|
| 1302 |
type PsrHwInfoTypeUnionCat struct { |
| 1303 |
CosMax uint32 |
| 1304 |
CbmLen uint32 |
| 1305 |
CdpEnabled bool |
| 1306 |
} |
| 1307 |
|
| 1308 |
func (x PsrHwInfoTypeUnionCat) isPsrHwInfoTypeUnion(){} |
| 1309 |
|
| 1310 |
type PsrHwInfoTypeUnionMba struct { |
| 1311 |
CosMax uint32 |
| 1312 |
ThrtlMax uint32 |
| 1313 |
Linear bool |
| 1314 |
} |
| 1315 |
|
| 1316 |
func (x PsrHwInfoTypeUnionMba) isPsrHwInfoTypeUnion(){} |
| 1317 |
|