zig libvirt: finish adding Domain types
This commit is contained in:
parent
c4f178bc1f
commit
739bcb016a
1 changed files with 80 additions and 3 deletions
|
@ -290,14 +290,52 @@ pub const DestroyFlags = enum(c_uint) {
|
|||
Graceful = c.VIR_DOMAIN_DESTROY_GRACEFUL,
|
||||
RemoveLogs = c.VIR_DOMAIN_DESTROY_REMOVE_LOGS,
|
||||
};
|
||||
// TODO rest
|
||||
pub const DeviceModifyFlags = enum(c_uint) {};
|
||||
pub const DirtyRateCalcFlags = enum(c_uint) {};
|
||||
pub const FDAssociateFlags = enum(c_uint) {};
|
||||
pub const GetHostnameFlags = enum(c_uint) {};
|
||||
pub const GetJobStatsFlags = enum(c_uint) {};
|
||||
pub const GuestInfoTypes = enum(c_uint) {};
|
||||
pub const MemoryFailureFlags = enum(c_uint) {};
|
||||
pub const MemoryFlags = enum(c_uint) {};
|
||||
pub const MemoryModFlags = enum(c_uint) {};
|
||||
pub const MigrateFlags = enum(c_uint) {};
|
||||
pub const MigrateMaxSpeedFlags = enum(c_uint) {};
|
||||
pub const OpenGraphicsFlags = enum(c_uint) {};
|
||||
pub const RebootFlagValues = enum(c_uint) {};
|
||||
pub const SaveImageXMLFlags = enum(c_uint) {};
|
||||
pub const SaveRestoreFlags = enum(c_uint) {};
|
||||
pub const SetTimeFlags = enum(c_uint) {};
|
||||
pub const SetUserPasswordFlags = enum(c_uint) {};
|
||||
pub const ShutdownFlagValues = enum(c_uint) {};
|
||||
pub const StatsTypes = enum(c_uint) {};
|
||||
pub const UndefineFlagsValues = enum(c_uint) {};
|
||||
pub const VcpuFlags = enum(c_uint) {};
|
||||
pub const XMLFlags = enum(c_uint) {
|
||||
Secure = c.VIR_DOMAIN_XML_SECURE,
|
||||
Inactive = c.VIR_DOMAIN_XML_INACTIVE,
|
||||
UpdateCPU = c.VIR_DOMAIN_XML_UPDATE_CPU,
|
||||
Migratable = c.VIR_DOMAIN_XML_MIGRATABLE,
|
||||
};
|
||||
|
||||
pub const BlockInfo = struct {};
|
||||
pub const BlockJobCursor = u64;
|
||||
pub const BlockJobInfo = struct {};
|
||||
pub const BlockStats = struct {};
|
||||
pub const ControlInfo = struct {};
|
||||
// TODO rest
|
||||
pub const DiskError = struct {};
|
||||
pub const EventGraphicsAddress = struct {};
|
||||
pub const EventGraphicsSubject = struct {};
|
||||
pub const EventGraphicsSubjectIdentity = struct {};
|
||||
pub const FSInfo = struct {};
|
||||
pub const IOThreadInfo = struct {};
|
||||
pub const IPAddress = struct {};
|
||||
pub const Info = struct {};
|
||||
pub const Interface = struct {};
|
||||
pub const InterfaceStats = struct {};
|
||||
pub const JobInfo = struct {};
|
||||
pub const MemoryStat = struct {};
|
||||
pub const StatsRecord = struct {};
|
||||
|
||||
pub const BlockJobType = enum(c_uint) {};
|
||||
pub const BlockedReason = enum(c_uint) {};
|
||||
|
@ -305,6 +343,45 @@ pub const ControlErrorReason = enum(c_uint) {};
|
|||
pub const ControlState = enum(c_uint) {};
|
||||
pub const CoreDumpFormat = enum(c_uint) {};
|
||||
pub const CrashedReason = enum(c_uint) {};
|
||||
// TODO rest
|
||||
pub const DirtyRateStatus = enum(c_uint) {};
|
||||
pub const DiskErrorCode = enum(c_uint) {};
|
||||
pub const EventCrashedDetailType = enum(c_uint) {};
|
||||
pub const EventDefinedDetailType = enum(c_uint) {};
|
||||
pub const EventGraphicsAddressType = enum(c_uint) {};
|
||||
pub const EventGraphicsPhase = enum(c_uint) {};
|
||||
pub const EventID = enum(c_uint) {};
|
||||
pub const EventIOErrorAction = enum(c_uint) {};
|
||||
pub const EventPMSuspendedDetailType = enum(c_uint) {};
|
||||
pub const EventResumedDetailType = enum(c_uint) {};
|
||||
pub const EventShutdownDetailType = enum(c_uint) {};
|
||||
pub const EventStartedDetailType = enum(c_uint) {};
|
||||
pub const EventStoppedDetailType = enum(c_uint) {};
|
||||
pub const EventSuspendedDetailType = enum(c_uint) {};
|
||||
pub const EventTrayChangeReason = enum(c_uint) {};
|
||||
pub const EventType = enum(c_uint) {};
|
||||
pub const EventUndefinedDetailType = enum(c_uint) {};
|
||||
pub const EventWatchdogAction = enum(c_uint) {};
|
||||
pub const GraphicsReloadType = enum(c_uint) {};
|
||||
pub const InterfaceAddressesSource = enum(c_uint) {};
|
||||
pub const JobOperation = enum(c_uint) {};
|
||||
pub const JobType = enum(c_uint) {};
|
||||
pub const Lifecycle = enum(c_uint) {};
|
||||
pub const LifecycleAction = enum(c_uint) {};
|
||||
pub const MemoryFailureActionType = enum(c_uint) {};
|
||||
pub const MemoryFailureRecipientType = enum(c_uint) {};
|
||||
pub const MemoryStatTags = enum(c_uint) {};
|
||||
pub const MessageType = enum(c_uint) {};
|
||||
pub const MetadataType = enum(c_uint) {};
|
||||
pub const ModificationImpact = enum(c_uint) {};
|
||||
pub const NostateReason = enum(c_uint) {};
|
||||
pub const NumatuneMemNode = enum(c_uint) {};
|
||||
pub const PMSuspendedDiskReason = enum(c_uint) {};
|
||||
pub const PMSuspendedReason = enum(c_uint) {};
|
||||
pub const PausedReason = enum(c_uint) {};
|
||||
pub const ProcessSignal = enum(c_uint) {};
|
||||
pub const RunningReason = enum(c_uint) {};
|
||||
pub const ShutdownReason = enum(c_uint) {};
|
||||
pub const ShutoffReason = enum(c_uint) {};
|
||||
pub const State = enum(c_uint) {};
|
||||
|
||||
// pub const DomainIterator = Iterator(Domain, c.virDomainPtr, c.virDomainFree);
|
||||
|
|
Loading…
Add table
Reference in a new issue