Documentation
¶
Overview ¶
Package libvirt provides a cgo-free Go binding to the libvirt C API.
The package resolves libvirt at runtime and calls it through purego. It does not require libvirt headers, pkg-config, or a C compiler at build time. A compatible libvirt shared library is still required when the API is used. RawAPI exposes functions generated from the main, admin, QEMU, and LXC API metadata; ownership-aware wrappers provide the idiomatic resource layer. The project is experimental, Linux-only, and not production validated.
Index ¶
- Constants
- Variables
- func GetVersion() (uint64, error)
- func HasSymbol(name string) (bool, error)
- func RegisterDefaultEventImpl() error
- func RunDefaultEventImpl() error
- func SymbolVersion(name string) (string, bool)
- type CloseCallback
- type Connect
- func (c *Connect) Close() (int, error)
- func (c *Connect) CreateNetworkXML(xml string) (*Network, error)
- func (c *Connect) CreateNodeDeviceXML(xml string, flags uint32) (*NodeDevice, error)
- func (c *Connect) CreateStoragePoolXML(xml string, flags uint32) (*StoragePool, error)
- func (c *Connect) DefineDomainXML(xml string) (*Domain, error)
- func (c *Connect) DefineInterfaceXML(xml string, flags uint32) (*Interface, error)
- func (c *Connect) DefineNWFilterXML(xml string) (*NWFilter, error)
- func (c *Connect) DefineNetworkXML(xml string) (*Network, error)
- func (c *Connect) DefineNetworkXMLFlags(xml string, flags uint32) (*Network, error)
- func (c *Connect) DefineSecretXML(xml string, flags uint32) (*Secret, error)
- func (c *Connect) DefineStoragePoolXML(xml string, flags uint32) (*StoragePool, error)
- func (c *Connect) GetLibVersion() (uint64, error)
- func (c *Connect) GetURI() (string, error)
- func (c *Connect) GetVersion() (uint64, error)
- func (c *Connect) IsAlive() (bool, error)
- func (c *Connect) ListAllDomains(flags ConnectListAllDomainsFlags) ([]*Domain, error)
- func (c *Connect) ListAllInterfaces(flags uint32) ([]*Interface, error)
- func (c *Connect) ListAllNWFilters(flags uint32) ([]*NWFilter, error)
- func (c *Connect) ListAllNetworks(flags uint32) ([]*Network, error)
- func (c *Connect) ListAllNodeDevices(flags uint32) ([]*NodeDevice, error)
- func (c *Connect) ListAllSecrets(flags uint32) ([]*Secret, error)
- func (c *Connect) ListAllStoragePools(flags uint32) ([]*StoragePool, error)
- func (c *Connect) LookupDomainByName(name string) (*Domain, error)
- func (c *Connect) LookupInterfaceByMACString(mac string) (*Interface, error)
- func (c *Connect) LookupInterfaceByName(name string) (*Interface, error)
- func (c *Connect) LookupNWFilterByName(name string) (*NWFilter, error)
- func (c *Connect) LookupNWFilterByUUIDString(uuid string) (*NWFilter, error)
- func (c *Connect) LookupNetworkByName(name string) (*Network, error)
- func (c *Connect) LookupNetworkByUUIDString(uuid string) (*Network, error)
- func (c *Connect) LookupNodeDeviceByName(name string) (*NodeDevice, error)
- func (c *Connect) LookupSecretByUUIDString(uuid string) (*Secret, error)
- func (c *Connect) LookupSecretByUsage(usageType int32, usageID string) (*Secret, error)
- func (c *Connect) LookupStoragePoolByName(name string) (*StoragePool, error)
- func (c *Connect) LookupStoragePoolByUUIDString(uuid string) (*StoragePool, error)
- func (c *Connect) LookupStorageVolByKey(key string) (*StorageVol, error)
- func (c *Connect) LookupStorageVolByPath(path string) (*StorageVol, error)
- func (c *Connect) NewStream(flags uint32) (*Stream, error)
- func (c *Connect) RegisterCloseCallback(callback func(reason int32)) (*CloseCallback, error)
- func (c *Connect) RegisterDomainLifecycleCallback(domain *Domain, callback func(DomainLifecycleEvent)) (*DomainEventCallback, error)
- type ConnectListAllDomainsFlags
- type Domain
- func (d *Domain) Create() error
- func (domain *Domain) CreateCheckpointXML(xml string, flags uint32) (*DomainCheckpoint, error)
- func (domain *Domain) CreateSnapshotXML(xml string, flags uint32) (*DomainSnapshot, error)
- func (domain *Domain) CurrentSnapshot(flags uint32) (*DomainSnapshot, error)
- func (d *Domain) Destroy() error
- func (d *Domain) Free() error
- func (domain *Domain) GetBlockIOParameters(flags uint32) ([]TypedParameter, error)
- func (domain *Domain) GetMemoryParameters(flags uint32) ([]TypedParameter, error)
- func (d *Domain) GetName() (string, error)
- func (domain *Domain) GetNumaParameters(flags uint32) ([]TypedParameter, error)
- func (domain *Domain) GetSchedulerParameters(flags uint32) ([]TypedParameter, error)
- func (d *Domain) GetState() (DomainState, int32, error)
- func (d *Domain) GetUUIDString() (string, error)
- func (d *Domain) GetXMLDesc(flags DomainXMLFlags) (string, error)
- func (d *Domain) IsActive() (bool, error)
- func (domain *Domain) ListAllCheckpoints(flags uint32) ([]*DomainCheckpoint, error)
- func (domain *Domain) ListAllSnapshots(flags uint32) ([]*DomainSnapshot, error)
- func (domain *Domain) LookupCheckpointByName(name string, flags uint32) (*DomainCheckpoint, error)
- func (domain *Domain) LookupSnapshotByName(name string, flags uint32) (*DomainSnapshot, error)
- func (domain *Domain) SetBlockIOParameters(params []TypedParameter, flags uint32) error
- func (domain *Domain) SetMemoryParameters(params []TypedParameter, flags uint32) error
- func (domain *Domain) SetNumaParameters(params []TypedParameter, flags uint32) error
- func (domain *Domain) SetSchedulerParameters(params []TypedParameter, flags uint32) error
- func (d *Domain) Shutdown() error
- func (d *Domain) Undefine() error
- func (d *Domain) UndefineFlags(flags uint32) error
- type DomainCheckpoint
- func (checkpoint *DomainCheckpoint) Delete(flags uint32) error
- func (checkpoint *DomainCheckpoint) Free() error
- func (checkpoint *DomainCheckpoint) GetName() (string, error)
- func (checkpoint *DomainCheckpoint) GetXMLDesc(flags uint32) (string, error)
- func (checkpoint *DomainCheckpoint) ListAllChildren(flags uint32) ([]*DomainCheckpoint, error)
- type DomainEventCallback
- type DomainLifecycleEvent
- type DomainSnapshot
- type DomainState
- type DomainXMLFlags
- type Error
- type Interface
- func (iface *Interface) Create(flags uint32) error
- func (iface *Interface) Destroy(flags uint32) error
- func (iface *Interface) Free() error
- func (iface *Interface) GetMACString() (string, error)
- func (iface *Interface) GetName() (string, error)
- func (iface *Interface) GetXMLDesc(flags uint32) (string, error)
- func (iface *Interface) IsActive() (bool, error)
- func (iface *Interface) Undefine() error
- type NWFilter
- type Network
- func (network *Network) Create() error
- func (network *Network) CreatePortXML(xml string, flags uint32) (*NetworkPort, error)
- func (network *Network) Destroy() error
- func (network *Network) Free() error
- func (network *Network) GetAutostart() (bool, error)
- func (network *Network) GetName() (string, error)
- func (network *Network) GetUUIDString() (string, error)
- func (network *Network) GetXMLDesc(flags uint32) (string, error)
- func (network *Network) IsActive() (bool, error)
- func (network *Network) IsPersistent() (bool, error)
- func (network *Network) ListAllPorts(flags uint32) ([]*NetworkPort, error)
- func (network *Network) LookupPortByUUIDString(uuid string) (*NetworkPort, error)
- func (network *Network) SetAutostart(autostart bool) error
- func (network *Network) Undefine() error
- type NetworkPort
- type NodeDevice
- func (device *NodeDevice) Destroy() error
- func (device *NodeDevice) Detach(driverName string, flags uint32) error
- func (device *NodeDevice) Free() error
- func (device *NodeDevice) GetName() (string, error)
- func (device *NodeDevice) GetXMLDesc(flags uint32) (string, error)
- func (device *NodeDevice) Reattach() error
- func (device *NodeDevice) Reset() error
- type RawAPI
- func (raw *RawAPI) HasSymbol(name string) bool
- func (raw *RawAPI) VirAdmClientClose(client unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmClientFree(client unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirAdmClientGetID(client unsafe.Pointer) (uint64, error)
- func (raw *RawAPI) VirAdmClientGetInfo(client unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmClientGetTimestamp(client unsafe.Pointer) (int64, error)
- func (raw *RawAPI) VirAdmClientGetTransport(client unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirAdmConnectClose(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirAdmConnectDaemonShutdown(conn unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectGetLibVersion(conn unsafe.Pointer, libVer *uint64) (int32, error)
- func (raw *RawAPI) VirAdmConnectGetLoggingFilters(conn unsafe.Pointer, filters *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectGetLoggingOutputs(conn unsafe.Pointer, outputs *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectGetURI(conn unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirAdmConnectIsAlive(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirAdmConnectListServers(conn unsafe.Pointer, servers *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectLookupServer(conn unsafe.Pointer, name *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirAdmConnectOpen(name *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirAdmConnectRef(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirAdmConnectRegisterCloseCallback(conn unsafe.Pointer, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
- func (raw *RawAPI) VirAdmConnectSetDaemonTimeout(conn unsafe.Pointer, timeout uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectSetLoggingFilters(conn unsafe.Pointer, filters *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectSetLoggingOutputs(conn unsafe.Pointer, outputs *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmConnectUnregisterCloseCallback(conn unsafe.Pointer, cb uintptr) (int32, error)
- func (raw *RawAPI) VirAdmGetVersion(libVer *uint64) (int32, error)
- func (raw *RawAPI) VirAdmInitialize() (int32, error)
- func (raw *RawAPI) VirAdmServerFree(srv unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirAdmServerGetClientLimits(srv unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmServerGetName(srv unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirAdmServerGetThreadPoolParameters(srv unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmServerListClients(srv unsafe.Pointer, clients *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmServerLookupClient(srv unsafe.Pointer, id uint64, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirAdmServerSetClientLimits(srv unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmServerSetThreadPoolParameters(srv unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirAdmServerUpdateTlsFiles(srv unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnCopyLastError(conn unsafe.Pointer, to unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnGetLastError(conn unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnResetLastError(conn unsafe.Pointer) error
- func (raw *RawAPI) VirConnSetErrorFunc(conn unsafe.Pointer, userData unsafe.Pointer, handler uintptr) error
- func (raw *RawAPI) VirConnectBaselineCPU(conn unsafe.Pointer, xmlCPUs *unsafe.Pointer, ncpus uint32, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectBaselineHypervisorCPU(conn unsafe.Pointer, emulator *byte, arch *byte, machine *byte, virttype *byte, ...) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectClose(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectCompareCPU(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectCompareHypervisorCPU(conn unsafe.Pointer, emulator *byte, arch *byte, machine *byte, virttype *byte, ...) (int32, error)
- func (raw *RawAPI) VirConnectDomainEventDeregister(conn unsafe.Pointer, cb uintptr) (int32, error)
- func (raw *RawAPI) VirConnectDomainEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
- func (raw *RawAPI) VirConnectDomainEventRegister(conn unsafe.Pointer, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
- func (raw *RawAPI) VirConnectDomainEventRegisterAny(conn unsafe.Pointer, dom unsafe.Pointer, eventID int32, cb uintptr, ...) (int32, error)
- func (raw *RawAPI) VirConnectDomainQemuMonitorEventDeregister(conn unsafe.Pointer, callbackID int32) (int32, error)
- func (raw *RawAPI) VirConnectDomainQemuMonitorEventRegister(conn unsafe.Pointer, dom unsafe.Pointer, event *byte, cb uintptr, ...) (int32, error)
- func (raw *RawAPI) VirConnectDomainXMLFromNative(conn unsafe.Pointer, nativeFormat *byte, nativeConfig *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectDomainXMLToNative(conn unsafe.Pointer, nativeFormat *byte, domainXml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectFindStoragePoolSources(conn unsafe.Pointer, type_ *byte, srcSpec *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetAllDomainStats(conn unsafe.Pointer, stats uint32, retStats *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectGetCPUModelNames(conn unsafe.Pointer, arch *byte, models *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectGetCapabilities(conn unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetDomainCapabilities(conn unsafe.Pointer, emulatorbin *byte, arch *byte, machine *byte, ...) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetHostname(conn unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetLibVersion(conn unsafe.Pointer, libVer *uintptr) (int32, error)
- func (raw *RawAPI) VirConnectGetMaxVcpus(conn unsafe.Pointer, type_ *byte) (int32, error)
- func (raw *RawAPI) VirConnectGetStoragePoolCapabilities(conn unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetSysinfo(conn unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetType(conn unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetURI(conn unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectGetVersion(conn unsafe.Pointer, hvVer *uintptr) (int32, error)
- func (raw *RawAPI) VirConnectIsAlive(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectIsEncrypted(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectIsSecure(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectListAllDomains(conn unsafe.Pointer, domains *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllInterfaces(conn unsafe.Pointer, ifaces *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllNWFilterBindings(conn unsafe.Pointer, bindings *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllNWFilters(conn unsafe.Pointer, filters *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllNetworks(conn unsafe.Pointer, nets *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllNodeDevices(conn unsafe.Pointer, devices *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllSecrets(conn unsafe.Pointer, secrets *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListAllStoragePools(conn unsafe.Pointer, pools *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectListDefinedDomains(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListDefinedInterfaces(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListDefinedNetworks(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListDefinedStoragePools(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListDomains(conn unsafe.Pointer, ids *int32, maxids int32) (int32, error)
- func (raw *RawAPI) VirConnectListInterfaces(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListNWFilters(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListNetworks(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectListSecrets(conn unsafe.Pointer, uuids *unsafe.Pointer, maxuuids int32) (int32, error)
- func (raw *RawAPI) VirConnectListStoragePools(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirConnectNetworkEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
- func (raw *RawAPI) VirConnectNetworkEventRegisterAny(conn unsafe.Pointer, net unsafe.Pointer, eventID int32, cb uintptr, ...) (int32, error)
- func (raw *RawAPI) VirConnectNodeDeviceEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
- func (raw *RawAPI) VirConnectNodeDeviceEventRegisterAny(conn unsafe.Pointer, dev unsafe.Pointer, eventID int32, cb uintptr, ...) (int32, error)
- func (raw *RawAPI) VirConnectNumOfDefinedDomains(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfDefinedInterfaces(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfDefinedNetworks(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfDefinedStoragePools(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfDomains(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfInterfaces(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfNWFilters(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfNetworks(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfSecrets(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectNumOfStoragePools(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectOpen(name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectOpenAuth(name *byte, auth unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectOpenReadOnly(name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirConnectRef(conn unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirConnectRegisterCloseCallback(conn unsafe.Pointer, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
- func (raw *RawAPI) VirConnectSecretEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
- func (raw *RawAPI) VirConnectSecretEventRegisterAny(conn unsafe.Pointer, secret unsafe.Pointer, eventID int32, cb uintptr, ...) (int32, error)
- func (raw *RawAPI) VirConnectSetIdentity(conn unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirConnectSetKeepAlive(conn unsafe.Pointer, interval int32, count uint32) (int32, error)
- func (raw *RawAPI) VirConnectStoragePoolEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
- func (raw *RawAPI) VirConnectStoragePoolEventRegisterAny(conn unsafe.Pointer, pool unsafe.Pointer, eventID int32, cb uintptr, ...) (int32, error)
- func (raw *RawAPI) VirConnectUnregisterCloseCallback(conn unsafe.Pointer, cb uintptr) (int32, error)
- func (raw *RawAPI) VirCopyLastError(to unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDefaultErrorFunc(err unsafe.Pointer) error
- func (raw *RawAPI) VirDomainAbortJob(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainAbortJobFlags(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainAddIOThread(domain unsafe.Pointer, iothread_id uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainAgentSetResponseTimeout(domain unsafe.Pointer, timeout int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainAnnounceInterface(dom unsafe.Pointer, device *byte, params unsafe.Pointer, nparams int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainAttachDevice(domain unsafe.Pointer, xml *byte) (int32, error)
- func (raw *RawAPI) VirDomainAttachDeviceFlags(domain unsafe.Pointer, xml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainAuthorizedSSHKeysGet(domain unsafe.Pointer, user *byte, keys *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainAuthorizedSSHKeysSet(domain unsafe.Pointer, user *byte, keys *unsafe.Pointer, nkeys uint32, ...) (int32, error)
- func (raw *RawAPI) VirDomainBackupBegin(domain unsafe.Pointer, backupXML *byte, checkpointXML *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainBackupGetXMLDesc(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainBlockCommit(dom unsafe.Pointer, disk *byte, base *byte, top *byte, bandwidth uintptr, ...) (int32, error)
- func (raw *RawAPI) VirDomainBlockCopy(dom unsafe.Pointer, disk *byte, destxml *byte, params unsafe.Pointer, ...) (int32, error)
- func (raw *RawAPI) VirDomainBlockJobAbort(dom unsafe.Pointer, disk *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainBlockJobSetSpeed(dom unsafe.Pointer, disk *byte, bandwidth uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainBlockPeek(dom unsafe.Pointer, disk *byte, offset uint64, size uintptr, ...) (int32, error)
- func (raw *RawAPI) VirDomainBlockPull(dom unsafe.Pointer, disk *byte, bandwidth uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainBlockRebase(dom unsafe.Pointer, disk *byte, base *byte, bandwidth uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainBlockResize(dom unsafe.Pointer, disk *byte, size uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainBlockStats(dom unsafe.Pointer, disk *byte, stats unsafe.Pointer, size uintptr) (int32, error)
- func (raw *RawAPI) VirDomainBlockStatsFlags(dom unsafe.Pointer, disk *byte, params unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainCheckpointCreateXML(domain unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointDelete(checkpoint unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainCheckpointFree(checkpoint unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainCheckpointGetConnect(checkpoint unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointGetDomain(checkpoint unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointGetName(checkpoint unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointGetParent(checkpoint unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointGetXMLDesc(checkpoint unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointListAllChildren(checkpoint unsafe.Pointer, children *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainCheckpointLookupByName(domain unsafe.Pointer, name *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCheckpointRef(checkpoint unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainCoreDump(domain unsafe.Pointer, to *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainCoreDumpWithFormat(domain unsafe.Pointer, to *byte, dumpformat uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainCreate(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainCreateLinux(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCreateWithFiles(domain unsafe.Pointer, nfiles uint32, files *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainCreateWithFlags(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainCreateXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainCreateXMLWithFiles(conn unsafe.Pointer, xmlDesc *byte, nfiles uint32, files *int32, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainDefineXML(conn unsafe.Pointer, xml *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainDefineXMLFlags(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainDelIOThread(domain unsafe.Pointer, iothread_id uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainDelThrottleGroup(dom unsafe.Pointer, group *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainDestroy(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainDestroyFlags(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainDetachDevice(domain unsafe.Pointer, xml *byte) (int32, error)
- func (raw *RawAPI) VirDomainDetachDeviceAlias(domain unsafe.Pointer, alias *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainDetachDeviceFlags(domain unsafe.Pointer, xml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainFDAssociate(domain unsafe.Pointer, name *byte, nfds uint32, fds *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainFSFreeze(dom unsafe.Pointer, mountpoints *unsafe.Pointer, nmountpoints uint32, ...) (int32, error)
- func (raw *RawAPI) VirDomainFSInfoFree(info unsafe.Pointer) error
- func (raw *RawAPI) VirDomainFSThaw(dom unsafe.Pointer, mountpoints *unsafe.Pointer, nmountpoints uint32, ...) (int32, error)
- func (raw *RawAPI) VirDomainFSTrim(dom unsafe.Pointer, mountPoint *byte, minimum uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainFree(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainGetAutostart(domain unsafe.Pointer, autostart *int32) (int32, error)
- func (raw *RawAPI) VirDomainGetAutostartOnce(domain unsafe.Pointer, autostart *int32) (int32, error)
- func (raw *RawAPI) VirDomainGetBlkioParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetBlockInfo(domain unsafe.Pointer, disk *byte, info unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetBlockIoTune(dom unsafe.Pointer, disk *byte, params unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetBlockJobInfo(dom unsafe.Pointer, disk *byte, info unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetCPUStats(domain unsafe.Pointer, params unsafe.Pointer, nparams uint32, start_cpu int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetConnect(dom unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGetControlInfo(domain unsafe.Pointer, info unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetDiskErrors(dom unsafe.Pointer, errors unsafe.Pointer, maxerrors uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetEmulatorPinInfo(domain unsafe.Pointer, cpumap *byte, maplen int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetFSInfo(dom unsafe.Pointer, info *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetGuestInfo(domain unsafe.Pointer, types uint32, params *unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetGuestVcpus(domain unsafe.Pointer, params *unsafe.Pointer, nparams *uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetHostname(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGetID(domain unsafe.Pointer) (uint32, error)
- func (raw *RawAPI) VirDomainGetIOThreadInfo(dom unsafe.Pointer, info *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetInfo(domain unsafe.Pointer, info unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainGetInterfaceParameters(domain unsafe.Pointer, device *byte, params unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetJobInfo(domain unsafe.Pointer, info unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainGetJobStats(domain unsafe.Pointer, type_ *int32, params *unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetLaunchSecurityInfo(domain unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetMaxMemory(domain unsafe.Pointer) (uintptr, error)
- func (raw *RawAPI) VirDomainGetMaxVcpus(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainGetMemoryParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetMessages(domain unsafe.Pointer, msgs *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetMetadata(domain unsafe.Pointer, type_ int32, uri *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGetName(domain unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGetNumaParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetOSType(domain unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGetPerfEvents(domain unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetSchedulerParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32) (int32, error)
- func (raw *RawAPI) VirDomainGetSchedulerParametersFlags(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetSchedulerType(domain unsafe.Pointer, nparams *int32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGetSecurityLabel(domain unsafe.Pointer, seclabel unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainGetSecurityLabelList(domain unsafe.Pointer, seclabels *unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainGetState(domain unsafe.Pointer, state *int32, reason *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetTime(dom unsafe.Pointer, seconds *int64, nseconds *uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetUUID(domain unsafe.Pointer, uuid *byte) (int32, error)
- func (raw *RawAPI) VirDomainGetUUIDString(domain unsafe.Pointer, buf *byte) (int32, error)
- func (raw *RawAPI) VirDomainGetVcpuPinInfo(domain unsafe.Pointer, ncpumaps int32, cpumaps *byte, maplen int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetVcpus(domain unsafe.Pointer, info unsafe.Pointer, maxinfo int32, cpumaps *byte, ...) (int32, error)
- func (raw *RawAPI) VirDomainGetVcpusFlags(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainGetXMLDesc(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainGraphicsReload(domain unsafe.Pointer, type_ uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainHasCurrentSnapshot(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainHasManagedSaveImage(dom unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainIOThreadInfoFree(info unsafe.Pointer) error
- func (raw *RawAPI) VirDomainInjectNMI(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainInterfaceAddresses(dom unsafe.Pointer, ifaces *unsafe.Pointer, source uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainInterfaceFree(iface unsafe.Pointer) error
- func (raw *RawAPI) VirDomainInterfaceStats(dom unsafe.Pointer, device *byte, stats unsafe.Pointer, size uintptr) (int32, error)
- func (raw *RawAPI) VirDomainIsActive(dom unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainIsPersistent(dom unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainIsUpdated(dom unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainListAllCheckpoints(domain unsafe.Pointer, checkpoints *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainListAllSnapshots(domain unsafe.Pointer, snaps *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainListGetStats(doms *unsafe.Pointer, stats uint32, retStats *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainLookupByID(conn unsafe.Pointer, id int32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainLookupByUUID(conn unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainLxcEnterCGroup(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainLxcEnterNamespace(domain unsafe.Pointer, nfdlist uint32, fdlist *int32, noldfdlist *uint32, ...) (int32, error)
- func (raw *RawAPI) VirDomainLxcEnterSecurityLabel(model unsafe.Pointer, label unsafe.Pointer, oldlabel unsafe.Pointer, ...) (int32, error)
- func (raw *RawAPI) VirDomainLxcOpenNamespace(domain unsafe.Pointer, fdlist *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainManagedSave(dom unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainManagedSaveDefineXML(domain unsafe.Pointer, dxml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainManagedSaveGetXMLDesc(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainManagedSaveRemove(dom unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMemoryPeek(dom unsafe.Pointer, start uint64, size uintptr, buffer unsafe.Pointer, ...) (int32, error)
- func (raw *RawAPI) VirDomainMemoryStats(dom unsafe.Pointer, stats unsafe.Pointer, nr_stats uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrate(domain unsafe.Pointer, dconn unsafe.Pointer, flags uintptr, dname *byte, ...) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainMigrate2(domain unsafe.Pointer, dconn unsafe.Pointer, dxml *byte, flags uintptr, ...) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainMigrate3(domain unsafe.Pointer, dconn unsafe.Pointer, params unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainMigrateGetCompressionCache(domain unsafe.Pointer, cacheSize *uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateGetMaxDowntime(domain unsafe.Pointer, downtime *uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateGetMaxSpeed(domain unsafe.Pointer, bandwidth *uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateSetCompressionCache(domain unsafe.Pointer, cacheSize uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateSetMaxDowntime(domain unsafe.Pointer, downtime uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateSetMaxSpeed(domain unsafe.Pointer, bandwidth uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateStartPostCopy(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainMigrateToURI(domain unsafe.Pointer, duri *byte, flags uintptr, dname *byte, ...) (int32, error)
- func (raw *RawAPI) VirDomainMigrateToURI2(domain unsafe.Pointer, dconnuri *byte, miguri *byte, dxml *byte, flags uintptr, ...) (int32, error)
- func (raw *RawAPI) VirDomainMigrateToURI3(domain unsafe.Pointer, dconnuri *byte, params unsafe.Pointer, nparams uint32, ...) (int32, error)
- func (raw *RawAPI) VirDomainOpenChannel(dom unsafe.Pointer, name *byte, st unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainOpenConsole(dom unsafe.Pointer, dev_name *byte, st unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainOpenGraphics(dom unsafe.Pointer, idx uint32, fd int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainOpenGraphicsFD(dom unsafe.Pointer, idx uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainPMSuspendForDuration(dom unsafe.Pointer, target uint32, duration uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainPMWakeup(dom unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainPinEmulator(domain unsafe.Pointer, cpumap *byte, maplen int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainPinIOThread(domain unsafe.Pointer, iothread_id uint32, cpumap *byte, maplen int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainPinVcpu(domain unsafe.Pointer, vcpu uint32, cpumap *byte, maplen int32) (int32, error)
- func (raw *RawAPI) VirDomainPinVcpuFlags(domain unsafe.Pointer, vcpu uint32, cpumap *byte, maplen int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainQemuAgentCommand(domain unsafe.Pointer, cmd *byte, timeout int32, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainQemuAttach(conn unsafe.Pointer, pid_value uint32, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainQemuMonitorCommand(domain unsafe.Pointer, cmd *byte, result *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainQemuMonitorCommandWithFiles(domain unsafe.Pointer, cmd *byte, ninfiles uint32, infiles *int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainReboot(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainRef(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainRename(dom unsafe.Pointer, new_name *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainReset(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainRestore(conn unsafe.Pointer, from *byte) (int32, error)
- func (raw *RawAPI) VirDomainRestoreFlags(conn unsafe.Pointer, from *byte, dxml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainRestoreParams(conn unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainResume(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainRevertToSnapshot(snapshot unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSave(domain unsafe.Pointer, to *byte) (int32, error)
- func (raw *RawAPI) VirDomainSaveFlags(domain unsafe.Pointer, to *byte, dxml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSaveImageDefineXML(conn unsafe.Pointer, file *byte, dxml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSaveImageGetXMLDesc(conn unsafe.Pointer, file *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSaveParams(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainScreenshot(domain unsafe.Pointer, stream unsafe.Pointer, screen uint32, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSendKey(domain unsafe.Pointer, codeset uint32, holdtime uint32, keycodes *uint32, ...) (int32, error)
- func (raw *RawAPI) VirDomainSendProcessSignal(domain unsafe.Pointer, pid_value int64, signum uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetAutostart(domain unsafe.Pointer, autostart int32) (int32, error)
- func (raw *RawAPI) VirDomainSetAutostartOnce(domain unsafe.Pointer, autostart int32) (int32, error)
- func (raw *RawAPI) VirDomainSetBlkioParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetBlockIoTune(dom unsafe.Pointer, disk *byte, params unsafe.Pointer, nparams int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainSetBlockThreshold(domain unsafe.Pointer, dev *byte, threshold uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetGuestVcpus(domain unsafe.Pointer, cpumap *byte, state int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetIOThreadParams(domain unsafe.Pointer, iothread_id uint32, params unsafe.Pointer, ...) (int32, error)
- func (raw *RawAPI) VirDomainSetInterfaceParameters(domain unsafe.Pointer, device *byte, params unsafe.Pointer, nparams int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainSetLaunchSecurityState(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetLifecycleAction(domain unsafe.Pointer, type_ uint32, action uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetMaxMemory(domain unsafe.Pointer, memory uintptr) (int32, error)
- func (raw *RawAPI) VirDomainSetMemory(domain unsafe.Pointer, memory uintptr) (int32, error)
- func (raw *RawAPI) VirDomainSetMemoryFlags(domain unsafe.Pointer, memory uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetMemoryParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetMemoryStatsPeriod(domain unsafe.Pointer, period int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetMetadata(domain unsafe.Pointer, type_ int32, metadata *byte, key *byte, uri *byte, ...) (int32, error)
- func (raw *RawAPI) VirDomainSetNumaParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetPerfEvents(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetSchedulerParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32) (int32, error)
- func (raw *RawAPI) VirDomainSetSchedulerParametersFlags(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetThrottleGroup(dom unsafe.Pointer, group *byte, params unsafe.Pointer, nparams int32, ...) (int32, error)
- func (raw *RawAPI) VirDomainSetTime(dom unsafe.Pointer, seconds int64, nseconds uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetUserPassword(dom unsafe.Pointer, user *byte, password *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetVcpu(domain unsafe.Pointer, vcpumap *byte, state int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetVcpus(domain unsafe.Pointer, nvcpus uint32) (int32, error)
- func (raw *RawAPI) VirDomainSetVcpusFlags(domain unsafe.Pointer, nvcpus uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainShutdown(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainShutdownFlags(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotCreateXML(domain unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotCurrent(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotDelete(snapshot unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotFree(snapshot unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotGetConnect(snapshot unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotGetDomain(snapshot unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotGetName(snapshot unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotGetParent(snapshot unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotGetXMLDesc(snapshot unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotHasMetadata(snapshot unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotIsCurrent(snapshot unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotListAllChildren(snapshot unsafe.Pointer, snaps *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotListChildrenNames(snapshot unsafe.Pointer, names *unsafe.Pointer, nameslen int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotListNames(domain unsafe.Pointer, names *unsafe.Pointer, nameslen int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotLookupByName(domain unsafe.Pointer, name *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirDomainSnapshotNum(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotNumChildren(snapshot unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainSnapshotRef(snapshot unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainStartDirtyRateCalc(domain unsafe.Pointer, seconds int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainStatsRecordListFree(stats *unsafe.Pointer) error
- func (raw *RawAPI) VirDomainSuspend(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainUndefine(domain unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirDomainUndefineFlags(domain unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirDomainUpdateDeviceFlags(domain unsafe.Pointer, xml *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirEventAddHandle(fd int32, events int32, cb uintptr, opaque unsafe.Pointer, ff uintptr) (int32, error)
- func (raw *RawAPI) VirEventAddTimeout(timeout int32, cb uintptr, opaque unsafe.Pointer, ff uintptr) (int32, error)
- func (raw *RawAPI) VirEventRegisterDefaultImpl() (int32, error)
- func (raw *RawAPI) VirEventRegisterImpl(addHandle uintptr, updateHandle uintptr, removeHandle uintptr, ...) error
- func (raw *RawAPI) VirEventRemoveHandle(watch int32) (int32, error)
- func (raw *RawAPI) VirEventRemoveTimeout(timer int32) (int32, error)
- func (raw *RawAPI) VirEventRunDefaultImpl() (int32, error)
- func (raw *RawAPI) VirEventUpdateHandle(watch int32, events int32) error
- func (raw *RawAPI) VirEventUpdateTimeout(timer int32, timeout int32) error
- func (raw *RawAPI) VirFreeError(err unsafe.Pointer) error
- func (raw *RawAPI) VirGetLastError() (unsafe.Pointer, error)
- func (raw *RawAPI) VirGetLastErrorCode() (int32, error)
- func (raw *RawAPI) VirGetLastErrorDomain() (int32, error)
- func (raw *RawAPI) VirGetLastErrorMessage() (unsafe.Pointer, error)
- func (raw *RawAPI) VirGetVersion(libVer *uintptr, type_ *byte, typeVer *uintptr) (int32, error)
- func (raw *RawAPI) VirInitialize() (int32, error)
- func (raw *RawAPI) VirInterfaceChangeBegin(conn unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirInterfaceChangeCommit(conn unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirInterfaceChangeRollback(conn unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirInterfaceCreate(iface unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirInterfaceDefineXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceDestroy(iface unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirInterfaceFree(iface unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirInterfaceGetConnect(iface unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceGetMACString(iface unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceGetName(iface unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceGetXMLDesc(iface unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceIsActive(iface unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirInterfaceLookupByMACString(conn unsafe.Pointer, macstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirInterfaceRef(iface unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirInterfaceUndefine(iface unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNWFilterBindingCreateXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterBindingDelete(binding unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNWFilterBindingFree(binding unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNWFilterBindingGetFilterName(binding unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterBindingGetPortDev(binding unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterBindingGetXMLDesc(binding unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterBindingLookupByPortDev(conn unsafe.Pointer, portdev *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterBindingRef(binding unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNWFilterDefineXML(conn unsafe.Pointer, xmlDesc *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterDefineXMLFlags(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterFree(nwfilter unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNWFilterGetName(nwfilter unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterGetUUID(nwfilter unsafe.Pointer, uuid *byte) (int32, error)
- func (raw *RawAPI) VirNWFilterGetUUIDString(nwfilter unsafe.Pointer, buf *byte) (int32, error)
- func (raw *RawAPI) VirNWFilterGetXMLDesc(nwfilter unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterLookupByUUID(conn unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNWFilterRef(nwfilter unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNWFilterUndefine(nwfilter unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkCreate(network unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkCreateXML(conn unsafe.Pointer, xmlDesc *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkCreateXMLFlags(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkDHCPLeaseFree(lease unsafe.Pointer) error
- func (raw *RawAPI) VirNetworkDefineXML(conn unsafe.Pointer, xml *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkDefineXMLFlags(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkDestroy(network unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkFree(network unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkGetAutostart(network unsafe.Pointer, autostart *int32) (int32, error)
- func (raw *RawAPI) VirNetworkGetBridgeName(network unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkGetConnect(net unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkGetDHCPLeases(network unsafe.Pointer, mac *byte, leases *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirNetworkGetMetadata(network unsafe.Pointer, type_ int32, uri *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkGetName(network unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkGetUUID(network unsafe.Pointer, uuid *byte) (int32, error)
- func (raw *RawAPI) VirNetworkGetUUIDString(network unsafe.Pointer, buf *byte) (int32, error)
- func (raw *RawAPI) VirNetworkGetXMLDesc(network unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkIsActive(net unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkIsPersistent(net unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkListAllPorts(network unsafe.Pointer, ports *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirNetworkLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkLookupByUUID(conn unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkPortCreateXML(net unsafe.Pointer, xmldesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkPortDelete(port unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirNetworkPortFree(port unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkPortGetNetwork(port unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkPortGetParameters(port unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirNetworkPortGetUUID(port unsafe.Pointer, uuid *byte) (int32, error)
- func (raw *RawAPI) VirNetworkPortGetUUIDString(port unsafe.Pointer, buf *byte) (int32, error)
- func (raw *RawAPI) VirNetworkPortGetXMLDesc(port unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkPortLookupByUUID(net unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkPortLookupByUUIDString(net unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNetworkPortRef(port unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkPortSetParameters(port unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirNetworkRef(network unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkSetAutostart(network unsafe.Pointer, autostart int32) (int32, error)
- func (raw *RawAPI) VirNetworkSetMetadata(network unsafe.Pointer, type_ int32, metadata *byte, key *byte, uri *byte, ...) (int32, error)
- func (raw *RawAPI) VirNetworkUndefine(network unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNetworkUpdate(network unsafe.Pointer, command uint32, section uint32, parentIndex int32, ...) (int32, error)
- func (raw *RawAPI) VirNodeAllocPages(conn unsafe.Pointer, npages uint32, pageSizes *uint32, pageCounts *uint64, ...) (int32, error)
- func (raw *RawAPI) VirNodeDeviceCreate(dev unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeDeviceCreateXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceDefineXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceDestroy(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceDetachFlags(dev unsafe.Pointer, driverName *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeDeviceDettach(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceFree(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceGetAutostart(dev unsafe.Pointer, autostart *int32) (int32, error)
- func (raw *RawAPI) VirNodeDeviceGetName(dev unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceGetParent(dev unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceGetXMLDesc(dev unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceIsActive(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceIsPersistent(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceListCaps(dev unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirNodeDeviceLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceLookupSCSIHostByWWN(conn unsafe.Pointer, wwnn *byte, wwpn *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirNodeDeviceNumOfCaps(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceReAttach(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceRef(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceReset(dev unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeDeviceSetAutostart(dev unsafe.Pointer, autostart int32) (int32, error)
- func (raw *RawAPI) VirNodeDeviceUndefine(dev unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeDeviceUpdate(dev unsafe.Pointer, xmlDesc *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeGetCPUMap(conn unsafe.Pointer, cpumap *unsafe.Pointer, online *uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeGetCPUStats(conn unsafe.Pointer, cpuNum int32, params unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirNodeGetCellsFreeMemory(conn unsafe.Pointer, freeMems *uint64, startCell int32, maxCells int32) (int32, error)
- func (raw *RawAPI) VirNodeGetFreeMemory(conn unsafe.Pointer) (uint64, error)
- func (raw *RawAPI) VirNodeGetFreePages(conn unsafe.Pointer, npages uint32, pages *uint32, startCell int32, ...) (int32, error)
- func (raw *RawAPI) VirNodeGetInfo(conn unsafe.Pointer, info unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeGetMemoryParameters(conn unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeGetMemoryStats(conn unsafe.Pointer, cellNum int32, params unsafe.Pointer, nparams *int32, ...) (int32, error)
- func (raw *RawAPI) VirNodeGetSEVInfo(conn unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeGetSecurityModel(conn unsafe.Pointer, secmodel unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirNodeListDevices(conn unsafe.Pointer, cap *byte, names *unsafe.Pointer, maxnames int32, ...) (int32, error)
- func (raw *RawAPI) VirNodeNumOfDevices(conn unsafe.Pointer, cap *byte, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeSetMemoryParameters(conn unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
- func (raw *RawAPI) VirNodeSuspendForDuration(conn unsafe.Pointer, target uint32, duration uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirResetError(err unsafe.Pointer) error
- func (raw *RawAPI) VirResetLastError() error
- func (raw *RawAPI) VirSaveLastError() (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretDefineXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretFree(secret unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirSecretGetConnect(secret unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretGetUUID(secret unsafe.Pointer, uuid *byte) (int32, error)
- func (raw *RawAPI) VirSecretGetUUIDString(secret unsafe.Pointer, buf *byte) (int32, error)
- func (raw *RawAPI) VirSecretGetUsageID(secret unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretGetUsageType(secret unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirSecretGetValue(secret unsafe.Pointer, value_size *uintptr, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretGetXMLDesc(secret unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretLookupByUUID(conn unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretLookupByUsage(conn unsafe.Pointer, usageType int32, usageID *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirSecretRef(secret unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirSecretSetValue(secret unsafe.Pointer, value *byte, value_size uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirSecretUndefine(secret unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirSetErrorFunc(userData unsafe.Pointer, handler uintptr) error
- func (raw *RawAPI) VirStoragePoolBuild(pool unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStoragePoolCreate(pool unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStoragePoolCreateXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolDefineXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolDelete(pool unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStoragePoolDestroy(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolFree(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolGetAutostart(pool unsafe.Pointer, autostart *int32) (int32, error)
- func (raw *RawAPI) VirStoragePoolGetConnect(pool unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolGetInfo(pool unsafe.Pointer, info unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolGetName(pool unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolGetUUID(pool unsafe.Pointer, uuid *byte) (int32, error)
- func (raw *RawAPI) VirStoragePoolGetUUIDString(pool unsafe.Pointer, buf *byte) (int32, error)
- func (raw *RawAPI) VirStoragePoolGetXMLDesc(pool unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolIsActive(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolIsPersistent(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolListAllVolumes(pool unsafe.Pointer, vols *unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStoragePoolListVolumes(pool unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
- func (raw *RawAPI) VirStoragePoolLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolLookupByTargetPath(conn unsafe.Pointer, path *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolLookupByUUID(conn unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolLookupByVolume(vol unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStoragePoolNumOfVolumes(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolRef(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStoragePoolRefresh(pool unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStoragePoolSetAutostart(pool unsafe.Pointer, autostart int32) (int32, error)
- func (raw *RawAPI) VirStoragePoolUndefine(pool unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStorageVolCreateXML(pool unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolCreateXMLFrom(pool unsafe.Pointer, xmlDesc *byte, clonevol unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolDelete(vol unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStorageVolDownload(vol unsafe.Pointer, stream unsafe.Pointer, offset uint64, length uint64, ...) (int32, error)
- func (raw *RawAPI) VirStorageVolFree(vol unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStorageVolGetConnect(vol unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolGetInfo(vol unsafe.Pointer, info unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStorageVolGetInfoFlags(vol unsafe.Pointer, info unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStorageVolGetKey(vol unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolGetName(vol unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolGetPath(vol unsafe.Pointer) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolGetXMLDesc(vol unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolLookupByKey(conn unsafe.Pointer, key *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolLookupByName(pool unsafe.Pointer, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolLookupByPath(conn unsafe.Pointer, path *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStorageVolRef(vol unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStorageVolResize(vol unsafe.Pointer, capacity uint64, flags uint32) (int32, error)
- func (raw *RawAPI) VirStorageVolUpload(vol unsafe.Pointer, stream unsafe.Pointer, offset uint64, length uint64, ...) (int32, error)
- func (raw *RawAPI) VirStorageVolWipe(vol unsafe.Pointer, flags uint32) (int32, error)
- func (raw *RawAPI) VirStorageVolWipePattern(vol unsafe.Pointer, algorithm uint32, flags uint32) (int32, error)
- func (raw *RawAPI) VirStreamAbort(stream unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamEventAddCallback(stream unsafe.Pointer, events int32, cb uintptr, opaque unsafe.Pointer, ...) (int32, error)
- func (raw *RawAPI) VirStreamEventRemoveCallback(stream unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamEventUpdateCallback(stream unsafe.Pointer, events int32) (int32, error)
- func (raw *RawAPI) VirStreamFinish(stream unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamFree(stream unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamNew(conn unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
- func (raw *RawAPI) VirStreamRecv(stream unsafe.Pointer, data *byte, nbytes uintptr) (int32, error)
- func (raw *RawAPI) VirStreamRecvAll(stream unsafe.Pointer, handler uintptr, opaque unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamRecvFlags(stream unsafe.Pointer, data *byte, nbytes uintptr, flags uint32) (int32, error)
- func (raw *RawAPI) VirStreamRecvHole(stream unsafe.Pointer, length *int64, flags uint32) (int32, error)
- func (raw *RawAPI) VirStreamRef(stream unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamSend(stream unsafe.Pointer, data *byte, nbytes uintptr) (int32, error)
- func (raw *RawAPI) VirStreamSendAll(stream unsafe.Pointer, handler uintptr, opaque unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirStreamSendHole(stream unsafe.Pointer, length int64, flags uint32) (int32, error)
- func (raw *RawAPI) VirStreamSparseRecvAll(stream unsafe.Pointer, handler uintptr, holeHandler uintptr, ...) (int32, error)
- func (raw *RawAPI) VirStreamSparseSendAll(stream unsafe.Pointer, handler uintptr, holeHandler uintptr, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddBoolean(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddDouble(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddFromString(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddInt(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddLLong(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddString(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddStringList(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddUInt(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsAddULLong(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, ...) (int32, error)
- func (raw *RawAPI) VirTypedParamsClear(params unsafe.Pointer, nparams int32) error
- func (raw *RawAPI) VirTypedParamsFree(params unsafe.Pointer, nparams int32) error
- func (raw *RawAPI) VirTypedParamsGet(params unsafe.Pointer, nparams int32, name *byte) (unsafe.Pointer, error)
- func (raw *RawAPI) VirTypedParamsGetBoolean(params unsafe.Pointer, nparams int32, name *byte, value *int32) (int32, error)
- func (raw *RawAPI) VirTypedParamsGetDouble(params unsafe.Pointer, nparams int32, name *byte, value *float64) (int32, error)
- func (raw *RawAPI) VirTypedParamsGetInt(params unsafe.Pointer, nparams int32, name *byte, value *int32) (int32, error)
- func (raw *RawAPI) VirTypedParamsGetLLong(params unsafe.Pointer, nparams int32, name *byte, value *int64) (int32, error)
- func (raw *RawAPI) VirTypedParamsGetString(params unsafe.Pointer, nparams int32, name *byte, value *unsafe.Pointer) (int32, error)
- func (raw *RawAPI) VirTypedParamsGetUInt(params unsafe.Pointer, nparams int32, name *byte, value *uint32) (int32, error)
- func (raw *RawAPI) VirTypedParamsGetULLong(params unsafe.Pointer, nparams int32, name *byte, value *uint64) (int32, error)
- type Secret
- func (secret *Secret) Free() error
- func (secret *Secret) GetUUIDString() (string, error)
- func (secret *Secret) GetValue(flags uint32) ([]byte, error)
- func (secret *Secret) GetXMLDesc(flags uint32) (string, error)
- func (secret *Secret) SetValue(value []byte, flags uint32) error
- func (secret *Secret) Undefine() error
- type StoragePool
- func (pool *StoragePool) Create(flags uint32) error
- func (pool *StoragePool) CreateVolumeXML(xml string, flags uint32) (*StorageVol, error)
- func (pool *StoragePool) Destroy() error
- func (pool *StoragePool) Free() error
- func (pool *StoragePool) GetAutostart() (bool, error)
- func (pool *StoragePool) GetName() (string, error)
- func (pool *StoragePool) GetUUIDString() (string, error)
- func (pool *StoragePool) GetXMLDesc(flags uint32) (string, error)
- func (pool *StoragePool) IsActive() (bool, error)
- func (pool *StoragePool) IsPersistent() (bool, error)
- func (pool *StoragePool) ListAllVolumes(flags uint32) ([]*StorageVol, error)
- func (pool *StoragePool) LookupVolumeByName(name string) (*StorageVol, error)
- func (pool *StoragePool) Refresh(flags uint32) error
- func (pool *StoragePool) SetAutostart(autostart bool) error
- func (pool *StoragePool) Undefine() error
- type StorageVol
- func (volume *StorageVol) Delete(flags uint32) error
- func (volume *StorageVol) Download(stream *Stream, offset, length uint64, flags uint32) error
- func (volume *StorageVol) Free() error
- func (volume *StorageVol) GetKey() (string, error)
- func (volume *StorageVol) GetName() (string, error)
- func (volume *StorageVol) GetPath() (string, error)
- func (volume *StorageVol) GetXMLDesc(flags uint32) (string, error)
- func (volume *StorageVol) Resize(capacity uint64, flags uint32) error
- func (volume *StorageVol) Upload(stream *Stream, offset, length uint64, flags uint32) error
- func (volume *StorageVol) Wipe(flags uint32) error
- type Stream
- func (stream *Stream) Abort() error
- func (stream *Stream) Finish() error
- func (stream *Stream) Free() error
- func (stream *Stream) Read(data []byte) (int, error)
- func (stream *Stream) RecvHole(flags uint32) (int64, error)
- func (stream *Stream) Ref() (*Stream, error)
- func (stream *Stream) SendHole(length int64, flags uint32) error
- func (stream *Stream) Write(data []byte) (int, error)
- type SymbolUnavailableError
- type TypedParameter
- type TypedParameterType
- type Version
Constants ¶
const ( VIR_CLIENT_TRANS_LAST = 3 VIR_CLIENT_TRANS_TCP = 1 VIR_CLIENT_TRANS_TLS = 2 VIR_CLIENT_TRANS_UNIX = 0 VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES = 1 VIR_CONNECT_BASELINE_CPU_IGNORE_HOST = 4 VIR_CONNECT_BASELINE_CPU_MIGRATABLE = 2 VIR_CONNECT_CLOSE_REASON_CLIENT = 3 VIR_CONNECT_CLOSE_REASON_EOF = 1 VIR_CONNECT_CLOSE_REASON_ERROR = 0 VIR_CONNECT_CLOSE_REASON_KEEPALIVE = 2 VIR_CONNECT_CLOSE_REASON_LAST = 4 VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE = 1 VIR_CONNECT_COMPARE_CPU_VALIDATE_XML = 2 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_CHANNEL = 2 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_DOMAIN_STARTED = 1 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_LAST = 3 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_UNKNOWN = 0 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_CONNECTED = 1 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_DISCONNECTED = 2 VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_LAST = 3 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_REASON_CHANNEL = 2 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_REASON_DOMAIN_STARTED = 1 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_REASON_LAST = 3 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_REASON_UNKNOWN = 0 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_STATE_CONNECTED = 1 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_STATE_DISCONNECTED = 2 VIR_CONNECT_DOMAIN_EVENT_CHANNEL_LIFECYCLE_STATE_LAST = 3 VIR_CONNECT_DOMAIN_QEMU_MONITOR_EVENT_REGISTER_NOCASE = 2 VIR_CONNECT_DOMAIN_QEMU_MONITOR_EVENT_REGISTER_REGEX = 1 VIR_CONNECT_GET_ALL_DOMAINS_STATS_ACTIVE = VIR_CONNECT_LIST_DOMAINS_ACTIVE VIR_CONNECT_GET_ALL_DOMAINS_STATS_BACKING = 1073741824 VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS = 2147483648 VIR_CONNECT_GET_ALL_DOMAINS_STATS_INACTIVE = VIR_CONNECT_LIST_DOMAINS_INACTIVE VIR_CONNECT_GET_ALL_DOMAINS_STATS_NOWAIT = 536870912 VIR_CONNECT_GET_ALL_DOMAINS_STATS_OTHER = VIR_CONNECT_LIST_DOMAINS_OTHER VIR_CONNECT_GET_ALL_DOMAINS_STATS_PAUSED = VIR_CONNECT_LIST_DOMAINS_PAUSED VIR_CONNECT_GET_ALL_DOMAINS_STATS_PERSISTENT = VIR_CONNECT_LIST_DOMAINS_PERSISTENT VIR_CONNECT_GET_ALL_DOMAINS_STATS_RUNNING = VIR_CONNECT_LIST_DOMAINS_RUNNING VIR_CONNECT_GET_ALL_DOMAINS_STATS_SHUTOFF = VIR_CONNECT_LIST_DOMAINS_SHUTOFF VIR_CONNECT_GET_ALL_DOMAINS_STATS_TRANSIENT = VIR_CONNECT_LIST_DOMAINS_TRANSIENT VIR_CONNECT_GET_DOMAIN_CAPABILITIES_DISABLE_DEPRECATED_FEATURES = 1 VIR_CONNECT_GET_DOMAIN_CAPABILITIES_EXPAND_CPU_FEATURES = 2 VIR_CONNECT_GET_DOMAIN_CAPABILITIES_SUPPORTED_CPU_FEATURES = 4 VIR_CONNECT_LIST_DOMAINS_ACTIVE = 1 VIR_CONNECT_LIST_DOMAINS_AUTOSTART = 1024 VIR_CONNECT_LIST_DOMAINS_HAS_CHECKPOINT = 16384 VIR_CONNECT_LIST_DOMAINS_HAS_SNAPSHOT = 4096 VIR_CONNECT_LIST_DOMAINS_INACTIVE = 2 VIR_CONNECT_LIST_DOMAINS_MANAGEDSAVE = 256 VIR_CONNECT_LIST_DOMAINS_NO_AUTOSTART = 2048 VIR_CONNECT_LIST_DOMAINS_NO_CHECKPOINT = 32768 VIR_CONNECT_LIST_DOMAINS_NO_MANAGEDSAVE = 512 VIR_CONNECT_LIST_DOMAINS_NO_SNAPSHOT = 8192 VIR_CONNECT_LIST_DOMAINS_OTHER = 128 VIR_CONNECT_LIST_DOMAINS_PAUSED = 32 VIR_CONNECT_LIST_DOMAINS_PERSISTENT = 4 VIR_CONNECT_LIST_DOMAINS_RUNNING = 16 VIR_CONNECT_LIST_DOMAINS_SHUTOFF = 64 VIR_CONNECT_LIST_DOMAINS_TRANSIENT = 8 VIR_CONNECT_LIST_INTERFACES_ACTIVE = 2 VIR_CONNECT_LIST_INTERFACES_INACTIVE = 1 VIR_CONNECT_LIST_NETWORKS_ACTIVE = 2 VIR_CONNECT_LIST_NETWORKS_AUTOSTART = 16 VIR_CONNECT_LIST_NETWORKS_INACTIVE = 1 VIR_CONNECT_LIST_NETWORKS_NO_AUTOSTART = 32 VIR_CONNECT_LIST_NETWORKS_PERSISTENT = 4 VIR_CONNECT_LIST_NETWORKS_TRANSIENT = 8 VIR_CONNECT_LIST_NODE_DEVICES_ACTIVE = 2147483648 VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_CARD = 262144 VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_MATRIX = 1048576 VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_QUEUE = 524288 VIR_CONNECT_LIST_NODE_DEVICES_CAP_CCWGROUP_DEV = 4194304 VIR_CONNECT_LIST_NODE_DEVICES_CAP_CCWGROUP_MEMBER = 8388608 VIR_CONNECT_LIST_NODE_DEVICES_CAP_CCW_DEV = 32768 VIR_CONNECT_LIST_NODE_DEVICES_CAP_CSS_DEV = 65536 VIR_CONNECT_LIST_NODE_DEVICES_CAP_DRM = 4096 VIR_CONNECT_LIST_NODE_DEVICES_CAP_FC_HOST = 512 VIR_CONNECT_LIST_NODE_DEVICES_CAP_MDEV = 16384 VIR_CONNECT_LIST_NODE_DEVICES_CAP_MDEV_TYPES = 8192 VIR_CONNECT_LIST_NODE_DEVICES_CAP_NET = 16 VIR_CONNECT_LIST_NODE_DEVICES_CAP_PCI_DEV = 2 VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI = 128 VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_GENERIC = 2048 VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_HOST = 32 VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_TARGET = 64 VIR_CONNECT_LIST_NODE_DEVICES_CAP_STORAGE = 256 VIR_CONNECT_LIST_NODE_DEVICES_CAP_SYSTEM = 1 VIR_CONNECT_LIST_NODE_DEVICES_CAP_USB_DEV = 4 VIR_CONNECT_LIST_NODE_DEVICES_CAP_USB_INTERFACE = 8 VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA = 131072 VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPD = 2097152 VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPORTS = 1024 VIR_CONNECT_LIST_NODE_DEVICES_INACTIVE = 1073741824 VIR_CONNECT_LIST_NODE_DEVICES_PERSISTENT = 268435456 VIR_CONNECT_LIST_NODE_DEVICES_TRANSIENT = 536870912 VIR_CONNECT_LIST_SECRETS_EPHEMERAL = 1 VIR_CONNECT_LIST_SECRETS_NO_EPHEMERAL = 2 VIR_CONNECT_LIST_SECRETS_NO_PRIVATE = 8 VIR_CONNECT_LIST_SECRETS_PRIVATE = 4 VIR_CONNECT_LIST_STORAGE_POOLS_ACTIVE = 2 VIR_CONNECT_LIST_STORAGE_POOLS_AUTOSTART = 16 VIR_CONNECT_LIST_STORAGE_POOLS_DIR = 64 VIR_CONNECT_LIST_STORAGE_POOLS_DISK = 1024 VIR_CONNECT_LIST_STORAGE_POOLS_FS = 128 VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTER = 65536 VIR_CONNECT_LIST_STORAGE_POOLS_INACTIVE = 1 VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI = 2048 VIR_CONNECT_LIST_STORAGE_POOLS_ISCSI_DIRECT = 524288 VIR_CONNECT_LIST_STORAGE_POOLS_LOGICAL = 512 VIR_CONNECT_LIST_STORAGE_POOLS_MPATH = 8192 VIR_CONNECT_LIST_STORAGE_POOLS_NETFS = 256 VIR_CONNECT_LIST_STORAGE_POOLS_NO_AUTOSTART = 32 VIR_CONNECT_LIST_STORAGE_POOLS_PERSISTENT = 4 VIR_CONNECT_LIST_STORAGE_POOLS_RBD = 16384 VIR_CONNECT_LIST_STORAGE_POOLS_SCSI = 4096 VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG = 32768 VIR_CONNECT_LIST_STORAGE_POOLS_TRANSIENT = 8 VIR_CONNECT_LIST_STORAGE_POOLS_VSTORAGE = 262144 VIR_CONNECT_LIST_STORAGE_POOLS_ZFS = 131072 VIR_CONNECT_NO_ALIASES = 2 VIR_CONNECT_RO = 1 VIR_CPU_COMPARE_ERROR = -1 VIR_CPU_COMPARE_IDENTICAL = 1 VIR_CPU_COMPARE_INCOMPATIBLE = 0 VIR_CPU_COMPARE_LAST = 3 VIR_CPU_COMPARE_SUPERSET = 2 VIR_CRED_AUTHNAME = 2 VIR_CRED_CNONCE = 4 VIR_CRED_ECHOPROMPT = 6 VIR_CRED_EXTERNAL = 9 VIR_CRED_LANGUAGE = 3 VIR_CRED_LAST = 10 VIR_CRED_NOECHOPROMPT = 7 VIR_CRED_PASSPHRASE = 5 VIR_CRED_REALM = 8 VIR_CRED_USERNAME = 1 VIR_DAEMON_SHUTDOWN_PRESERVE = 1 VIR_DOMAIN_ABORT_JOB_POSTCOPY = 1 VIR_DOMAIN_AFFECT_CONFIG = 2 VIR_DOMAIN_AFFECT_CURRENT = 0 VIR_DOMAIN_AFFECT_LIVE = 1 VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK = -2 VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_DEFAULT = -1 VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT = 0 VIR_DOMAIN_AUTHORIZED_SSH_KEYS_SET_APPEND = 1 VIR_DOMAIN_AUTHORIZED_SSH_KEYS_SET_REMOVE = 2 VIR_DOMAIN_BACKUP_BEGIN_PRESERVE_SHUTDOWN_DOMAIN = 2 VIR_DOMAIN_BACKUP_BEGIN_REUSE_EXTERNAL = 1 VIR_DOMAIN_BLKIO_PARAM_BOOLEAN = VIR_TYPED_PARAM_BOOLEAN VIR_DOMAIN_BLKIO_PARAM_DOUBLE = VIR_TYPED_PARAM_DOUBLE VIR_DOMAIN_BLKIO_PARAM_INT = VIR_TYPED_PARAM_INT VIR_DOMAIN_BLKIO_PARAM_LLONG = VIR_TYPED_PARAM_LLONG VIR_DOMAIN_BLKIO_PARAM_UINT = VIR_TYPED_PARAM_UINT VIR_DOMAIN_BLKIO_PARAM_ULLONG = VIR_TYPED_PARAM_ULLONG VIR_DOMAIN_BLOCKED = 2 VIR_DOMAIN_BLOCKED_LAST = 1 VIR_DOMAIN_BLOCKED_UNKNOWN = 0 VIR_DOMAIN_BLOCK_COMMIT_ACTIVE = 4 VIR_DOMAIN_BLOCK_COMMIT_BANDWIDTH_BYTES = 16 VIR_DOMAIN_BLOCK_COMMIT_DELETE = 2 VIR_DOMAIN_BLOCK_COMMIT_RELATIVE = 8 VIR_DOMAIN_BLOCK_COMMIT_SHALLOW = 1 VIR_DOMAIN_BLOCK_COPY_REUSE_EXT = 2 VIR_DOMAIN_BLOCK_COPY_SHALLOW = 1 VIR_DOMAIN_BLOCK_COPY_SYNCHRONOUS_WRITES = 8 VIR_DOMAIN_BLOCK_COPY_TARGET_ZEROED = 16 VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB = 4 VIR_DOMAIN_BLOCK_JOB_ABORT_ASYNC = 1 VIR_DOMAIN_BLOCK_JOB_ABORT_PIVOT = 2 VIR_DOMAIN_BLOCK_JOB_CANCELED = 2 VIR_DOMAIN_BLOCK_JOB_COMPLETED = 0 VIR_DOMAIN_BLOCK_JOB_FAILED = 1 VIR_DOMAIN_BLOCK_JOB_INFO_BANDWIDTH_BYTES = 1 VIR_DOMAIN_BLOCK_JOB_LAST = 4 VIR_DOMAIN_BLOCK_JOB_READY = 3 VIR_DOMAIN_BLOCK_JOB_SPEED_BANDWIDTH_BYTES = 1 VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT = 4 VIR_DOMAIN_BLOCK_JOB_TYPE_BACKUP = 5 VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT = 3 VIR_DOMAIN_BLOCK_JOB_TYPE_COPY = 2 VIR_DOMAIN_BLOCK_JOB_TYPE_LAST = 6 VIR_DOMAIN_BLOCK_JOB_TYPE_PULL = 1 VIR_DOMAIN_BLOCK_JOB_TYPE_UNKNOWN = 0 VIR_DOMAIN_BLOCK_PULL_BANDWIDTH_BYTES = 64 VIR_DOMAIN_BLOCK_REBASE_BANDWIDTH_BYTES = 64 VIR_DOMAIN_BLOCK_REBASE_COPY = 8 VIR_DOMAIN_BLOCK_REBASE_COPY_DEV = 32 VIR_DOMAIN_BLOCK_REBASE_COPY_RAW = 4 VIR_DOMAIN_BLOCK_REBASE_RELATIVE = 16 VIR_DOMAIN_BLOCK_REBASE_REUSE_EXT = 2 VIR_DOMAIN_BLOCK_REBASE_SHALLOW = 1 VIR_DOMAIN_BLOCK_RESIZE_BYTES = 1 VIR_DOMAIN_BLOCK_RESIZE_CAPACITY = 2 VIR_DOMAIN_BLOCK_RESIZE_EXTEND = 4 VIR_DOMAIN_CHANNEL_FORCE = 1 VIR_DOMAIN_CHECKPOINT_CREATE_QUIESCE = 2 VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE = 1 VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE_VALIDATE = 4 VIR_DOMAIN_CHECKPOINT_DELETE_CHILDREN = 1 VIR_DOMAIN_CHECKPOINT_DELETE_CHILDREN_ONLY = 4 VIR_DOMAIN_CHECKPOINT_DELETE_METADATA_ONLY = 2 VIR_DOMAIN_CHECKPOINT_LIST_DESCENDANTS = 1 VIR_DOMAIN_CHECKPOINT_LIST_LEAVES = 4 VIR_DOMAIN_CHECKPOINT_LIST_NO_LEAVES = 8 VIR_DOMAIN_CHECKPOINT_LIST_ROOTS = 1 VIR_DOMAIN_CHECKPOINT_LIST_TOPOLOGICAL = 2 VIR_DOMAIN_CHECKPOINT_XML_NO_DOMAIN = 2 VIR_DOMAIN_CHECKPOINT_XML_SECURE = 1 VIR_DOMAIN_CHECKPOINT_XML_SIZE = 4 VIR_DOMAIN_CONSOLE_FORCE = 1 VIR_DOMAIN_CONSOLE_SAFE = 2 VIR_DOMAIN_CONTROL_ERROR = 3 VIR_DOMAIN_CONTROL_ERROR_REASON_INTERNAL = 3 VIR_DOMAIN_CONTROL_ERROR_REASON_LAST = 4 VIR_DOMAIN_CONTROL_ERROR_REASON_MONITOR = 2 VIR_DOMAIN_CONTROL_ERROR_REASON_NONE = 0 VIR_DOMAIN_CONTROL_ERROR_REASON_UNKNOWN = 1 VIR_DOMAIN_CONTROL_JOB = 1 VIR_DOMAIN_CONTROL_LAST = 4 VIR_DOMAIN_CONTROL_OCCUPIED = 2 VIR_DOMAIN_CONTROL_OK = 0 VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_LZO = 2 VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_SNAPPY = 3 VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_ZLIB = 1 VIR_DOMAIN_CORE_DUMP_FORMAT_LAST = 5 VIR_DOMAIN_CORE_DUMP_FORMAT_RAW = 0 VIR_DOMAIN_CORE_DUMP_FORMAT_WIN_DMP = 4 VIR_DOMAIN_CRASHED = 6 VIR_DOMAIN_CRASHED_LAST = 2 VIR_DOMAIN_CRASHED_PANICKED = 1 VIR_DOMAIN_CRASHED_UNKNOWN = 0 VIR_DOMAIN_DEFINE_VALIDATE = 1 VIR_DOMAIN_DESTROY_DEFAULT = 0 VIR_DOMAIN_DESTROY_GRACEFUL = 1 VIR_DOMAIN_DESTROY_REMOVE_LOGS = 2 VIR_DOMAIN_DEVICE_MODIFY_CONFIG = VIR_DOMAIN_AFFECT_CONFIG VIR_DOMAIN_DEVICE_MODIFY_CURRENT = VIR_DOMAIN_AFFECT_CURRENT VIR_DOMAIN_DEVICE_MODIFY_FORCE = 4 VIR_DOMAIN_DEVICE_MODIFY_LIVE = VIR_DOMAIN_AFFECT_LIVE VIR_DOMAIN_DIRTYRATE_LAST = 3 VIR_DOMAIN_DIRTYRATE_MEASURED = 2 VIR_DOMAIN_DIRTYRATE_MEASURING = 1 VIR_DOMAIN_DIRTYRATE_MODE_DIRTY_BITMAP = 1 VIR_DOMAIN_DIRTYRATE_MODE_DIRTY_RING = 2 VIR_DOMAIN_DIRTYRATE_MODE_PAGE_SAMPLING = 0 VIR_DOMAIN_DIRTYRATE_UNSTARTED = 0 VIR_DOMAIN_DISK_ERROR_LAST = 3 VIR_DOMAIN_DISK_ERROR_NONE = 0 VIR_DOMAIN_DISK_ERROR_NO_SPACE = 2 VIR_DOMAIN_DISK_ERROR_UNSPEC = 1 VIR_DOMAIN_EVENT_CRASHED = 8 VIR_DOMAIN_EVENT_CRASHED_CRASHLOADED = 1 VIR_DOMAIN_EVENT_CRASHED_LAST = 2 VIR_DOMAIN_EVENT_CRASHED_PANICKED = 0 VIR_DOMAIN_EVENT_DEFINED = 0 VIR_DOMAIN_EVENT_DEFINED_ADDED = 0 VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT = 3 VIR_DOMAIN_EVENT_DEFINED_LAST = 4 VIR_DOMAIN_EVENT_DEFINED_RENAMED = 2 VIR_DOMAIN_EVENT_DEFINED_UPDATED = 1 VIR_DOMAIN_EVENT_DISK_CHANGE_LAST = 2 VIR_DOMAIN_EVENT_DISK_CHANGE_MISSING_ON_START = 0 VIR_DOMAIN_EVENT_DISK_DROP_MISSING_ON_START = 1 VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_IPV4 = 0 VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_IPV6 = 1 VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_LAST = 3 VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_UNIX = 2 VIR_DOMAIN_EVENT_GRAPHICS_CONNECT = 0 VIR_DOMAIN_EVENT_GRAPHICS_DISCONNECT = 2 VIR_DOMAIN_EVENT_GRAPHICS_INITIALIZE = 1 VIR_DOMAIN_EVENT_GRAPHICS_LAST = 3 VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE = 18 VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE = 13 VIR_DOMAIN_EVENT_ID_BLOCK_JOB = 8 VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2 = 16 VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD = 24 VIR_DOMAIN_EVENT_ID_CHANNEL_LIFECYCLE = 29 VIR_DOMAIN_EVENT_ID_CONTROL_ERROR = 7 VIR_DOMAIN_EVENT_ID_DEVICE_ADDED = 19 VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED = 22 VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED = 15 VIR_DOMAIN_EVENT_ID_DISK_CHANGE = 9 VIR_DOMAIN_EVENT_ID_GRAPHICS = 5 VIR_DOMAIN_EVENT_ID_IO_ERROR = 4 VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON = 6 VIR_DOMAIN_EVENT_ID_JOB_COMPLETED = 21 VIR_DOMAIN_EVENT_ID_LAST = 30 VIR_DOMAIN_EVENT_ID_LIFECYCLE = 0 VIR_DOMAIN_EVENT_ID_MEMORY_DEVICE_SIZE_CHANGE = 26 VIR_DOMAIN_EVENT_ID_MEMORY_FAILURE = 25 VIR_DOMAIN_EVENT_ID_METADATA_CHANGE = 23 VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION = 20 VIR_DOMAIN_EVENT_ID_NIC_MAC_CHANGE = 27 VIR_DOMAIN_EVENT_ID_PMSUSPEND = 12 VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK = 14 VIR_DOMAIN_EVENT_ID_PMWAKEUP = 11 VIR_DOMAIN_EVENT_ID_REBOOT = 1 VIR_DOMAIN_EVENT_ID_RTC_CHANGE = 2 VIR_DOMAIN_EVENT_ID_TRAY_CHANGE = 10 VIR_DOMAIN_EVENT_ID_TUNABLE = 17 VIR_DOMAIN_EVENT_ID_VCPU_REMOVED = 28 VIR_DOMAIN_EVENT_ID_WATCHDOG = 3 VIR_DOMAIN_EVENT_IO_ERROR_LAST = 3 VIR_DOMAIN_EVENT_IO_ERROR_NONE = 0 VIR_DOMAIN_EVENT_IO_ERROR_PAUSE = 1 VIR_DOMAIN_EVENT_IO_ERROR_REPORT = 2 VIR_DOMAIN_EVENT_LAST = 9 VIR_DOMAIN_EVENT_MEMORY_FAILURE_ACTION_FATAL = 2 VIR_DOMAIN_EVENT_MEMORY_FAILURE_ACTION_IGNORE = 0 VIR_DOMAIN_EVENT_MEMORY_FAILURE_ACTION_INJECT = 1 VIR_DOMAIN_EVENT_MEMORY_FAILURE_ACTION_LAST = 4 VIR_DOMAIN_EVENT_MEMORY_FAILURE_ACTION_RESET = 3 VIR_DOMAIN_EVENT_MEMORY_FAILURE_RECIPIENT_GUEST = 1 VIR_DOMAIN_EVENT_MEMORY_FAILURE_RECIPIENT_HYPERVISOR = 0 VIR_DOMAIN_EVENT_MEMORY_FAILURE_RECIPIENT_LAST = 2 VIR_DOMAIN_EVENT_PMSUSPENDED = 7 VIR_DOMAIN_EVENT_PMSUSPENDED_DISK = 1 VIR_DOMAIN_EVENT_PMSUSPENDED_LAST = 2 VIR_DOMAIN_EVENT_PMSUSPENDED_MEMORY = 0 VIR_DOMAIN_EVENT_RESUMED = 4 VIR_DOMAIN_EVENT_RESUMED_FROM_SNAPSHOT = 2 VIR_DOMAIN_EVENT_RESUMED_LAST = 5 VIR_DOMAIN_EVENT_RESUMED_MIGRATED = 1 VIR_DOMAIN_EVENT_RESUMED_POSTCOPY = 3 VIR_DOMAIN_EVENT_RESUMED_POSTCOPY_FAILED = 4 VIR_DOMAIN_EVENT_RESUMED_UNPAUSED = 0 VIR_DOMAIN_EVENT_SHUTDOWN = 6 VIR_DOMAIN_EVENT_SHUTDOWN_FINISHED = 0 VIR_DOMAIN_EVENT_SHUTDOWN_GUEST = 1 VIR_DOMAIN_EVENT_SHUTDOWN_HOST = 2 VIR_DOMAIN_EVENT_SHUTDOWN_LAST = 3 VIR_DOMAIN_EVENT_STARTED = 2 VIR_DOMAIN_EVENT_STARTED_BOOTED = 0 VIR_DOMAIN_EVENT_STARTED_FROM_SNAPSHOT = 3 VIR_DOMAIN_EVENT_STARTED_LAST = 6 VIR_DOMAIN_EVENT_STARTED_MIGRATED = 1 VIR_DOMAIN_EVENT_STARTED_RECREATED = 5 VIR_DOMAIN_EVENT_STARTED_RESTORED = 2 VIR_DOMAIN_EVENT_STARTED_WAKEUP = 4 VIR_DOMAIN_EVENT_STOPPED = 5 VIR_DOMAIN_EVENT_STOPPED_CRASHED = 2 VIR_DOMAIN_EVENT_STOPPED_DESTROYED = 1 VIR_DOMAIN_EVENT_STOPPED_FAILED = 5 VIR_DOMAIN_EVENT_STOPPED_FROM_SNAPSHOT = 6 VIR_DOMAIN_EVENT_STOPPED_LAST = 8 VIR_DOMAIN_EVENT_STOPPED_MIGRATED = 3 VIR_DOMAIN_EVENT_STOPPED_RECREATED = 7 VIR_DOMAIN_EVENT_STOPPED_SAVED = 4 VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN = 0 VIR_DOMAIN_EVENT_SUSPENDED = 3 VIR_DOMAIN_EVENT_SUSPENDED_API_ERROR = 6 VIR_DOMAIN_EVENT_SUSPENDED_FROM_SNAPSHOT = 5 VIR_DOMAIN_EVENT_SUSPENDED_GUEST_SHUTDOWN = 9 VIR_DOMAIN_EVENT_SUSPENDED_IOERROR = 2 VIR_DOMAIN_EVENT_SUSPENDED_LAST = 10 VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED = 1 VIR_DOMAIN_EVENT_SUSPENDED_PAUSED = 0 VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY = 7 VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY_FAILED = 8 VIR_DOMAIN_EVENT_SUSPENDED_RESTORED = 4 VIR_DOMAIN_EVENT_SUSPENDED_WATCHDOG = 3 VIR_DOMAIN_EVENT_TRAY_CHANGE_CLOSE = 1 VIR_DOMAIN_EVENT_TRAY_CHANGE_LAST = 2 VIR_DOMAIN_EVENT_TRAY_CHANGE_OPEN = 0 VIR_DOMAIN_EVENT_UNDEFINED = 1 VIR_DOMAIN_EVENT_UNDEFINED_LAST = 2 VIR_DOMAIN_EVENT_UNDEFINED_REMOVED = 0 VIR_DOMAIN_EVENT_UNDEFINED_RENAMED = 1 VIR_DOMAIN_EVENT_WATCHDOG_DEBUG = 5 VIR_DOMAIN_EVENT_WATCHDOG_INJECTNMI = 6 VIR_DOMAIN_EVENT_WATCHDOG_LAST = 7 VIR_DOMAIN_EVENT_WATCHDOG_NONE = 0 VIR_DOMAIN_EVENT_WATCHDOG_PAUSE = 1 VIR_DOMAIN_EVENT_WATCHDOG_POWEROFF = 3 VIR_DOMAIN_EVENT_WATCHDOG_RESET = 2 VIR_DOMAIN_EVENT_WATCHDOG_SHUTDOWN = 4 VIR_DOMAIN_FD_ASSOCIATE_SECLABEL_RESTORE = 1 VIR_DOMAIN_FD_ASSOCIATE_SECLABEL_WRITABLE = 2 VIR_DOMAIN_GET_HOSTNAME_AGENT = 2 VIR_DOMAIN_GET_HOSTNAME_LEASE = 1 VIR_DOMAIN_GRAPHICS_RELOAD_TYPE_ANY = 0 VIR_DOMAIN_GRAPHICS_RELOAD_TYPE_LAST = 2 VIR_DOMAIN_GRAPHICS_RELOAD_TYPE_VNC = 1 VIR_DOMAIN_GUEST_INFO_DISKS = 32 VIR_DOMAIN_GUEST_INFO_FILESYSTEM = 16 VIR_DOMAIN_GUEST_INFO_HOSTNAME = 8 VIR_DOMAIN_GUEST_INFO_INTERFACES = 64 VIR_DOMAIN_GUEST_INFO_LOAD = 128 VIR_DOMAIN_GUEST_INFO_OS = 2 VIR_DOMAIN_GUEST_INFO_TIMEZONE = 4 VIR_DOMAIN_GUEST_INFO_USERS = 1 VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_AGENT = 1 VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARP = 2 VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LAST = 3 VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LEASE = 0 VIR_DOMAIN_JOB_BOUNDED = 1 VIR_DOMAIN_JOB_CANCELLED = 5 VIR_DOMAIN_JOB_COMPLETED = 3 VIR_DOMAIN_JOB_FAILED = 4 VIR_DOMAIN_JOB_LAST = 6 VIR_DOMAIN_JOB_NONE = 0 VIR_DOMAIN_JOB_OPERATION_BACKUP = 9 VIR_DOMAIN_JOB_OPERATION_DUMP = 8 VIR_DOMAIN_JOB_OPERATION_LAST = 11 VIR_DOMAIN_JOB_OPERATION_MIGRATION_IN = 4 VIR_DOMAIN_JOB_OPERATION_MIGRATION_OUT = 5 VIR_DOMAIN_JOB_OPERATION_RESTORE = 3 VIR_DOMAIN_JOB_OPERATION_SAVE = 2 VIR_DOMAIN_JOB_OPERATION_SNAPSHOT = 6 VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_DELETE = 10 VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERT = 7 VIR_DOMAIN_JOB_OPERATION_START = 1 VIR_DOMAIN_JOB_OPERATION_UNKNOWN = 0 VIR_DOMAIN_JOB_STATS_COMPLETED = 1 VIR_DOMAIN_JOB_STATS_KEEP_COMPLETED = 2 VIR_DOMAIN_JOB_UNBOUNDED = 2 VIR_DOMAIN_LAST = 8 VIR_DOMAIN_LIFECYCLE_ACTION_COREDUMP_DESTROY = 4 VIR_DOMAIN_LIFECYCLE_ACTION_COREDUMP_RESTART = 5 VIR_DOMAIN_LIFECYCLE_ACTION_DESTROY = 0 VIR_DOMAIN_LIFECYCLE_ACTION_LAST = 7 VIR_DOMAIN_LIFECYCLE_ACTION_PRESERVE = 3 VIR_DOMAIN_LIFECYCLE_ACTION_PRESERVE_RUNNING = 6 VIR_DOMAIN_LIFECYCLE_ACTION_RESTART = 1 VIR_DOMAIN_LIFECYCLE_ACTION_RESTART_RENAME = 2 VIR_DOMAIN_LIFECYCLE_CRASH = 2 VIR_DOMAIN_LIFECYCLE_LAST = 3 VIR_DOMAIN_LIFECYCLE_POWEROFF = 0 VIR_DOMAIN_LIFECYCLE_REBOOT = 1 VIR_DOMAIN_MEMORY_FAILURE_ACTION_REQUIRED = 1 VIR_DOMAIN_MEMORY_FAILURE_RECURSIVE = 2 VIR_DOMAIN_MEMORY_PARAM_BOOLEAN = VIR_TYPED_PARAM_BOOLEAN VIR_DOMAIN_MEMORY_PARAM_DOUBLE = VIR_TYPED_PARAM_DOUBLE VIR_DOMAIN_MEMORY_PARAM_INT = VIR_TYPED_PARAM_INT VIR_DOMAIN_MEMORY_PARAM_LLONG = VIR_TYPED_PARAM_LLONG VIR_DOMAIN_MEMORY_PARAM_UINT = VIR_TYPED_PARAM_UINT VIR_DOMAIN_MEMORY_PARAM_ULLONG = VIR_TYPED_PARAM_ULLONG VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON = 6 VIR_DOMAIN_MEMORY_STAT_AVAILABLE = 5 VIR_DOMAIN_MEMORY_STAT_DISK_CACHES = 10 VIR_DOMAIN_MEMORY_STAT_HUGETLB_PGALLOC = 11 VIR_DOMAIN_MEMORY_STAT_HUGETLB_PGFAIL = 12 VIR_DOMAIN_MEMORY_STAT_LAST = VIR_DOMAIN_MEMORY_STAT_NR VIR_DOMAIN_MEMORY_STAT_LAST_UPDATE = 9 VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT = 2 VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT = 3 VIR_DOMAIN_MEMORY_STAT_NR = 13 VIR_DOMAIN_MEMORY_STAT_RSS = 7 VIR_DOMAIN_MEMORY_STAT_SWAP_IN = 0 VIR_DOMAIN_MEMORY_STAT_SWAP_OUT = 1 VIR_DOMAIN_MEMORY_STAT_UNUSED = 4 VIR_DOMAIN_MEMORY_STAT_USABLE = 8 VIR_DOMAIN_MEM_CONFIG = VIR_DOMAIN_AFFECT_CONFIG VIR_DOMAIN_MEM_CURRENT = VIR_DOMAIN_AFFECT_CURRENT VIR_DOMAIN_MEM_LIVE = VIR_DOMAIN_AFFECT_LIVE VIR_DOMAIN_MEM_MAXIMUM = 4 VIR_DOMAIN_MESSAGE_DEPRECATION = 1 VIR_DOMAIN_MESSAGE_IOERRORS = 4 VIR_DOMAIN_MESSAGE_TAINTING = 2 VIR_DOMAIN_METADATA_DESCRIPTION = 0 VIR_DOMAIN_METADATA_ELEMENT = 2 VIR_DOMAIN_METADATA_LAST = 3 VIR_DOMAIN_METADATA_TITLE = 1 VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY = 1 VIR_DOMAIN_NONE = 0 VIR_DOMAIN_NOSTATE = 0 VIR_DOMAIN_NOSTATE_LAST = 1 VIR_DOMAIN_NOSTATE_UNKNOWN = 0 VIR_DOMAIN_NUMATUNE_MEM_INTERLEAVE = 2 VIR_DOMAIN_NUMATUNE_MEM_LAST = 4 VIR_DOMAIN_NUMATUNE_MEM_PREFERRED = 1 VIR_DOMAIN_NUMATUNE_MEM_RESTRICTIVE = 3 VIR_DOMAIN_NUMATUNE_MEM_STRICT = 0 VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH = 1 VIR_DOMAIN_PASSWORD_ENCRYPTED = 1 VIR_DOMAIN_PAUSED = 3 VIR_DOMAIN_PAUSED_API_ERROR = 14 VIR_DOMAIN_PAUSED_CRASHED = 10 VIR_DOMAIN_PAUSED_DUMP = 4 VIR_DOMAIN_PAUSED_FROM_SNAPSHOT = 7 VIR_DOMAIN_PAUSED_IOERROR = 5 VIR_DOMAIN_PAUSED_LAST = 15 VIR_DOMAIN_PAUSED_MIGRATION = 2 VIR_DOMAIN_PAUSED_POSTCOPY = 12 VIR_DOMAIN_PAUSED_POSTCOPY_FAILED = 13 VIR_DOMAIN_PAUSED_SAVE = 3 VIR_DOMAIN_PAUSED_SHUTTING_DOWN = 8 VIR_DOMAIN_PAUSED_SNAPSHOT = 9 VIR_DOMAIN_PAUSED_STARTING_UP = 11 VIR_DOMAIN_PAUSED_UNKNOWN = 0 VIR_DOMAIN_PAUSED_USER = 1 VIR_DOMAIN_PAUSED_WATCHDOG = 6 VIR_DOMAIN_PMSUSPENDED = 7 VIR_DOMAIN_PMSUSPENDED_DISK_LAST = 1 VIR_DOMAIN_PMSUSPENDED_DISK_UNKNOWN = 0 VIR_DOMAIN_PMSUSPENDED_LAST = 1 VIR_DOMAIN_PMSUSPENDED_UNKNOWN = 0 VIR_DOMAIN_PROCESS_SIGNAL_ABRT = 6 VIR_DOMAIN_PROCESS_SIGNAL_ALRM = 14 VIR_DOMAIN_PROCESS_SIGNAL_BUS = 7 VIR_DOMAIN_PROCESS_SIGNAL_CHLD = 17 VIR_DOMAIN_PROCESS_SIGNAL_CONT = 18 VIR_DOMAIN_PROCESS_SIGNAL_FPE = 8 VIR_DOMAIN_PROCESS_SIGNAL_HUP = 1 VIR_DOMAIN_PROCESS_SIGNAL_ILL = 4 VIR_DOMAIN_PROCESS_SIGNAL_INT = 2 VIR_DOMAIN_PROCESS_SIGNAL_KILL = 9 VIR_DOMAIN_PROCESS_SIGNAL_LAST = 65 VIR_DOMAIN_PROCESS_SIGNAL_NOP = 0 VIR_DOMAIN_PROCESS_SIGNAL_PIPE = 13 VIR_DOMAIN_PROCESS_SIGNAL_POLL = 29 VIR_DOMAIN_PROCESS_SIGNAL_PROF = 27 VIR_DOMAIN_PROCESS_SIGNAL_PWR = 30 VIR_DOMAIN_PROCESS_SIGNAL_QUIT = 3 VIR_DOMAIN_PROCESS_SIGNAL_RT0 = 32 VIR_DOMAIN_PROCESS_SIGNAL_RT1 = 33 VIR_DOMAIN_PROCESS_SIGNAL_RT10 = 42 VIR_DOMAIN_PROCESS_SIGNAL_RT11 = 43 VIR_DOMAIN_PROCESS_SIGNAL_RT12 = 44 VIR_DOMAIN_PROCESS_SIGNAL_RT13 = 45 VIR_DOMAIN_PROCESS_SIGNAL_RT14 = 46 VIR_DOMAIN_PROCESS_SIGNAL_RT15 = 47 VIR_DOMAIN_PROCESS_SIGNAL_RT16 = 48 VIR_DOMAIN_PROCESS_SIGNAL_RT17 = 49 VIR_DOMAIN_PROCESS_SIGNAL_RT18 = 50 VIR_DOMAIN_PROCESS_SIGNAL_RT19 = 51 VIR_DOMAIN_PROCESS_SIGNAL_RT2 = 34 VIR_DOMAIN_PROCESS_SIGNAL_RT20 = 52 VIR_DOMAIN_PROCESS_SIGNAL_RT21 = 53 VIR_DOMAIN_PROCESS_SIGNAL_RT22 = 54 VIR_DOMAIN_PROCESS_SIGNAL_RT23 = 55 VIR_DOMAIN_PROCESS_SIGNAL_RT24 = 56 VIR_DOMAIN_PROCESS_SIGNAL_RT25 = 57 VIR_DOMAIN_PROCESS_SIGNAL_RT26 = 58 VIR_DOMAIN_PROCESS_SIGNAL_RT27 = 59 VIR_DOMAIN_PROCESS_SIGNAL_RT28 = 60 VIR_DOMAIN_PROCESS_SIGNAL_RT29 = 61 VIR_DOMAIN_PROCESS_SIGNAL_RT3 = 35 VIR_DOMAIN_PROCESS_SIGNAL_RT30 = 62 VIR_DOMAIN_PROCESS_SIGNAL_RT31 = 63 VIR_DOMAIN_PROCESS_SIGNAL_RT32 = 64 VIR_DOMAIN_PROCESS_SIGNAL_RT4 = 36 VIR_DOMAIN_PROCESS_SIGNAL_RT5 = 37 VIR_DOMAIN_PROCESS_SIGNAL_RT6 = 38 VIR_DOMAIN_PROCESS_SIGNAL_RT7 = 39 VIR_DOMAIN_PROCESS_SIGNAL_RT8 = 40 VIR_DOMAIN_PROCESS_SIGNAL_RT9 = 41 VIR_DOMAIN_PROCESS_SIGNAL_SEGV = 11 VIR_DOMAIN_PROCESS_SIGNAL_STKFLT = 16 VIR_DOMAIN_PROCESS_SIGNAL_STOP = 19 VIR_DOMAIN_PROCESS_SIGNAL_SYS = 31 VIR_DOMAIN_PROCESS_SIGNAL_TERM = 15 VIR_DOMAIN_PROCESS_SIGNAL_TRAP = 5 VIR_DOMAIN_PROCESS_SIGNAL_TSTP = 20 VIR_DOMAIN_PROCESS_SIGNAL_TTIN = 21 VIR_DOMAIN_PROCESS_SIGNAL_TTOU = 22 VIR_DOMAIN_PROCESS_SIGNAL_URG = 23 VIR_DOMAIN_PROCESS_SIGNAL_USR1 = 10 VIR_DOMAIN_PROCESS_SIGNAL_USR2 = 12 VIR_DOMAIN_PROCESS_SIGNAL_VTALRM = 26 VIR_DOMAIN_PROCESS_SIGNAL_WINCH = 28 VIR_DOMAIN_PROCESS_SIGNAL_XCPU = 24 VIR_DOMAIN_PROCESS_SIGNAL_XFSZ = 25 VIR_DOMAIN_QEMU_AGENT_COMMAND_BLOCK = VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULT = VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_DEFAULT VIR_DOMAIN_QEMU_AGENT_COMMAND_MIN = VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK VIR_DOMAIN_QEMU_AGENT_COMMAND_NOWAIT = VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT VIR_DOMAIN_QEMU_AGENT_COMMAND_SHUTDOWN = 60 VIR_DOMAIN_QEMU_MONITOR_COMMAND_DEFAULT = 0 VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP = 1 VIR_DOMAIN_REBOOT_ACPI_POWER_BTN = 1 VIR_DOMAIN_REBOOT_DEFAULT = 0 VIR_DOMAIN_REBOOT_GUEST_AGENT = 2 VIR_DOMAIN_REBOOT_INITCTL = 4 VIR_DOMAIN_REBOOT_PARAVIRT = 16 VIR_DOMAIN_REBOOT_SIGNAL = 8 VIR_DOMAIN_RUNNING = 1 VIR_DOMAIN_RUNNING_BOOTED = 1 VIR_DOMAIN_RUNNING_CRASHED = 9 VIR_DOMAIN_RUNNING_FROM_SNAPSHOT = 4 VIR_DOMAIN_RUNNING_LAST = 12 VIR_DOMAIN_RUNNING_MIGRATED = 2 VIR_DOMAIN_RUNNING_MIGRATION_CANCELED = 6 VIR_DOMAIN_RUNNING_POSTCOPY = 10 VIR_DOMAIN_RUNNING_POSTCOPY_FAILED = 11 VIR_DOMAIN_RUNNING_RESTORED = 3 VIR_DOMAIN_RUNNING_SAVE_CANCELED = 7 VIR_DOMAIN_RUNNING_UNKNOWN = 0 VIR_DOMAIN_RUNNING_UNPAUSED = 5 VIR_DOMAIN_RUNNING_WAKEUP = 8 VIR_DOMAIN_SAVE_BYPASS_CACHE = 1 VIR_DOMAIN_SAVE_IMAGE_XML_SECURE = VIR_DOMAIN_XML_SECURE VIR_DOMAIN_SAVE_PAUSED = 4 VIR_DOMAIN_SAVE_RESET_NVRAM = 8 VIR_DOMAIN_SAVE_RUNNING = 2 VIR_DOMAIN_SCHED_FIELD_BOOLEAN = VIR_TYPED_PARAM_BOOLEAN VIR_DOMAIN_SCHED_FIELD_DOUBLE = VIR_TYPED_PARAM_DOUBLE VIR_DOMAIN_SCHED_FIELD_INT = VIR_TYPED_PARAM_INT VIR_DOMAIN_SCHED_FIELD_LLONG = VIR_TYPED_PARAM_LLONG VIR_DOMAIN_SCHED_FIELD_UINT = VIR_TYPED_PARAM_UINT VIR_DOMAIN_SCHED_FIELD_ULLONG = VIR_TYPED_PARAM_ULLONG VIR_DOMAIN_SETVCPU_AFFECT_CONFIG = VIR_DOMAIN_AFFECT_CONFIG VIR_DOMAIN_SETVCPU_AFFECT_CURRENT = VIR_DOMAIN_AFFECT_CURRENT VIR_DOMAIN_SETVCPU_AFFECT_LIVE = VIR_DOMAIN_AFFECT_LIVE VIR_DOMAIN_SETVCPU_ASYNC_UNPLUG = 4 VIR_DOMAIN_SHUTDOWN = 4 VIR_DOMAIN_SHUTDOWN_ACPI_POWER_BTN = 1 VIR_DOMAIN_SHUTDOWN_DEFAULT = 0 VIR_DOMAIN_SHUTDOWN_GUEST_AGENT = 2 VIR_DOMAIN_SHUTDOWN_INITCTL = 4 VIR_DOMAIN_SHUTDOWN_LAST = 2 VIR_DOMAIN_SHUTDOWN_PARAVIRT = 16 VIR_DOMAIN_SHUTDOWN_SIGNAL = 8 VIR_DOMAIN_SHUTDOWN_UNKNOWN = 0 VIR_DOMAIN_SHUTDOWN_USER = 1 VIR_DOMAIN_SHUTOFF = 5 VIR_DOMAIN_SHUTOFF_CRASHED = 3 VIR_DOMAIN_SHUTOFF_DAEMON = 8 VIR_DOMAIN_SHUTOFF_DESTROYED = 2 VIR_DOMAIN_SHUTOFF_FAILED = 6 VIR_DOMAIN_SHUTOFF_FROM_SNAPSHOT = 7 VIR_DOMAIN_SHUTOFF_LAST = 9 VIR_DOMAIN_SHUTOFF_MIGRATED = 4 VIR_DOMAIN_SHUTOFF_SAVED = 5 VIR_DOMAIN_SHUTOFF_SHUTDOWN = 1 VIR_DOMAIN_SHUTOFF_UNKNOWN = 0 VIR_DOMAIN_SNAPSHOT_CREATE_ATOMIC = 128 VIR_DOMAIN_SNAPSHOT_CREATE_CURRENT = 2 VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY = 16 VIR_DOMAIN_SNAPSHOT_CREATE_HALT = 8 VIR_DOMAIN_SNAPSHOT_CREATE_LIVE = 256 VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA = 4 VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE = 64 VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE = 1 VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT = 32 VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE = 512 VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN = 1 VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLY = 4 VIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY = 2 VIR_DOMAIN_SNAPSHOT_LIST_ACTIVE = 64 VIR_DOMAIN_SNAPSHOT_LIST_DESCENDANTS = 1 VIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLY = 128 VIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL = 512 VIR_DOMAIN_SNAPSHOT_LIST_INACTIVE = 32 VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL = 256 VIR_DOMAIN_SNAPSHOT_LIST_LEAVES = 4 VIR_DOMAIN_SNAPSHOT_LIST_METADATA = 2 VIR_DOMAIN_SNAPSHOT_LIST_NO_LEAVES = 8 VIR_DOMAIN_SNAPSHOT_LIST_NO_METADATA = 16 VIR_DOMAIN_SNAPSHOT_LIST_ROOTS = 1 VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL = 1024 VIR_DOMAIN_SNAPSHOT_REVERT_FORCE = 4 VIR_DOMAIN_SNAPSHOT_REVERT_PAUSED = 2 VIR_DOMAIN_SNAPSHOT_REVERT_RESET_NVRAM = 8 VIR_DOMAIN_SNAPSHOT_REVERT_RUNNING = 1 VIR_DOMAIN_SNAPSHOT_XML_SECURE = VIR_DOMAIN_XML_SECURE VIR_DOMAIN_START_AUTODESTROY = 2 VIR_DOMAIN_START_BYPASS_CACHE = 4 VIR_DOMAIN_START_FORCE_BOOT = 8 VIR_DOMAIN_START_PAUSED = 1 VIR_DOMAIN_START_RESET_NVRAM = 32 VIR_DOMAIN_START_VALIDATE = 16 VIR_DOMAIN_STATS_BALLOON = 4 VIR_DOMAIN_STATS_BLOCK = 32 VIR_DOMAIN_STATS_CPU_TOTAL = 2 VIR_DOMAIN_STATS_DIRTYRATE = 512 VIR_DOMAIN_STATS_INTERFACE = 16 VIR_DOMAIN_STATS_IOTHREAD = 128 VIR_DOMAIN_STATS_MEMORY = 256 VIR_DOMAIN_STATS_PERF = 64 VIR_DOMAIN_STATS_STATE = 1 VIR_DOMAIN_STATS_VCPU = 8 VIR_DOMAIN_STATS_VM = 1024 VIR_DOMAIN_TIME_SYNC = 1 VIR_DOMAIN_UNDEFINE_CHECKPOINTS_METADATA = 16 VIR_DOMAIN_UNDEFINE_KEEP_NVRAM = 8 VIR_DOMAIN_UNDEFINE_KEEP_TPM = 64 VIR_DOMAIN_UNDEFINE_MANAGED_SAVE = 1 VIR_DOMAIN_UNDEFINE_NVRAM = 4 VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA = 2 VIR_DOMAIN_UNDEFINE_TPM = 32 VIR_DOMAIN_VCPU_ASYNC_UNPLUG = 32 VIR_DOMAIN_VCPU_CONFIG = VIR_DOMAIN_AFFECT_CONFIG VIR_DOMAIN_VCPU_CURRENT = VIR_DOMAIN_AFFECT_CURRENT VIR_DOMAIN_VCPU_GUEST = 8 VIR_DOMAIN_VCPU_HOTPLUGGABLE = 16 VIR_DOMAIN_VCPU_LIVE = VIR_DOMAIN_AFFECT_LIVE VIR_DOMAIN_VCPU_MAXIMUM = 4 VIR_DOMAIN_XML_INACTIVE = 2 VIR_DOMAIN_XML_MIGRATABLE = 8 VIR_DOMAIN_XML_SECURE = 1 VIR_DOMAIN_XML_UPDATE_CPU = 4 VIR_DUMP_BYPASS_CACHE = 4 VIR_DUMP_CRASH = 1 VIR_DUMP_LIVE = 2 VIR_DUMP_MEMORY_ONLY = 16 VIR_DUMP_RESET = 8 VIR_ERR_ACCESS_DENIED = 88 VIR_ERR_AGENT_COMMAND_FAILED = 113 VIR_ERR_AGENT_COMMAND_TIMEOUT = 112 VIR_ERR_AGENT_UNRESPONSIVE = 86 VIR_ERR_AGENT_UNSYNCED = 97 VIR_ERR_ARGUMENT_UNSUPPORTED = 74 VIR_ERR_AUTH_CANCELLED = 79 VIR_ERR_AUTH_FAILED = 45 VIR_ERR_AUTH_UNAVAILABLE = 94 VIR_ERR_BLOCK_COPY_ACTIVE = 83 VIR_ERR_BUILD_FIREWALL = 63 VIR_ERR_CALL_FAILED = 26 VIR_ERR_CHECKPOINT_INCONSISTENT = 109 VIR_ERR_CONFIG_UNSUPPORTED = 67 VIR_ERR_CONF_SYNTAX = 33 VIR_ERR_CPU_INCOMPATIBLE = 91 VIR_ERR_DBUS_SERVICE = 89 VIR_ERR_DEVICE_MISSING = 99 VIR_ERR_DOMAIN_LAST = 73 VIR_ERR_DOM_EXIST = 28 VIR_ERR_DRIVER_FULL = 25 VIR_ERR_ERROR = 2 VIR_ERR_GET_FAILED = 10 VIR_ERR_GNUTLS_ERROR = 40 VIR_ERR_HOOK_SCRIPT_FAILED = 70 VIR_ERR_HTTP_ERROR = 12 VIR_ERR_INTERNAL_ERROR = 1 VIR_ERR_INVALID_ARG = 8 VIR_ERR_INVALID_CONN = 6 VIR_ERR_INVALID_DOMAIN = 7 VIR_ERR_INVALID_DOMAIN_CHECKPOINT = 102 VIR_ERR_INVALID_DOMAIN_SNAPSHOT = 71 VIR_ERR_INVALID_ENCR_KEY_SECRET = 114 VIR_ERR_INVALID_INTERFACE = 58 VIR_ERR_INVALID_MAC = 44 VIR_ERR_INVALID_NETWORK = 36 VIR_ERR_INVALID_NETWORK_PORT = 105 VIR_ERR_INVALID_NODE_DEVICE = 52 VIR_ERR_INVALID_NWFILTER = 61 VIR_ERR_INVALID_NWFILTER_BINDING = 100 VIR_ERR_INVALID_SECRET = 65 VIR_ERR_INVALID_STORAGE_POOL = 46 VIR_ERR_INVALID_STORAGE_VOL = 47 VIR_ERR_INVALID_STREAM = 73 VIR_ERR_LIBSSH = 98 VIR_ERR_MIGRATE_FINISH_OK = 93 VIR_ERR_MIGRATE_PERSIST_FAILED = 69 VIR_ERR_MIGRATE_UNSAFE = 81 VIR_ERR_MULTIPLE_DOMAINS = 110 VIR_ERR_MULTIPLE_INTERFACES = 59 VIR_ERR_NETWORK_EXIST = 37 VIR_ERR_NETWORK_PORT_EXIST = 106 VIR_ERR_NONE = 0 VIR_ERR_NO_CLIENT = 96 VIR_ERR_NO_CONNECT = 5 VIR_ERR_NO_DEVICE = 23 VIR_ERR_NO_DOMAIN = 42 VIR_ERR_NO_DOMAIN_BACKUP = 104 VIR_ERR_NO_DOMAIN_CHECKPOINT = 103 VIR_ERR_NO_DOMAIN_METADATA = 80 VIR_ERR_NO_DOMAIN_SNAPSHOT = 72 VIR_ERR_NO_HOSTNAME = 108 VIR_ERR_NO_INTERFACE = 57 VIR_ERR_NO_KERNEL = 17 VIR_ERR_NO_MEMORY = 2 VIR_ERR_NO_NAME = 21 VIR_ERR_NO_NETWORK = 43 VIR_ERR_NO_NETWORK_METADATA = 111 VIR_ERR_NO_NETWORK_PORT = 107 VIR_ERR_NO_NODE_DEVICE = 53 VIR_ERR_NO_NWFILTER = 62 VIR_ERR_NO_NWFILTER_BINDING = 101 VIR_ERR_NO_OS = 22 VIR_ERR_NO_ROOT = 18 VIR_ERR_NO_SECRET = 66 VIR_ERR_NO_SECURITY_MODEL = 54 VIR_ERR_NO_SERVER = 95 VIR_ERR_NO_SOURCE = 19 VIR_ERR_NO_STORAGE_POOL = 49 VIR_ERR_NO_STORAGE_VOL = 50 VIR_ERR_NO_SUPPORT = 3 VIR_ERR_NO_TARGET = 20 VIR_ERR_NO_XEN = 14 VIR_ERR_NO_XENSTORE = 24 VIR_ERR_NUMBER_LAST = 115 VIR_ERR_OK = 0 VIR_ERR_OPEN_FAILED = 30 VIR_ERR_OPERATION_ABORTED = 78 VIR_ERR_OPERATION_DENIED = 29 VIR_ERR_OPERATION_FAILED = 9 VIR_ERR_OPERATION_INVALID = 55 VIR_ERR_OPERATION_TIMEOUT = 68 VIR_ERR_OPERATION_UNSUPPORTED = 84 VIR_ERR_OS_TYPE = 16 VIR_ERR_OVERFLOW = 82 VIR_ERR_PARSE_FAILED = 32 VIR_ERR_POST_FAILED = 11 VIR_ERR_READ_FAILED = 31 VIR_ERR_RESOURCE_BUSY = 87 VIR_ERR_RPC = 39 VIR_ERR_SEXPR_SERIAL = 13 VIR_ERR_SNAPSHOT_REVERT_RISKY = 77 VIR_ERR_SSH = 85 VIR_ERR_STORAGE_POOL_BUILT = 76 VIR_ERR_STORAGE_PROBE_FAILED = 75 VIR_ERR_STORAGE_VOL_EXIST = 90 VIR_ERR_SYSTEM_ERROR = 38 VIR_ERR_UNKNOWN_HOST = 4 VIR_ERR_WARNING = 1 VIR_ERR_WRITE_FAILED = 34 VIR_ERR_XEN_CALL = 15 VIR_ERR_XML_DETAIL = 35 VIR_ERR_XML_ERROR = 27 VIR_ERR_XML_INVALID_SCHEMA = 92 VIR_EVENT_HANDLE_ERROR = 4 VIR_EVENT_HANDLE_HANGUP = 8 VIR_EVENT_HANDLE_READABLE = 1 VIR_EVENT_HANDLE_WRITABLE = 2 VIR_FROM_ACCESS = 55 VIR_FROM_ADMIN = 62 VIR_FROM_AUDIT = 36 VIR_FROM_AUTH = 46 VIR_FROM_BHYVE = 57 VIR_FROM_BPF = 71 VIR_FROM_CAPABILITIES = 44 VIR_FROM_CGROUP = 54 VIR_FROM_CH = 72 VIR_FROM_CONF = 9 VIR_FROM_CPU = 31 VIR_FROM_CRYPTO = 58 VIR_FROM_DBUS = 47 VIR_FROM_DEVICE = 49 VIR_FROM_DOM = 6 VIR_FROM_DOMAIN = 20 VIR_FROM_DOMAIN_CHECKPOINT = 69 VIR_FROM_DOMAIN_SNAPSHOT = 35 VIR_FROM_ESX = 28 VIR_FROM_EVENT = 40 VIR_FROM_FIREWALL = 59 VIR_FROM_FIREWALLD = 68 VIR_FROM_HOOK = 34 VIR_FROM_HYPERV = 43 VIR_FROM_IDENTITY = 53 VIR_FROM_INITCTL = 52 VIR_FROM_INTERFACE = 26 VIR_FROM_LIBSSH = 66 VIR_FROM_LIBXL = 41 VIR_FROM_LOCKING = 42 VIR_FROM_LOCKSPACE = 51 VIR_FROM_LOGGING = 63 VIR_FROM_LXC = 17 VIR_FROM_NET = 11 VIR_FROM_NETWORK = 19 VIR_FROM_NODEDEV = 22 VIR_FROM_NONE = 0 VIR_FROM_NWFILTER = 33 VIR_FROM_ONE = 27 VIR_FROM_OPENVZ = 14 VIR_FROM_PARALLELS = 48 VIR_FROM_PERF = 65 VIR_FROM_PHYP = 29 VIR_FROM_POLKIT = 60 VIR_FROM_PROXY = 8 VIR_FROM_QEMU = 10 VIR_FROM_REMOTE = 13 VIR_FROM_RESCTRL = 67 VIR_FROM_RPC = 7 VIR_FROM_SECRET = 30 VIR_FROM_SECURITY = 24 VIR_FROM_SEXPR = 4 VIR_FROM_SSH = 50 VIR_FROM_STATS_LINUX = 16 VIR_FROM_STORAGE = 18 VIR_FROM_STREAMS = 38 VIR_FROM_SYSINFO = 37 VIR_FROM_SYSTEMD = 56 VIR_FROM_TEST = 12 VIR_FROM_THREAD = 61 VIR_FROM_TPM = 70 VIR_FROM_UML = 21 VIR_FROM_URI = 45 VIR_FROM_VBOX = 25 VIR_FROM_VMWARE = 39 VIR_FROM_XEN = 1 VIR_FROM_XENAPI = 32 VIR_FROM_XEND = 2 VIR_FROM_XENSTORE = 3 VIR_FROM_XENXL = 64 VIR_FROM_XENXM = 15 VIR_FROM_XEN_INOTIFY = 23 VIR_FROM_XML = 5 VIR_INTERFACE_DEFINE_VALIDATE = 1 VIR_INTERFACE_XML_INACTIVE = 1 VIR_IP_ADDR_TYPE_IPV4 = 0 VIR_IP_ADDR_TYPE_IPV6 = 1 VIR_IP_ADDR_TYPE_LAST = 2 VIR_KEYCODE_SET_ATSET1 = 2 VIR_KEYCODE_SET_ATSET2 = 3 VIR_KEYCODE_SET_ATSET3 = 4 VIR_KEYCODE_SET_LAST = 10 VIR_KEYCODE_SET_LINUX = 0 VIR_KEYCODE_SET_OSX = 5 VIR_KEYCODE_SET_QNUM = 9 VIR_KEYCODE_SET_USB = 7 VIR_KEYCODE_SET_WIN32 = 8 VIR_KEYCODE_SET_XT = 1 VIR_KEYCODE_SET_XT_KBD = 6 VIR_MEMORY_PHYSICAL = 2 VIR_MEMORY_VIRTUAL = 1 VIR_MIGRATE_ABORT_ON_ERROR = 4096 VIR_MIGRATE_AUTO_CONVERGE = 8192 VIR_MIGRATE_CHANGE_PROTECTION = 256 VIR_MIGRATE_COMPRESSED = 2048 VIR_MIGRATE_LIVE = 1 VIR_MIGRATE_NON_SHARED_DISK = 64 VIR_MIGRATE_NON_SHARED_INC = 128 VIR_MIGRATE_NON_SHARED_SYNCHRONOUS_WRITES = 262144 VIR_MIGRATE_OFFLINE = 1024 VIR_MIGRATE_PARALLEL = 131072 VIR_MIGRATE_PAUSED = 32 VIR_MIGRATE_PEER2PEER = 2 VIR_MIGRATE_PERSIST_DEST = 8 VIR_MIGRATE_POSTCOPY = 32768 VIR_MIGRATE_POSTCOPY_RESUME = 524288 VIR_MIGRATE_RDMA_PIN_ALL = 16384 VIR_MIGRATE_TLS = 65536 VIR_MIGRATE_TUNNELLED = 4 VIR_MIGRATE_UNDEFINE_SOURCE = 16 VIR_MIGRATE_UNSAFE = 512 VIR_MIGRATE_ZEROCOPY = 1048576 VIR_NETWORK_CREATE_VALIDATE = 1 VIR_NETWORK_DEFINE_VALIDATE = 1 VIR_NETWORK_EVENT_DEFINED = 0 VIR_NETWORK_EVENT_ID_LAST = 2 VIR_NETWORK_EVENT_ID_LIFECYCLE = 0 VIR_NETWORK_EVENT_ID_METADATA_CHANGE = 1 VIR_NETWORK_EVENT_LAST = 4 VIR_NETWORK_EVENT_STARTED = 2 VIR_NETWORK_EVENT_STOPPED = 3 VIR_NETWORK_EVENT_UNDEFINED = 1 VIR_NETWORK_METADATA_DESCRIPTION = 0 VIR_NETWORK_METADATA_ELEMENT = 2 VIR_NETWORK_METADATA_LAST = 3 VIR_NETWORK_METADATA_TITLE = 1 VIR_NETWORK_PORT_CREATE_RECLAIM = 1 VIR_NETWORK_PORT_CREATE_VALIDATE = 2 VIR_NETWORK_SECTION_BRIDGE = 1 VIR_NETWORK_SECTION_DNS_HOST = 10 VIR_NETWORK_SECTION_DNS_SRV = 12 VIR_NETWORK_SECTION_DNS_TXT = 11 VIR_NETWORK_SECTION_DOMAIN = 2 VIR_NETWORK_SECTION_FORWARD = 6 VIR_NETWORK_SECTION_FORWARD_INTERFACE = 7 VIR_NETWORK_SECTION_FORWARD_PF = 8 VIR_NETWORK_SECTION_IP = 3 VIR_NETWORK_SECTION_IP_DHCP_HOST = 4 VIR_NETWORK_SECTION_IP_DHCP_RANGE = 5 VIR_NETWORK_SECTION_LAST = 13 VIR_NETWORK_SECTION_NONE = 0 VIR_NETWORK_SECTION_PORTGROUP = 9 VIR_NETWORK_UPDATE_AFFECT_CONFIG = 2 VIR_NETWORK_UPDATE_AFFECT_CURRENT = 0 VIR_NETWORK_UPDATE_AFFECT_LIVE = 1 VIR_NETWORK_UPDATE_COMMAND_ADD_FIRST = 4 VIR_NETWORK_UPDATE_COMMAND_ADD_LAST = 3 VIR_NETWORK_UPDATE_COMMAND_DELETE = 2 VIR_NETWORK_UPDATE_COMMAND_LAST = 5 VIR_NETWORK_UPDATE_COMMAND_MODIFY = 1 VIR_NETWORK_UPDATE_COMMAND_NONE = 0 VIR_NETWORK_XML_INACTIVE = 1 VIR_NODE_ALLOC_PAGES_ADD = 0 VIR_NODE_ALLOC_PAGES_SET = 1 VIR_NODE_CPU_STATS_ALL_CPUS = -1 VIR_NODE_DEVICE_CREATE_XML_VALIDATE = 1 VIR_NODE_DEVICE_DEFINE_XML_VALIDATE = 1 VIR_NODE_DEVICE_EVENT_CREATED = 0 VIR_NODE_DEVICE_EVENT_DEFINED = 2 VIR_NODE_DEVICE_EVENT_DELETED = 1 VIR_NODE_DEVICE_EVENT_ID_LAST = 2 VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE = 0 VIR_NODE_DEVICE_EVENT_ID_UPDATE = 1 VIR_NODE_DEVICE_EVENT_LAST = 4 VIR_NODE_DEVICE_EVENT_UNDEFINED = 3 VIR_NODE_DEVICE_UPDATE_AFFECT_CONFIG = 2 VIR_NODE_DEVICE_UPDATE_AFFECT_CURRENT = 0 VIR_NODE_DEVICE_UPDATE_AFFECT_LIVE = 1 VIR_NODE_DEVICE_XML_INACTIVE = 1 VIR_NODE_MEMORY_STATS_ALL_CELLS = -1 VIR_NODE_SUSPEND_TARGET_DISK = 1 VIR_NODE_SUSPEND_TARGET_HYBRID = 2 VIR_NODE_SUSPEND_TARGET_LAST = 3 VIR_NODE_SUSPEND_TARGET_MEM = 0 VIR_NWFILTER_BINDING_CREATE_VALIDATE = 1 VIR_NWFILTER_DEFINE_VALIDATE = 1 VIR_SECRET_DEFINE_VALIDATE = 1 VIR_SECRET_EVENT_DEFINED = 0 VIR_SECRET_EVENT_ID_LAST = 2 VIR_SECRET_EVENT_ID_LIFECYCLE = 0 VIR_SECRET_EVENT_ID_VALUE_CHANGED = 1 VIR_SECRET_EVENT_LAST = 2 VIR_SECRET_EVENT_UNDEFINED = 1 VIR_SECRET_USAGE_TYPE_CEPH = 2 VIR_SECRET_USAGE_TYPE_ISCSI = 3 VIR_SECRET_USAGE_TYPE_LAST = 6 VIR_SECRET_USAGE_TYPE_NONE = 0 VIR_SECRET_USAGE_TYPE_TLS = 4 VIR_SECRET_USAGE_TYPE_VOLUME = 1 VIR_SECRET_USAGE_TYPE_VTPM = 5 VIR_STORAGE_POOL_BUILDING = 1 VIR_STORAGE_POOL_BUILD_NEW = 0 VIR_STORAGE_POOL_BUILD_NO_OVERWRITE = 4 VIR_STORAGE_POOL_BUILD_OVERWRITE = 8 VIR_STORAGE_POOL_BUILD_REPAIR = 1 VIR_STORAGE_POOL_BUILD_RESIZE = 2 VIR_STORAGE_POOL_CREATE_NORMAL = 0 VIR_STORAGE_POOL_CREATE_WITH_BUILD = 1 VIR_STORAGE_POOL_CREATE_WITH_BUILD_NO_OVERWRITE = 4 VIR_STORAGE_POOL_CREATE_WITH_BUILD_OVERWRITE = 2 VIR_STORAGE_POOL_DEFINE_VALIDATE = 1 VIR_STORAGE_POOL_DEGRADED = 3 VIR_STORAGE_POOL_DELETE_NORMAL = 0 VIR_STORAGE_POOL_DELETE_ZEROED = 1 VIR_STORAGE_POOL_EVENT_CREATED = 4 VIR_STORAGE_POOL_EVENT_DEFINED = 0 VIR_STORAGE_POOL_EVENT_DELETED = 5 VIR_STORAGE_POOL_EVENT_ID_LAST = 2 VIR_STORAGE_POOL_EVENT_ID_LIFECYCLE = 0 VIR_STORAGE_POOL_EVENT_ID_REFRESH = 1 VIR_STORAGE_POOL_EVENT_LAST = 6 VIR_STORAGE_POOL_EVENT_STARTED = 2 VIR_STORAGE_POOL_EVENT_STOPPED = 3 VIR_STORAGE_POOL_EVENT_UNDEFINED = 1 VIR_STORAGE_POOL_INACCESSIBLE = 4 VIR_STORAGE_POOL_INACTIVE = 0 VIR_STORAGE_POOL_RUNNING = 2 VIR_STORAGE_POOL_STATE_LAST = 5 VIR_STORAGE_VOL_BLOCK = 1 VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA = 1 VIR_STORAGE_VOL_CREATE_REFLINK = 2 VIR_STORAGE_VOL_CREATE_VALIDATE = 4 VIR_STORAGE_VOL_DELETE_NORMAL = 0 VIR_STORAGE_VOL_DELETE_WITH_SNAPSHOTS = 2 VIR_STORAGE_VOL_DELETE_ZEROED = 1 VIR_STORAGE_VOL_DIR = 2 VIR_STORAGE_VOL_DOWNLOAD_SPARSE_STREAM = 1 VIR_STORAGE_VOL_FILE = 0 VIR_STORAGE_VOL_GET_PHYSICAL = 1 VIR_STORAGE_VOL_LAST = 6 VIR_STORAGE_VOL_NETDIR = 4 VIR_STORAGE_VOL_NETWORK = 3 VIR_STORAGE_VOL_PLOOP = 5 VIR_STORAGE_VOL_RESIZE_ALLOCATE = 1 VIR_STORAGE_VOL_RESIZE_DELTA = 2 VIR_STORAGE_VOL_RESIZE_SHRINK = 4 VIR_STORAGE_VOL_UPLOAD_SPARSE_STREAM = 1 VIR_STORAGE_VOL_USE_ALLOCATION = 0 VIR_STORAGE_VOL_WIPE_ALG_BSI = 3 VIR_STORAGE_VOL_WIPE_ALG_DOD = 2 VIR_STORAGE_VOL_WIPE_ALG_GUTMANN = 4 VIR_STORAGE_VOL_WIPE_ALG_LAST = 10 VIR_STORAGE_VOL_WIPE_ALG_NNSA = 1 VIR_STORAGE_VOL_WIPE_ALG_PFITZNER33 = 7 VIR_STORAGE_VOL_WIPE_ALG_PFITZNER7 = 6 VIR_STORAGE_VOL_WIPE_ALG_RANDOM = 8 VIR_STORAGE_VOL_WIPE_ALG_SCHNEIER = 5 VIR_STORAGE_VOL_WIPE_ALG_TRIM = 9 VIR_STORAGE_VOL_WIPE_ALG_ZERO = 0 VIR_STORAGE_XML_INACTIVE = 1 VIR_STREAM_EVENT_ERROR = 4 VIR_STREAM_EVENT_HANGUP = 8 VIR_STREAM_EVENT_READABLE = 1 VIR_STREAM_EVENT_WRITABLE = 2 VIR_STREAM_NONBLOCK = 1 VIR_STREAM_RECV_STOP_AT_HOLE = 1 VIR_TYPED_PARAM_BOOLEAN = 6 VIR_TYPED_PARAM_DOUBLE = 5 VIR_TYPED_PARAM_INT = 1 VIR_TYPED_PARAM_LAST = 8 VIR_TYPED_PARAM_LLONG = 3 VIR_TYPED_PARAM_STRING = 7 VIR_TYPED_PARAM_STRING_OKAY = 4 VIR_TYPED_PARAM_UINT = 2 VIR_TYPED_PARAM_ULLONG = 4 VIR_VCPU_BLOCKED = 2 VIR_VCPU_INFO_CPU_OFFLINE = -1 VIR_VCPU_INFO_CPU_UNAVAILABLE = -2 VIR_VCPU_LAST = 3 VIR_VCPU_OFFLINE = 0 VIR_VCPU_RUNNING = 1 VIR_WAR_NO_INTERFACE = 56 VIR_WAR_NO_NETWORK = 41 VIR_WAR_NO_NODE = 51 VIR_WAR_NO_NWFILTER = 60 VIR_WAR_NO_SECRET = 64 VIR_WAR_NO_STORAGE = 48 )
Raw constants retain libvirt's C names so the full enum catalog updates automatically.
Variables ¶
var ( // ErrClosed indicates that a connection or domain handle has been released. ErrClosed = errors.New("libvirt: resource is closed") // ErrEmbeddedNUL indicates that a Go string cannot be represented as a C string. ErrEmbeddedNUL = errors.New("libvirt: string contains a NUL byte") // ErrLibraryNotFound indicates that the libvirt shared library could not be loaded. ErrLibraryNotFound = errors.New("libvirt: shared library not found") ErrSymbolUnavailable = errors.New("libvirt: symbol unavailable") // ErrStreamWouldBlock indicates nonblocking stream I/O cannot currently progress. ErrStreamWouldBlock = errors.New("libvirt: stream would block") // ErrUnsupportedPlatform indicates that no dynamic loader is implemented for this GOOS. ErrUnsupportedPlatform = fmt.Errorf("libvirt: unsupported platform %s", runtime.GOOS) )
Functions ¶
func GetVersion ¶
GetVersion returns the version of the dynamically loaded libvirt library.
func RegisterDefaultEventImpl ¶
func RegisterDefaultEventImpl() error
RegisterDefaultEventImpl installs libvirt's poll-based default event loop. Repeated calls return the result of the process-wide first registration.
func RunDefaultEventImpl ¶
func RunDefaultEventImpl() error
RunDefaultEventImpl runs one iteration of libvirt's default event loop.
func SymbolVersion ¶
SymbolVersion returns the libvirt version that introduced a generated symbol.
Types ¶
type CloseCallback ¶
type CloseCallback struct {
// contains filtered or unexported fields
}
CloseCallback owns a registered connection-close callback.
func (*CloseCallback) Close ¶
func (callback *CloseCallback) Close() error
Close unregisters the connection-close callback. It is idempotent.
type Connect ¶
type Connect struct {
// contains filtered or unexported fields
}
Connect is a reference-counted connection to a libvirt hypervisor driver. Connect must not be copied after first use.
func NewConnect ¶
NewConnect opens a read-write libvirt connection. An empty URI asks libvirt to select its configured default.
func NewConnectReadOnly ¶
NewConnectReadOnly opens a read-only libvirt connection. An empty URI asks libvirt to select its configured default.
func (*Connect) Close ¶
Close releases this wrapper's connection reference. The returned value is libvirt's indication of whether other references remain.
func (*Connect) CreateNetworkXML ¶
CreateNetworkXML creates a transient virtual network.
func (*Connect) CreateNodeDeviceXML ¶
func (c *Connect) CreateNodeDeviceXML(xml string, flags uint32) (*NodeDevice, error)
CreateNodeDeviceXML creates a node device from XML.
func (*Connect) CreateStoragePoolXML ¶
func (c *Connect) CreateStoragePoolXML(xml string, flags uint32) (*StoragePool, error)
CreateStoragePoolXML creates a transient storage pool.
func (*Connect) DefineDomainXML ¶
DefineDomainXML defines a persistent domain and returns a referenced handle. The caller must call Free.
func (*Connect) DefineInterfaceXML ¶
DefineInterfaceXML defines a persistent host interface.
func (*Connect) DefineNWFilterXML ¶
DefineNWFilterXML defines a network filter.
func (*Connect) DefineNetworkXML ¶
DefineNetworkXML defines a persistent virtual network.
func (*Connect) DefineNetworkXMLFlags ¶
DefineNetworkXMLFlags defines a persistent virtual network with flags.
func (*Connect) DefineSecretXML ¶
DefineSecretXML defines or updates a secret.
func (*Connect) DefineStoragePoolXML ¶
func (c *Connect) DefineStoragePoolXML(xml string, flags uint32) (*StoragePool, error)
DefineStoragePoolXML defines a persistent storage pool.
func (*Connect) GetLibVersion ¶
GetLibVersion returns the version of the libvirt library used by this connection.
func (*Connect) GetVersion ¶
GetVersion returns the version of the connected hypervisor.
func (*Connect) ListAllDomains ¶
func (c *Connect) ListAllDomains(flags ConnectListAllDomainsFlags) ([]*Domain, error)
ListAllDomains returns domains matching flags. Every returned Domain owns a reference that the caller must release with Free.
func (*Connect) ListAllInterfaces ¶
ListAllInterfaces returns host interfaces matching flags. Each handle must be freed.
func (*Connect) ListAllNWFilters ¶
ListAllNWFilters returns network filters matching flags. Each handle must be freed.
func (*Connect) ListAllNetworks ¶
ListAllNetworks returns virtual networks matching flags. Each handle must be freed.
func (*Connect) ListAllNodeDevices ¶
func (c *Connect) ListAllNodeDevices(flags uint32) ([]*NodeDevice, error)
ListAllNodeDevices returns node devices matching flags. Each handle must be freed.
func (*Connect) ListAllSecrets ¶
ListAllSecrets returns secrets matching flags. Each handle must be freed.
func (*Connect) ListAllStoragePools ¶
func (c *Connect) ListAllStoragePools(flags uint32) ([]*StoragePool, error)
ListAllStoragePools returns storage pools matching flags. Each handle must be freed.
func (*Connect) LookupDomainByName ¶
LookupDomainByName returns a referenced domain handle. The caller must call Free.
func (*Connect) LookupInterfaceByMACString ¶
LookupInterfaceByMACString returns a referenced host interface.
func (*Connect) LookupInterfaceByName ¶
LookupInterfaceByName returns a referenced host interface.
func (*Connect) LookupNWFilterByName ¶
LookupNWFilterByName returns a referenced network filter.
func (*Connect) LookupNWFilterByUUIDString ¶
LookupNWFilterByUUIDString returns a referenced network filter.
func (*Connect) LookupNetworkByName ¶
LookupNetworkByName returns a referenced network handle.
func (*Connect) LookupNetworkByUUIDString ¶
LookupNetworkByUUIDString returns a referenced network handle.
func (*Connect) LookupNodeDeviceByName ¶
func (c *Connect) LookupNodeDeviceByName(name string) (*NodeDevice, error)
LookupNodeDeviceByName returns a referenced node device.
func (*Connect) LookupSecretByUUIDString ¶
LookupSecretByUUIDString returns a referenced secret.
func (*Connect) LookupSecretByUsage ¶
LookupSecretByUsage returns a referenced secret for a usage type and ID.
func (*Connect) LookupStoragePoolByName ¶
func (c *Connect) LookupStoragePoolByName(name string) (*StoragePool, error)
LookupStoragePoolByName returns a referenced storage pool.
func (*Connect) LookupStoragePoolByUUIDString ¶
func (c *Connect) LookupStoragePoolByUUIDString(uuid string) (*StoragePool, error)
LookupStoragePoolByUUIDString returns a referenced storage pool.
func (*Connect) LookupStorageVolByKey ¶
func (c *Connect) LookupStorageVolByKey(key string) (*StorageVol, error)
LookupStorageVolByKey returns a referenced volume by globally unique key.
func (*Connect) LookupStorageVolByPath ¶
func (c *Connect) LookupStorageVolByPath(path string) (*StorageVol, error)
LookupStorageVolByPath returns a referenced volume by local path.
func (*Connect) RegisterCloseCallback ¶
func (c *Connect) RegisterCloseCallback(callback func(reason int32)) (*CloseCallback, error)
RegisterCloseCallback registers a callback for connection closure.
func (*Connect) RegisterDomainLifecycleCallback ¶
func (c *Connect) RegisterDomainLifecycleCallback(domain *Domain, callback func(DomainLifecycleEvent)) (*DomainEventCallback, error)
RegisterDomainLifecycleCallback registers lifecycle events. A nil domain receives events for all domains on the connection.
type ConnectListAllDomainsFlags ¶
type ConnectListAllDomainsFlags uint32
ConnectListAllDomainsFlags filters ListAllDomains results. Flags in the same group are ORed; a group with no selected bits does not filter the results. Values are generated from virConnectListAllDomainsFlags in libvirt-api.xml.
const ( ConnectListDomainsActive ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_ACTIVE) ConnectListDomainsInactive ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_INACTIVE) ConnectListDomainsPersistent ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_PERSISTENT) ConnectListDomainsTransient ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_TRANSIENT) ConnectListDomainsRunning ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_RUNNING) ConnectListDomainsPaused ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_PAUSED) ConnectListDomainsShutoff ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_SHUTOFF) ConnectListDomainsOther ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_OTHER) ConnectListDomainsManagedSave ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_MANAGEDSAVE) ConnectListDomainsNoManagedSave ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_NO_MANAGEDSAVE) ConnectListDomainsAutostart ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_AUTOSTART) ConnectListDomainsNoAutostart ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_NO_AUTOSTART) ConnectListDomainsHasSnapshot ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_HAS_SNAPSHOT) ConnectListDomainsNoSnapshot ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_NO_SNAPSHOT) ConnectListDomainsHasCheckpoint ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_HAS_CHECKPOINT) ConnectListDomainsNoCheckpoint ConnectListAllDomainsFlags = ConnectListAllDomainsFlags(VIR_CONNECT_LIST_DOMAINS_NO_CHECKPOINT) )
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
Domain is a reference-counted libvirt domain handle. Domain must not be copied after first use.
func (*Domain) CreateCheckpointXML ¶
func (domain *Domain) CreateCheckpointXML(xml string, flags uint32) (*DomainCheckpoint, error)
CreateCheckpointXML creates a domain checkpoint.
func (*Domain) CreateSnapshotXML ¶
func (domain *Domain) CreateSnapshotXML(xml string, flags uint32) (*DomainSnapshot, error)
CreateSnapshotXML creates a domain snapshot.
func (*Domain) CurrentSnapshot ¶
func (domain *Domain) CurrentSnapshot(flags uint32) (*DomainSnapshot, error)
CurrentSnapshot returns the current snapshot.
func (*Domain) GetBlockIOParameters ¶
func (domain *Domain) GetBlockIOParameters(flags uint32) ([]TypedParameter, error)
GetBlockIOParameters returns domain block-I/O tuning parameters.
func (*Domain) GetMemoryParameters ¶
func (domain *Domain) GetMemoryParameters(flags uint32) ([]TypedParameter, error)
GetMemoryParameters returns domain memory tuning parameters.
func (*Domain) GetNumaParameters ¶
func (domain *Domain) GetNumaParameters(flags uint32) ([]TypedParameter, error)
GetNumaParameters returns domain NUMA tuning parameters.
func (*Domain) GetSchedulerParameters ¶
func (domain *Domain) GetSchedulerParameters(flags uint32) ([]TypedParameter, error)
GetSchedulerParameters returns domain scheduler parameters.
func (*Domain) GetState ¶
func (d *Domain) GetState() (DomainState, int32, error)
GetState returns the current domain state and the state-specific reason code.
func (*Domain) GetUUIDString ¶
GetUUIDString returns the domain UUID in canonical RFC 4122 form.
func (*Domain) GetXMLDesc ¶
func (d *Domain) GetXMLDesc(flags DomainXMLFlags) (string, error)
GetXMLDesc returns the domain XML. The native allocation is copied into Go memory and released before this method returns.
func (*Domain) ListAllCheckpoints ¶
func (domain *Domain) ListAllCheckpoints(flags uint32) ([]*DomainCheckpoint, error)
ListAllCheckpoints returns checkpoints matching flags. Each handle must be freed.
func (*Domain) ListAllSnapshots ¶
func (domain *Domain) ListAllSnapshots(flags uint32) ([]*DomainSnapshot, error)
ListAllSnapshots returns snapshots matching flags. Each handle must be freed.
func (*Domain) LookupCheckpointByName ¶
func (domain *Domain) LookupCheckpointByName(name string, flags uint32) (*DomainCheckpoint, error)
LookupCheckpointByName returns a referenced checkpoint.
func (*Domain) LookupSnapshotByName ¶
func (domain *Domain) LookupSnapshotByName(name string, flags uint32) (*DomainSnapshot, error)
LookupSnapshotByName returns a referenced domain snapshot.
func (*Domain) SetBlockIOParameters ¶
func (domain *Domain) SetBlockIOParameters(params []TypedParameter, flags uint32) error
SetBlockIOParameters updates domain block-I/O tuning parameters.
func (*Domain) SetMemoryParameters ¶
func (domain *Domain) SetMemoryParameters(params []TypedParameter, flags uint32) error
SetMemoryParameters updates domain memory tuning parameters.
func (*Domain) SetNumaParameters ¶
func (domain *Domain) SetNumaParameters(params []TypedParameter, flags uint32) error
SetNumaParameters updates domain NUMA tuning parameters.
func (*Domain) SetSchedulerParameters ¶
func (domain *Domain) SetSchedulerParameters(params []TypedParameter, flags uint32) error
SetSchedulerParameters updates domain scheduler parameters.
func (*Domain) UndefineFlags ¶
UndefineFlags removes a persistent domain definition with flags.
type DomainCheckpoint ¶
type DomainCheckpoint struct {
// contains filtered or unexported fields
}
DomainCheckpoint is a reference-counted domain checkpoint handle.
func (*DomainCheckpoint) Delete ¶
func (checkpoint *DomainCheckpoint) Delete(flags uint32) error
Delete removes checkpoint metadata according to flags.
func (*DomainCheckpoint) Free ¶
func (checkpoint *DomainCheckpoint) Free() error
Free releases this wrapper's checkpoint reference.
func (*DomainCheckpoint) GetName ¶
func (checkpoint *DomainCheckpoint) GetName() (string, error)
GetName returns the checkpoint name.
func (*DomainCheckpoint) GetXMLDesc ¶
func (checkpoint *DomainCheckpoint) GetXMLDesc(flags uint32) (string, error)
GetXMLDesc returns the checkpoint XML.
func (*DomainCheckpoint) ListAllChildren ¶
func (checkpoint *DomainCheckpoint) ListAllChildren(flags uint32) ([]*DomainCheckpoint, error)
ListAllChildren returns child checkpoints. Each handle must be freed.
type DomainEventCallback ¶
type DomainEventCallback struct {
// contains filtered or unexported fields
}
DomainEventCallback owns a registered domain event callback.
func (*DomainEventCallback) Close ¶
func (callback *DomainEventCallback) Close() error
Close unregisters the domain event callback. It is idempotent.
type DomainLifecycleEvent ¶
DomainLifecycleEvent is delivered for libvirt domain lifecycle changes.
type DomainSnapshot ¶
type DomainSnapshot struct {
// contains filtered or unexported fields
}
DomainSnapshot is a reference-counted domain snapshot handle.
func (*DomainSnapshot) Delete ¶
func (snapshot *DomainSnapshot) Delete(flags uint32) error
Delete removes snapshot metadata and optionally its data according to flags.
func (*DomainSnapshot) Free ¶
func (snapshot *DomainSnapshot) Free() error
Free releases this wrapper's snapshot reference.
func (*DomainSnapshot) GetName ¶
func (snapshot *DomainSnapshot) GetName() (string, error)
GetName returns the snapshot name.
func (*DomainSnapshot) GetXMLDesc ¶
func (snapshot *DomainSnapshot) GetXMLDesc(flags uint32) (string, error)
GetXMLDesc returns the snapshot XML.
func (*DomainSnapshot) Revert ¶
func (snapshot *DomainSnapshot) Revert(flags uint32) error
Revert reverts the domain to this snapshot.
type DomainState ¶
type DomainState int32
DomainState describes a domain's current execution state. Values are generated from virDomainState in libvirt-api.xml.
const ( DomainNoState DomainState = DomainState(VIR_DOMAIN_NOSTATE) DomainRunning DomainState = DomainState(VIR_DOMAIN_RUNNING) DomainBlocked DomainState = DomainState(VIR_DOMAIN_BLOCKED) DomainPaused DomainState = DomainState(VIR_DOMAIN_PAUSED) DomainShutdown DomainState = DomainState(VIR_DOMAIN_SHUTDOWN) DomainShutoff DomainState = DomainState(VIR_DOMAIN_SHUTOFF) DomainCrashed DomainState = DomainState(VIR_DOMAIN_CRASHED) DomainPMSuspended DomainState = DomainState(VIR_DOMAIN_PMSUSPENDED) DomainLast DomainState = DomainState(VIR_DOMAIN_LAST) )
type DomainXMLFlags ¶
type DomainXMLFlags uint32
DomainXMLFlags controls which form of domain XML GetXMLDesc returns. Values are generated from virDomainXMLFlags in libvirt-api.xml.
const ( DomainXMLSecure DomainXMLFlags = DomainXMLFlags(VIR_DOMAIN_XML_SECURE) DomainXMLInactive DomainXMLFlags = DomainXMLFlags(VIR_DOMAIN_XML_INACTIVE) DomainXMLUpdateCPU DomainXMLFlags = DomainXMLFlags(VIR_DOMAIN_XML_UPDATE_CPU) DomainXMLMigratable DomainXMLFlags = DomainXMLFlags(VIR_DOMAIN_XML_MIGRATABLE) )
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
Interface is a reference-counted host network-interface handle.
func (*Interface) GetMACString ¶
GetMACString returns the interface MAC address.
func (*Interface) GetXMLDesc ¶
GetXMLDesc returns the interface XML.
type NWFilter ¶
type NWFilter struct {
// contains filtered or unexported fields
}
NWFilter is a reference-counted libvirt network-filter handle.
func (*NWFilter) GetUUIDString ¶
GetUUIDString returns the canonical filter UUID.
func (*NWFilter) GetXMLDesc ¶
GetXMLDesc returns the network-filter XML.
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
Network is a reference-counted libvirt virtual network handle.
func (*Network) CreatePortXML ¶
func (network *Network) CreatePortXML(xml string, flags uint32) (*NetworkPort, error)
CreatePortXML creates a network port from XML.
func (*Network) GetAutostart ¶
GetAutostart reports whether the network starts automatically.
func (*Network) GetUUIDString ¶
GetUUIDString returns the canonical network UUID.
func (*Network) GetXMLDesc ¶
GetXMLDesc returns the network XML.
func (*Network) IsPersistent ¶
IsPersistent reports whether the network has persistent configuration.
func (*Network) ListAllPorts ¶
func (network *Network) ListAllPorts(flags uint32) ([]*NetworkPort, error)
ListAllPorts returns ports associated with this network. Each handle must be freed.
func (*Network) LookupPortByUUIDString ¶
func (network *Network) LookupPortByUUIDString(uuid string) (*NetworkPort, error)
LookupPortByUUIDString returns a referenced network port.
func (*Network) SetAutostart ¶
SetAutostart changes whether the network starts automatically.
type NetworkPort ¶
type NetworkPort struct {
// contains filtered or unexported fields
}
NetworkPort is a reference-counted virtual network port handle.
func (*NetworkPort) Delete ¶
func (port *NetworkPort) Delete(flags uint32) error
Delete removes the network port.
func (*NetworkPort) Free ¶
func (port *NetworkPort) Free() error
Free releases this wrapper's network-port reference.
func (*NetworkPort) GetUUIDString ¶
func (port *NetworkPort) GetUUIDString() (string, error)
GetUUIDString returns the canonical port UUID.
func (*NetworkPort) GetXMLDesc ¶
func (port *NetworkPort) GetXMLDesc(flags uint32) (string, error)
GetXMLDesc returns the port XML.
type NodeDevice ¶
type NodeDevice struct {
// contains filtered or unexported fields
}
NodeDevice is a reference-counted host node-device handle.
func (*NodeDevice) Destroy ¶
func (device *NodeDevice) Destroy() error
Destroy destroys a transient node device.
func (*NodeDevice) Detach ¶
func (device *NodeDevice) Detach(driverName string, flags uint32) error
Detach detaches the device from the host driver.
func (*NodeDevice) Free ¶
func (device *NodeDevice) Free() error
Free releases this wrapper's node-device reference.
func (*NodeDevice) GetName ¶
func (device *NodeDevice) GetName() (string, error)
GetName returns the node-device name.
func (*NodeDevice) GetXMLDesc ¶
func (device *NodeDevice) GetXMLDesc(flags uint32) (string, error)
GetXMLDesc returns the node-device XML.
func (*NodeDevice) Reattach ¶
func (device *NodeDevice) Reattach() error
Reattach reattaches the device to the host driver.
type RawAPI ¶
type RawAPI struct {
// contains filtered or unexported fields
}
RawAPI exposes the generated libvirt C ABI with purego-compatible types.
Raw methods preserve libvirt's C return values and ownership rules; their error result only reports that the loaded library does not export the function. Callers remain responsible for checking C failure sentinels, releasing native allocations and references, and locking the goroutine to an OS thread when a failing call must be paired with VirGetLastError.
func (*RawAPI) HasSymbol ¶
HasSymbol reports whether this loaded libvirt exports a generated function.
func (*RawAPI) VirAdmClientClose ¶
VirAdmClientClose calls virAdmClientClose using its raw C ABI contract.
func (*RawAPI) VirAdmClientFree ¶
VirAdmClientFree calls virAdmClientFree using its raw C ABI contract.
func (*RawAPI) VirAdmClientGetID ¶
VirAdmClientGetID calls virAdmClientGetID using its raw C ABI contract.
func (*RawAPI) VirAdmClientGetInfo ¶
func (raw *RawAPI) VirAdmClientGetInfo(client unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirAdmClientGetInfo calls virAdmClientGetInfo using its raw C ABI contract.
func (*RawAPI) VirAdmClientGetTimestamp ¶
VirAdmClientGetTimestamp calls virAdmClientGetTimestamp using its raw C ABI contract.
func (*RawAPI) VirAdmClientGetTransport ¶
VirAdmClientGetTransport calls virAdmClientGetTransport using its raw C ABI contract.
func (*RawAPI) VirAdmConnectClose ¶
VirAdmConnectClose calls virAdmConnectClose using its raw C ABI contract.
func (*RawAPI) VirAdmConnectDaemonShutdown ¶
VirAdmConnectDaemonShutdown calls virAdmConnectDaemonShutdown using its raw C ABI contract.
func (*RawAPI) VirAdmConnectGetLibVersion ¶
VirAdmConnectGetLibVersion calls virAdmConnectGetLibVersion using its raw C ABI contract.
func (*RawAPI) VirAdmConnectGetLoggingFilters ¶
func (raw *RawAPI) VirAdmConnectGetLoggingFilters(conn unsafe.Pointer, filters *unsafe.Pointer, flags uint32) (int32, error)
VirAdmConnectGetLoggingFilters calls virAdmConnectGetLoggingFilters using its raw C ABI contract.
func (*RawAPI) VirAdmConnectGetLoggingOutputs ¶
func (raw *RawAPI) VirAdmConnectGetLoggingOutputs(conn unsafe.Pointer, outputs *unsafe.Pointer, flags uint32) (int32, error)
VirAdmConnectGetLoggingOutputs calls virAdmConnectGetLoggingOutputs using its raw C ABI contract.
func (*RawAPI) VirAdmConnectGetURI ¶
VirAdmConnectGetURI calls virAdmConnectGetURI using its raw C ABI contract.
func (*RawAPI) VirAdmConnectIsAlive ¶
VirAdmConnectIsAlive calls virAdmConnectIsAlive using its raw C ABI contract.
func (*RawAPI) VirAdmConnectListServers ¶
func (raw *RawAPI) VirAdmConnectListServers(conn unsafe.Pointer, servers *unsafe.Pointer, flags uint32) (int32, error)
VirAdmConnectListServers calls virAdmConnectListServers using its raw C ABI contract.
func (*RawAPI) VirAdmConnectLookupServer ¶
func (raw *RawAPI) VirAdmConnectLookupServer(conn unsafe.Pointer, name *byte, flags uint32) (unsafe.Pointer, error)
VirAdmConnectLookupServer calls virAdmConnectLookupServer using its raw C ABI contract.
func (*RawAPI) VirAdmConnectOpen ¶
VirAdmConnectOpen calls virAdmConnectOpen using its raw C ABI contract.
func (*RawAPI) VirAdmConnectRef ¶
VirAdmConnectRef calls virAdmConnectRef using its raw C ABI contract.
func (*RawAPI) VirAdmConnectRegisterCloseCallback ¶
func (raw *RawAPI) VirAdmConnectRegisterCloseCallback(conn unsafe.Pointer, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirAdmConnectRegisterCloseCallback calls virAdmConnectRegisterCloseCallback using its raw C ABI contract.
func (*RawAPI) VirAdmConnectSetDaemonTimeout ¶
func (raw *RawAPI) VirAdmConnectSetDaemonTimeout(conn unsafe.Pointer, timeout uint32, flags uint32) (int32, error)
VirAdmConnectSetDaemonTimeout calls virAdmConnectSetDaemonTimeout using its raw C ABI contract.
func (*RawAPI) VirAdmConnectSetLoggingFilters ¶
func (raw *RawAPI) VirAdmConnectSetLoggingFilters(conn unsafe.Pointer, filters *byte, flags uint32) (int32, error)
VirAdmConnectSetLoggingFilters calls virAdmConnectSetLoggingFilters using its raw C ABI contract.
func (*RawAPI) VirAdmConnectSetLoggingOutputs ¶
func (raw *RawAPI) VirAdmConnectSetLoggingOutputs(conn unsafe.Pointer, outputs *byte, flags uint32) (int32, error)
VirAdmConnectSetLoggingOutputs calls virAdmConnectSetLoggingOutputs using its raw C ABI contract.
func (*RawAPI) VirAdmConnectUnregisterCloseCallback ¶
func (raw *RawAPI) VirAdmConnectUnregisterCloseCallback(conn unsafe.Pointer, cb uintptr) (int32, error)
VirAdmConnectUnregisterCloseCallback calls virAdmConnectUnregisterCloseCallback using its raw C ABI contract.
func (*RawAPI) VirAdmGetVersion ¶
VirAdmGetVersion calls virAdmGetVersion using its raw C ABI contract.
func (*RawAPI) VirAdmInitialize ¶
VirAdmInitialize calls virAdmInitialize using its raw C ABI contract.
func (*RawAPI) VirAdmServerFree ¶
VirAdmServerFree calls virAdmServerFree using its raw C ABI contract.
func (*RawAPI) VirAdmServerGetClientLimits ¶
func (raw *RawAPI) VirAdmServerGetClientLimits(srv unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirAdmServerGetClientLimits calls virAdmServerGetClientLimits using its raw C ABI contract.
func (*RawAPI) VirAdmServerGetName ¶
VirAdmServerGetName calls virAdmServerGetName using its raw C ABI contract.
func (*RawAPI) VirAdmServerGetThreadPoolParameters ¶
func (raw *RawAPI) VirAdmServerGetThreadPoolParameters(srv unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirAdmServerGetThreadPoolParameters calls virAdmServerGetThreadPoolParameters using its raw C ABI contract.
func (*RawAPI) VirAdmServerListClients ¶
func (raw *RawAPI) VirAdmServerListClients(srv unsafe.Pointer, clients *unsafe.Pointer, flags uint32) (int32, error)
VirAdmServerListClients calls virAdmServerListClients using its raw C ABI contract.
func (*RawAPI) VirAdmServerLookupClient ¶
func (raw *RawAPI) VirAdmServerLookupClient(srv unsafe.Pointer, id uint64, flags uint32) (unsafe.Pointer, error)
VirAdmServerLookupClient calls virAdmServerLookupClient using its raw C ABI contract.
func (*RawAPI) VirAdmServerSetClientLimits ¶
func (raw *RawAPI) VirAdmServerSetClientLimits(srv unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirAdmServerSetClientLimits calls virAdmServerSetClientLimits using its raw C ABI contract.
func (*RawAPI) VirAdmServerSetThreadPoolParameters ¶
func (raw *RawAPI) VirAdmServerSetThreadPoolParameters(srv unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirAdmServerSetThreadPoolParameters calls virAdmServerSetThreadPoolParameters using its raw C ABI contract.
func (*RawAPI) VirAdmServerUpdateTlsFiles ¶
VirAdmServerUpdateTlsFiles calls virAdmServerUpdateTlsFiles using its raw C ABI contract.
func (*RawAPI) VirConnCopyLastError ¶
VirConnCopyLastError calls virConnCopyLastError using its raw C ABI contract.
func (*RawAPI) VirConnGetLastError ¶
VirConnGetLastError calls virConnGetLastError using its raw C ABI contract.
func (*RawAPI) VirConnResetLastError ¶
VirConnResetLastError calls virConnResetLastError using its raw C ABI contract.
func (*RawAPI) VirConnSetErrorFunc ¶
func (raw *RawAPI) VirConnSetErrorFunc(conn unsafe.Pointer, userData unsafe.Pointer, handler uintptr) error
VirConnSetErrorFunc calls virConnSetErrorFunc using its raw C ABI contract.
func (*RawAPI) VirConnectBaselineCPU ¶
func (raw *RawAPI) VirConnectBaselineCPU(conn unsafe.Pointer, xmlCPUs *unsafe.Pointer, ncpus uint32, flags uint32) (unsafe.Pointer, error)
VirConnectBaselineCPU calls virConnectBaselineCPU using its raw C ABI contract.
func (*RawAPI) VirConnectBaselineHypervisorCPU ¶
func (raw *RawAPI) VirConnectBaselineHypervisorCPU(conn unsafe.Pointer, emulator *byte, arch *byte, machine *byte, virttype *byte, xmlCPUs *unsafe.Pointer, ncpus uint32, flags uint32) (unsafe.Pointer, error)
VirConnectBaselineHypervisorCPU calls virConnectBaselineHypervisorCPU using its raw C ABI contract.
func (*RawAPI) VirConnectClose ¶
VirConnectClose calls virConnectClose using its raw C ABI contract.
func (*RawAPI) VirConnectCompareCPU ¶
func (raw *RawAPI) VirConnectCompareCPU(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (int32, error)
VirConnectCompareCPU calls virConnectCompareCPU using its raw C ABI contract.
func (*RawAPI) VirConnectCompareHypervisorCPU ¶
func (raw *RawAPI) VirConnectCompareHypervisorCPU(conn unsafe.Pointer, emulator *byte, arch *byte, machine *byte, virttype *byte, xmlCPU *byte, flags uint32) (int32, error)
VirConnectCompareHypervisorCPU calls virConnectCompareHypervisorCPU using its raw C ABI contract.
func (*RawAPI) VirConnectDomainEventDeregister ¶
VirConnectDomainEventDeregister calls virConnectDomainEventDeregister using its raw C ABI contract.
func (*RawAPI) VirConnectDomainEventDeregisterAny ¶
func (raw *RawAPI) VirConnectDomainEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
VirConnectDomainEventDeregisterAny calls virConnectDomainEventDeregisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectDomainEventRegister ¶
func (raw *RawAPI) VirConnectDomainEventRegister(conn unsafe.Pointer, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectDomainEventRegister calls virConnectDomainEventRegister using its raw C ABI contract.
func (*RawAPI) VirConnectDomainEventRegisterAny ¶
func (raw *RawAPI) VirConnectDomainEventRegisterAny(conn unsafe.Pointer, dom unsafe.Pointer, eventID int32, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectDomainEventRegisterAny calls virConnectDomainEventRegisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectDomainQemuMonitorEventDeregister ¶
func (raw *RawAPI) VirConnectDomainQemuMonitorEventDeregister(conn unsafe.Pointer, callbackID int32) (int32, error)
VirConnectDomainQemuMonitorEventDeregister calls virConnectDomainQemuMonitorEventDeregister using its raw C ABI contract.
func (*RawAPI) VirConnectDomainQemuMonitorEventRegister ¶
func (raw *RawAPI) VirConnectDomainQemuMonitorEventRegister(conn unsafe.Pointer, dom unsafe.Pointer, event *byte, cb uintptr, opaque unsafe.Pointer, freecb uintptr, flags uint32) (int32, error)
VirConnectDomainQemuMonitorEventRegister calls virConnectDomainQemuMonitorEventRegister using its raw C ABI contract.
func (*RawAPI) VirConnectDomainXMLFromNative ¶
func (raw *RawAPI) VirConnectDomainXMLFromNative(conn unsafe.Pointer, nativeFormat *byte, nativeConfig *byte, flags uint32) (unsafe.Pointer, error)
VirConnectDomainXMLFromNative calls virConnectDomainXMLFromNative using its raw C ABI contract.
func (*RawAPI) VirConnectDomainXMLToNative ¶
func (raw *RawAPI) VirConnectDomainXMLToNative(conn unsafe.Pointer, nativeFormat *byte, domainXml *byte, flags uint32) (unsafe.Pointer, error)
VirConnectDomainXMLToNative calls virConnectDomainXMLToNative using its raw C ABI contract.
func (*RawAPI) VirConnectFindStoragePoolSources ¶
func (raw *RawAPI) VirConnectFindStoragePoolSources(conn unsafe.Pointer, type_ *byte, srcSpec *byte, flags uint32) (unsafe.Pointer, error)
VirConnectFindStoragePoolSources calls virConnectFindStoragePoolSources using its raw C ABI contract.
func (*RawAPI) VirConnectGetAllDomainStats ¶
func (raw *RawAPI) VirConnectGetAllDomainStats(conn unsafe.Pointer, stats uint32, retStats *unsafe.Pointer, flags uint32) (int32, error)
VirConnectGetAllDomainStats calls virConnectGetAllDomainStats using its raw C ABI contract.
func (*RawAPI) VirConnectGetCPUModelNames ¶
func (raw *RawAPI) VirConnectGetCPUModelNames(conn unsafe.Pointer, arch *byte, models *unsafe.Pointer, flags uint32) (int32, error)
VirConnectGetCPUModelNames calls virConnectGetCPUModelNames using its raw C ABI contract.
func (*RawAPI) VirConnectGetCapabilities ¶
VirConnectGetCapabilities calls virConnectGetCapabilities using its raw C ABI contract.
func (*RawAPI) VirConnectGetDomainCapabilities ¶
func (raw *RawAPI) VirConnectGetDomainCapabilities(conn unsafe.Pointer, emulatorbin *byte, arch *byte, machine *byte, virttype *byte, flags uint32) (unsafe.Pointer, error)
VirConnectGetDomainCapabilities calls virConnectGetDomainCapabilities using its raw C ABI contract.
func (*RawAPI) VirConnectGetHostname ¶
VirConnectGetHostname calls virConnectGetHostname using its raw C ABI contract.
func (*RawAPI) VirConnectGetLibVersion ¶
VirConnectGetLibVersion calls virConnectGetLibVersion using its raw C ABI contract.
func (*RawAPI) VirConnectGetMaxVcpus ¶
VirConnectGetMaxVcpus calls virConnectGetMaxVcpus using its raw C ABI contract.
func (*RawAPI) VirConnectGetStoragePoolCapabilities ¶
func (raw *RawAPI) VirConnectGetStoragePoolCapabilities(conn unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirConnectGetStoragePoolCapabilities calls virConnectGetStoragePoolCapabilities using its raw C ABI contract.
func (*RawAPI) VirConnectGetSysinfo ¶
VirConnectGetSysinfo calls virConnectGetSysinfo using its raw C ABI contract.
func (*RawAPI) VirConnectGetType ¶
VirConnectGetType calls virConnectGetType using its raw C ABI contract.
func (*RawAPI) VirConnectGetURI ¶
VirConnectGetURI calls virConnectGetURI using its raw C ABI contract.
func (*RawAPI) VirConnectGetVersion ¶
VirConnectGetVersion calls virConnectGetVersion using its raw C ABI contract.
func (*RawAPI) VirConnectIsAlive ¶
VirConnectIsAlive calls virConnectIsAlive using its raw C ABI contract.
func (*RawAPI) VirConnectIsEncrypted ¶
VirConnectIsEncrypted calls virConnectIsEncrypted using its raw C ABI contract.
func (*RawAPI) VirConnectIsSecure ¶
VirConnectIsSecure calls virConnectIsSecure using its raw C ABI contract.
func (*RawAPI) VirConnectListAllDomains ¶
func (raw *RawAPI) VirConnectListAllDomains(conn unsafe.Pointer, domains *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllDomains calls virConnectListAllDomains using its raw C ABI contract.
func (*RawAPI) VirConnectListAllInterfaces ¶
func (raw *RawAPI) VirConnectListAllInterfaces(conn unsafe.Pointer, ifaces *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllInterfaces calls virConnectListAllInterfaces using its raw C ABI contract.
func (*RawAPI) VirConnectListAllNWFilterBindings ¶
func (raw *RawAPI) VirConnectListAllNWFilterBindings(conn unsafe.Pointer, bindings *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllNWFilterBindings calls virConnectListAllNWFilterBindings using its raw C ABI contract.
func (*RawAPI) VirConnectListAllNWFilters ¶
func (raw *RawAPI) VirConnectListAllNWFilters(conn unsafe.Pointer, filters *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllNWFilters calls virConnectListAllNWFilters using its raw C ABI contract.
func (*RawAPI) VirConnectListAllNetworks ¶
func (raw *RawAPI) VirConnectListAllNetworks(conn unsafe.Pointer, nets *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllNetworks calls virConnectListAllNetworks using its raw C ABI contract.
func (*RawAPI) VirConnectListAllNodeDevices ¶
func (raw *RawAPI) VirConnectListAllNodeDevices(conn unsafe.Pointer, devices *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllNodeDevices calls virConnectListAllNodeDevices using its raw C ABI contract.
func (*RawAPI) VirConnectListAllSecrets ¶
func (raw *RawAPI) VirConnectListAllSecrets(conn unsafe.Pointer, secrets *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllSecrets calls virConnectListAllSecrets using its raw C ABI contract.
func (*RawAPI) VirConnectListAllStoragePools ¶
func (raw *RawAPI) VirConnectListAllStoragePools(conn unsafe.Pointer, pools *unsafe.Pointer, flags uint32) (int32, error)
VirConnectListAllStoragePools calls virConnectListAllStoragePools using its raw C ABI contract.
func (*RawAPI) VirConnectListDefinedDomains ¶
func (raw *RawAPI) VirConnectListDefinedDomains(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListDefinedDomains calls virConnectListDefinedDomains using its raw C ABI contract.
func (*RawAPI) VirConnectListDefinedInterfaces ¶
func (raw *RawAPI) VirConnectListDefinedInterfaces(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListDefinedInterfaces calls virConnectListDefinedInterfaces using its raw C ABI contract.
func (*RawAPI) VirConnectListDefinedNetworks ¶
func (raw *RawAPI) VirConnectListDefinedNetworks(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListDefinedNetworks calls virConnectListDefinedNetworks using its raw C ABI contract.
func (*RawAPI) VirConnectListDefinedStoragePools ¶
func (raw *RawAPI) VirConnectListDefinedStoragePools(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListDefinedStoragePools calls virConnectListDefinedStoragePools using its raw C ABI contract.
func (*RawAPI) VirConnectListDomains ¶
func (raw *RawAPI) VirConnectListDomains(conn unsafe.Pointer, ids *int32, maxids int32) (int32, error)
VirConnectListDomains calls virConnectListDomains using its raw C ABI contract.
func (*RawAPI) VirConnectListInterfaces ¶
func (raw *RawAPI) VirConnectListInterfaces(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListInterfaces calls virConnectListInterfaces using its raw C ABI contract.
func (*RawAPI) VirConnectListNWFilters ¶
func (raw *RawAPI) VirConnectListNWFilters(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListNWFilters calls virConnectListNWFilters using its raw C ABI contract.
func (*RawAPI) VirConnectListNetworks ¶
func (raw *RawAPI) VirConnectListNetworks(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListNetworks calls virConnectListNetworks using its raw C ABI contract.
func (*RawAPI) VirConnectListSecrets ¶
func (raw *RawAPI) VirConnectListSecrets(conn unsafe.Pointer, uuids *unsafe.Pointer, maxuuids int32) (int32, error)
VirConnectListSecrets calls virConnectListSecrets using its raw C ABI contract.
func (*RawAPI) VirConnectListStoragePools ¶
func (raw *RawAPI) VirConnectListStoragePools(conn unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirConnectListStoragePools calls virConnectListStoragePools using its raw C ABI contract.
func (*RawAPI) VirConnectNetworkEventDeregisterAny ¶
func (raw *RawAPI) VirConnectNetworkEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
VirConnectNetworkEventDeregisterAny calls virConnectNetworkEventDeregisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectNetworkEventRegisterAny ¶
func (raw *RawAPI) VirConnectNetworkEventRegisterAny(conn unsafe.Pointer, net unsafe.Pointer, eventID int32, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectNetworkEventRegisterAny calls virConnectNetworkEventRegisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectNodeDeviceEventDeregisterAny ¶
func (raw *RawAPI) VirConnectNodeDeviceEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
VirConnectNodeDeviceEventDeregisterAny calls virConnectNodeDeviceEventDeregisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectNodeDeviceEventRegisterAny ¶
func (raw *RawAPI) VirConnectNodeDeviceEventRegisterAny(conn unsafe.Pointer, dev unsafe.Pointer, eventID int32, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectNodeDeviceEventRegisterAny calls virConnectNodeDeviceEventRegisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfDefinedDomains ¶
VirConnectNumOfDefinedDomains calls virConnectNumOfDefinedDomains using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfDefinedInterfaces ¶
VirConnectNumOfDefinedInterfaces calls virConnectNumOfDefinedInterfaces using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfDefinedNetworks ¶
VirConnectNumOfDefinedNetworks calls virConnectNumOfDefinedNetworks using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfDefinedStoragePools ¶
VirConnectNumOfDefinedStoragePools calls virConnectNumOfDefinedStoragePools using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfDomains ¶
VirConnectNumOfDomains calls virConnectNumOfDomains using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfInterfaces ¶
VirConnectNumOfInterfaces calls virConnectNumOfInterfaces using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfNWFilters ¶
VirConnectNumOfNWFilters calls virConnectNumOfNWFilters using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfNetworks ¶
VirConnectNumOfNetworks calls virConnectNumOfNetworks using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfSecrets ¶
VirConnectNumOfSecrets calls virConnectNumOfSecrets using its raw C ABI contract.
func (*RawAPI) VirConnectNumOfStoragePools ¶
VirConnectNumOfStoragePools calls virConnectNumOfStoragePools using its raw C ABI contract.
func (*RawAPI) VirConnectOpen ¶
VirConnectOpen calls virConnectOpen using its raw C ABI contract.
func (*RawAPI) VirConnectOpenAuth ¶
func (raw *RawAPI) VirConnectOpenAuth(name *byte, auth unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirConnectOpenAuth calls virConnectOpenAuth using its raw C ABI contract.
func (*RawAPI) VirConnectOpenReadOnly ¶
VirConnectOpenReadOnly calls virConnectOpenReadOnly using its raw C ABI contract.
func (*RawAPI) VirConnectRef ¶
VirConnectRef calls virConnectRef using its raw C ABI contract.
func (*RawAPI) VirConnectRegisterCloseCallback ¶
func (raw *RawAPI) VirConnectRegisterCloseCallback(conn unsafe.Pointer, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectRegisterCloseCallback calls virConnectRegisterCloseCallback using its raw C ABI contract.
func (*RawAPI) VirConnectSecretEventDeregisterAny ¶
func (raw *RawAPI) VirConnectSecretEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
VirConnectSecretEventDeregisterAny calls virConnectSecretEventDeregisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectSecretEventRegisterAny ¶
func (raw *RawAPI) VirConnectSecretEventRegisterAny(conn unsafe.Pointer, secret unsafe.Pointer, eventID int32, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectSecretEventRegisterAny calls virConnectSecretEventRegisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectSetIdentity ¶
func (raw *RawAPI) VirConnectSetIdentity(conn unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirConnectSetIdentity calls virConnectSetIdentity using its raw C ABI contract.
func (*RawAPI) VirConnectSetKeepAlive ¶
func (raw *RawAPI) VirConnectSetKeepAlive(conn unsafe.Pointer, interval int32, count uint32) (int32, error)
VirConnectSetKeepAlive calls virConnectSetKeepAlive using its raw C ABI contract.
func (*RawAPI) VirConnectStoragePoolEventDeregisterAny ¶
func (raw *RawAPI) VirConnectStoragePoolEventDeregisterAny(conn unsafe.Pointer, callbackID int32) (int32, error)
VirConnectStoragePoolEventDeregisterAny calls virConnectStoragePoolEventDeregisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectStoragePoolEventRegisterAny ¶
func (raw *RawAPI) VirConnectStoragePoolEventRegisterAny(conn unsafe.Pointer, pool unsafe.Pointer, eventID int32, cb uintptr, opaque unsafe.Pointer, freecb uintptr) (int32, error)
VirConnectStoragePoolEventRegisterAny calls virConnectStoragePoolEventRegisterAny using its raw C ABI contract.
func (*RawAPI) VirConnectUnregisterCloseCallback ¶
func (raw *RawAPI) VirConnectUnregisterCloseCallback(conn unsafe.Pointer, cb uintptr) (int32, error)
VirConnectUnregisterCloseCallback calls virConnectUnregisterCloseCallback using its raw C ABI contract.
func (*RawAPI) VirCopyLastError ¶
VirCopyLastError calls virCopyLastError using its raw C ABI contract.
func (*RawAPI) VirDefaultErrorFunc ¶
VirDefaultErrorFunc calls virDefaultErrorFunc using its raw C ABI contract.
func (*RawAPI) VirDomainAbortJob ¶
VirDomainAbortJob calls virDomainAbortJob using its raw C ABI contract.
func (*RawAPI) VirDomainAbortJobFlags ¶
VirDomainAbortJobFlags calls virDomainAbortJobFlags using its raw C ABI contract.
func (*RawAPI) VirDomainAddIOThread ¶
func (raw *RawAPI) VirDomainAddIOThread(domain unsafe.Pointer, iothread_id uint32, flags uint32) (int32, error)
VirDomainAddIOThread calls virDomainAddIOThread using its raw C ABI contract.
func (*RawAPI) VirDomainAgentSetResponseTimeout ¶
func (raw *RawAPI) VirDomainAgentSetResponseTimeout(domain unsafe.Pointer, timeout int32, flags uint32) (int32, error)
VirDomainAgentSetResponseTimeout calls virDomainAgentSetResponseTimeout using its raw C ABI contract.
func (*RawAPI) VirDomainAnnounceInterface ¶
func (raw *RawAPI) VirDomainAnnounceInterface(dom unsafe.Pointer, device *byte, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainAnnounceInterface calls virDomainAnnounceInterface using its raw C ABI contract.
func (*RawAPI) VirDomainAttachDevice ¶
VirDomainAttachDevice calls virDomainAttachDevice using its raw C ABI contract.
func (*RawAPI) VirDomainAttachDeviceFlags ¶
func (raw *RawAPI) VirDomainAttachDeviceFlags(domain unsafe.Pointer, xml *byte, flags uint32) (int32, error)
VirDomainAttachDeviceFlags calls virDomainAttachDeviceFlags using its raw C ABI contract.
func (*RawAPI) VirDomainAuthorizedSSHKeysGet ¶
func (raw *RawAPI) VirDomainAuthorizedSSHKeysGet(domain unsafe.Pointer, user *byte, keys *unsafe.Pointer, flags uint32) (int32, error)
VirDomainAuthorizedSSHKeysGet calls virDomainAuthorizedSSHKeysGet using its raw C ABI contract.
func (*RawAPI) VirDomainAuthorizedSSHKeysSet ¶
func (raw *RawAPI) VirDomainAuthorizedSSHKeysSet(domain unsafe.Pointer, user *byte, keys *unsafe.Pointer, nkeys uint32, flags uint32) (int32, error)
VirDomainAuthorizedSSHKeysSet calls virDomainAuthorizedSSHKeysSet using its raw C ABI contract.
func (*RawAPI) VirDomainBackupBegin ¶
func (raw *RawAPI) VirDomainBackupBegin(domain unsafe.Pointer, backupXML *byte, checkpointXML *byte, flags uint32) (int32, error)
VirDomainBackupBegin calls virDomainBackupBegin using its raw C ABI contract.
func (*RawAPI) VirDomainBackupGetXMLDesc ¶
func (raw *RawAPI) VirDomainBackupGetXMLDesc(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainBackupGetXMLDesc calls virDomainBackupGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirDomainBlockCommit ¶
func (raw *RawAPI) VirDomainBlockCommit(dom unsafe.Pointer, disk *byte, base *byte, top *byte, bandwidth uintptr, flags uint32) (int32, error)
VirDomainBlockCommit calls virDomainBlockCommit using its raw C ABI contract.
func (*RawAPI) VirDomainBlockCopy ¶
func (raw *RawAPI) VirDomainBlockCopy(dom unsafe.Pointer, disk *byte, destxml *byte, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainBlockCopy calls virDomainBlockCopy using its raw C ABI contract.
func (*RawAPI) VirDomainBlockJobAbort ¶
func (raw *RawAPI) VirDomainBlockJobAbort(dom unsafe.Pointer, disk *byte, flags uint32) (int32, error)
VirDomainBlockJobAbort calls virDomainBlockJobAbort using its raw C ABI contract.
func (*RawAPI) VirDomainBlockJobSetSpeed ¶
func (raw *RawAPI) VirDomainBlockJobSetSpeed(dom unsafe.Pointer, disk *byte, bandwidth uintptr, flags uint32) (int32, error)
VirDomainBlockJobSetSpeed calls virDomainBlockJobSetSpeed using its raw C ABI contract.
func (*RawAPI) VirDomainBlockPeek ¶
func (raw *RawAPI) VirDomainBlockPeek(dom unsafe.Pointer, disk *byte, offset uint64, size uintptr, buffer unsafe.Pointer, flags uint32) (int32, error)
VirDomainBlockPeek calls virDomainBlockPeek using its raw C ABI contract.
func (*RawAPI) VirDomainBlockPull ¶
func (raw *RawAPI) VirDomainBlockPull(dom unsafe.Pointer, disk *byte, bandwidth uintptr, flags uint32) (int32, error)
VirDomainBlockPull calls virDomainBlockPull using its raw C ABI contract.
func (*RawAPI) VirDomainBlockRebase ¶
func (raw *RawAPI) VirDomainBlockRebase(dom unsafe.Pointer, disk *byte, base *byte, bandwidth uintptr, flags uint32) (int32, error)
VirDomainBlockRebase calls virDomainBlockRebase using its raw C ABI contract.
func (*RawAPI) VirDomainBlockResize ¶
func (raw *RawAPI) VirDomainBlockResize(dom unsafe.Pointer, disk *byte, size uint64, flags uint32) (int32, error)
VirDomainBlockResize calls virDomainBlockResize using its raw C ABI contract.
func (*RawAPI) VirDomainBlockStats ¶
func (raw *RawAPI) VirDomainBlockStats(dom unsafe.Pointer, disk *byte, stats unsafe.Pointer, size uintptr) (int32, error)
VirDomainBlockStats calls virDomainBlockStats using its raw C ABI contract.
func (*RawAPI) VirDomainBlockStatsFlags ¶
func (raw *RawAPI) VirDomainBlockStatsFlags(dom unsafe.Pointer, disk *byte, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainBlockStatsFlags calls virDomainBlockStatsFlags using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointCreateXML ¶
func (raw *RawAPI) VirDomainCheckpointCreateXML(domain unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirDomainCheckpointCreateXML calls virDomainCheckpointCreateXML using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointDelete ¶
func (raw *RawAPI) VirDomainCheckpointDelete(checkpoint unsafe.Pointer, flags uint32) (int32, error)
VirDomainCheckpointDelete calls virDomainCheckpointDelete using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointFree ¶
VirDomainCheckpointFree calls virDomainCheckpointFree using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointGetConnect ¶
VirDomainCheckpointGetConnect calls virDomainCheckpointGetConnect using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointGetDomain ¶
VirDomainCheckpointGetDomain calls virDomainCheckpointGetDomain using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointGetName ¶
VirDomainCheckpointGetName calls virDomainCheckpointGetName using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointGetParent ¶
func (raw *RawAPI) VirDomainCheckpointGetParent(checkpoint unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainCheckpointGetParent calls virDomainCheckpointGetParent using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointGetXMLDesc ¶
func (raw *RawAPI) VirDomainCheckpointGetXMLDesc(checkpoint unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainCheckpointGetXMLDesc calls virDomainCheckpointGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointListAllChildren ¶
func (raw *RawAPI) VirDomainCheckpointListAllChildren(checkpoint unsafe.Pointer, children *unsafe.Pointer, flags uint32) (int32, error)
VirDomainCheckpointListAllChildren calls virDomainCheckpointListAllChildren using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointLookupByName ¶
func (raw *RawAPI) VirDomainCheckpointLookupByName(domain unsafe.Pointer, name *byte, flags uint32) (unsafe.Pointer, error)
VirDomainCheckpointLookupByName calls virDomainCheckpointLookupByName using its raw C ABI contract.
func (*RawAPI) VirDomainCheckpointRef ¶
VirDomainCheckpointRef calls virDomainCheckpointRef using its raw C ABI contract.
func (*RawAPI) VirDomainCoreDump ¶
VirDomainCoreDump calls virDomainCoreDump using its raw C ABI contract.
func (*RawAPI) VirDomainCoreDumpWithFormat ¶
func (raw *RawAPI) VirDomainCoreDumpWithFormat(domain unsafe.Pointer, to *byte, dumpformat uint32, flags uint32) (int32, error)
VirDomainCoreDumpWithFormat calls virDomainCoreDumpWithFormat using its raw C ABI contract.
func (*RawAPI) VirDomainCreate ¶
VirDomainCreate calls virDomainCreate using its raw C ABI contract.
func (*RawAPI) VirDomainCreateLinux ¶
func (raw *RawAPI) VirDomainCreateLinux(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirDomainCreateLinux calls virDomainCreateLinux using its raw C ABI contract.
func (*RawAPI) VirDomainCreateWithFiles ¶
func (raw *RawAPI) VirDomainCreateWithFiles(domain unsafe.Pointer, nfiles uint32, files *int32, flags uint32) (int32, error)
VirDomainCreateWithFiles calls virDomainCreateWithFiles using its raw C ABI contract.
func (*RawAPI) VirDomainCreateWithFlags ¶
VirDomainCreateWithFlags calls virDomainCreateWithFlags using its raw C ABI contract.
func (*RawAPI) VirDomainCreateXML ¶
func (raw *RawAPI) VirDomainCreateXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirDomainCreateXML calls virDomainCreateXML using its raw C ABI contract.
func (*RawAPI) VirDomainCreateXMLWithFiles ¶
func (raw *RawAPI) VirDomainCreateXMLWithFiles(conn unsafe.Pointer, xmlDesc *byte, nfiles uint32, files *int32, flags uint32) (unsafe.Pointer, error)
VirDomainCreateXMLWithFiles calls virDomainCreateXMLWithFiles using its raw C ABI contract.
func (*RawAPI) VirDomainDefineXML ¶
VirDomainDefineXML calls virDomainDefineXML using its raw C ABI contract.
func (*RawAPI) VirDomainDefineXMLFlags ¶
func (raw *RawAPI) VirDomainDefineXMLFlags(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
VirDomainDefineXMLFlags calls virDomainDefineXMLFlags using its raw C ABI contract.
func (*RawAPI) VirDomainDelIOThread ¶
func (raw *RawAPI) VirDomainDelIOThread(domain unsafe.Pointer, iothread_id uint32, flags uint32) (int32, error)
VirDomainDelIOThread calls virDomainDelIOThread using its raw C ABI contract.
func (*RawAPI) VirDomainDelThrottleGroup ¶
func (raw *RawAPI) VirDomainDelThrottleGroup(dom unsafe.Pointer, group *byte, flags uint32) (int32, error)
VirDomainDelThrottleGroup calls virDomainDelThrottleGroup using its raw C ABI contract.
func (*RawAPI) VirDomainDestroy ¶
VirDomainDestroy calls virDomainDestroy using its raw C ABI contract.
func (*RawAPI) VirDomainDestroyFlags ¶
VirDomainDestroyFlags calls virDomainDestroyFlags using its raw C ABI contract.
func (*RawAPI) VirDomainDetachDevice ¶
VirDomainDetachDevice calls virDomainDetachDevice using its raw C ABI contract.
func (*RawAPI) VirDomainDetachDeviceAlias ¶
func (raw *RawAPI) VirDomainDetachDeviceAlias(domain unsafe.Pointer, alias *byte, flags uint32) (int32, error)
VirDomainDetachDeviceAlias calls virDomainDetachDeviceAlias using its raw C ABI contract.
func (*RawAPI) VirDomainDetachDeviceFlags ¶
func (raw *RawAPI) VirDomainDetachDeviceFlags(domain unsafe.Pointer, xml *byte, flags uint32) (int32, error)
VirDomainDetachDeviceFlags calls virDomainDetachDeviceFlags using its raw C ABI contract.
func (*RawAPI) VirDomainFDAssociate ¶
func (raw *RawAPI) VirDomainFDAssociate(domain unsafe.Pointer, name *byte, nfds uint32, fds *int32, flags uint32) (int32, error)
VirDomainFDAssociate calls virDomainFDAssociate using its raw C ABI contract.
func (*RawAPI) VirDomainFSFreeze ¶
func (raw *RawAPI) VirDomainFSFreeze(dom unsafe.Pointer, mountpoints *unsafe.Pointer, nmountpoints uint32, flags uint32) (int32, error)
VirDomainFSFreeze calls virDomainFSFreeze using its raw C ABI contract.
func (*RawAPI) VirDomainFSInfoFree ¶
VirDomainFSInfoFree calls virDomainFSInfoFree using its raw C ABI contract.
func (*RawAPI) VirDomainFSThaw ¶
func (raw *RawAPI) VirDomainFSThaw(dom unsafe.Pointer, mountpoints *unsafe.Pointer, nmountpoints uint32, flags uint32) (int32, error)
VirDomainFSThaw calls virDomainFSThaw using its raw C ABI contract.
func (*RawAPI) VirDomainFSTrim ¶
func (raw *RawAPI) VirDomainFSTrim(dom unsafe.Pointer, mountPoint *byte, minimum uint64, flags uint32) (int32, error)
VirDomainFSTrim calls virDomainFSTrim using its raw C ABI contract.
func (*RawAPI) VirDomainFree ¶
VirDomainFree calls virDomainFree using its raw C ABI contract.
func (*RawAPI) VirDomainGetAutostart ¶
VirDomainGetAutostart calls virDomainGetAutostart using its raw C ABI contract.
func (*RawAPI) VirDomainGetAutostartOnce ¶
func (raw *RawAPI) VirDomainGetAutostartOnce(domain unsafe.Pointer, autostart *int32) (int32, error)
VirDomainGetAutostartOnce calls virDomainGetAutostartOnce using its raw C ABI contract.
func (*RawAPI) VirDomainGetBlkioParameters ¶
func (raw *RawAPI) VirDomainGetBlkioParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetBlkioParameters calls virDomainGetBlkioParameters using its raw C ABI contract.
func (*RawAPI) VirDomainGetBlockInfo ¶
func (raw *RawAPI) VirDomainGetBlockInfo(domain unsafe.Pointer, disk *byte, info unsafe.Pointer, flags uint32) (int32, error)
VirDomainGetBlockInfo calls virDomainGetBlockInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetBlockIoTune ¶
func (raw *RawAPI) VirDomainGetBlockIoTune(dom unsafe.Pointer, disk *byte, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetBlockIoTune calls virDomainGetBlockIoTune using its raw C ABI contract.
func (*RawAPI) VirDomainGetBlockJobInfo ¶
func (raw *RawAPI) VirDomainGetBlockJobInfo(dom unsafe.Pointer, disk *byte, info unsafe.Pointer, flags uint32) (int32, error)
VirDomainGetBlockJobInfo calls virDomainGetBlockJobInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetCPUStats ¶
func (raw *RawAPI) VirDomainGetCPUStats(domain unsafe.Pointer, params unsafe.Pointer, nparams uint32, start_cpu int32, ncpus uint32, flags uint32) (int32, error)
VirDomainGetCPUStats calls virDomainGetCPUStats using its raw C ABI contract.
func (*RawAPI) VirDomainGetConnect ¶
VirDomainGetConnect calls virDomainGetConnect using its raw C ABI contract.
func (*RawAPI) VirDomainGetControlInfo ¶
func (raw *RawAPI) VirDomainGetControlInfo(domain unsafe.Pointer, info unsafe.Pointer, flags uint32) (int32, error)
VirDomainGetControlInfo calls virDomainGetControlInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetDiskErrors ¶
func (raw *RawAPI) VirDomainGetDiskErrors(dom unsafe.Pointer, errors unsafe.Pointer, maxerrors uint32, flags uint32) (int32, error)
VirDomainGetDiskErrors calls virDomainGetDiskErrors using its raw C ABI contract.
func (*RawAPI) VirDomainGetEmulatorPinInfo ¶
func (raw *RawAPI) VirDomainGetEmulatorPinInfo(domain unsafe.Pointer, cpumap *byte, maplen int32, flags uint32) (int32, error)
VirDomainGetEmulatorPinInfo calls virDomainGetEmulatorPinInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetFSInfo ¶
func (raw *RawAPI) VirDomainGetFSInfo(dom unsafe.Pointer, info *unsafe.Pointer, flags uint32) (int32, error)
VirDomainGetFSInfo calls virDomainGetFSInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetGuestInfo ¶
func (raw *RawAPI) VirDomainGetGuestInfo(domain unsafe.Pointer, types uint32, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetGuestInfo calls virDomainGetGuestInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetGuestVcpus ¶
func (raw *RawAPI) VirDomainGetGuestVcpus(domain unsafe.Pointer, params *unsafe.Pointer, nparams *uint32, flags uint32) (int32, error)
VirDomainGetGuestVcpus calls virDomainGetGuestVcpus using its raw C ABI contract.
func (*RawAPI) VirDomainGetHostname ¶
func (raw *RawAPI) VirDomainGetHostname(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainGetHostname calls virDomainGetHostname using its raw C ABI contract.
func (*RawAPI) VirDomainGetID ¶
VirDomainGetID calls virDomainGetID using its raw C ABI contract.
func (*RawAPI) VirDomainGetIOThreadInfo ¶
func (raw *RawAPI) VirDomainGetIOThreadInfo(dom unsafe.Pointer, info *unsafe.Pointer, flags uint32) (int32, error)
VirDomainGetIOThreadInfo calls virDomainGetIOThreadInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetInfo ¶
VirDomainGetInfo calls virDomainGetInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetInterfaceParameters ¶
func (raw *RawAPI) VirDomainGetInterfaceParameters(domain unsafe.Pointer, device *byte, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetInterfaceParameters calls virDomainGetInterfaceParameters using its raw C ABI contract.
func (*RawAPI) VirDomainGetJobInfo ¶
VirDomainGetJobInfo calls virDomainGetJobInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetJobStats ¶
func (raw *RawAPI) VirDomainGetJobStats(domain unsafe.Pointer, type_ *int32, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetJobStats calls virDomainGetJobStats using its raw C ABI contract.
func (*RawAPI) VirDomainGetLaunchSecurityInfo ¶
func (raw *RawAPI) VirDomainGetLaunchSecurityInfo(domain unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetLaunchSecurityInfo calls virDomainGetLaunchSecurityInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetMaxMemory ¶
VirDomainGetMaxMemory calls virDomainGetMaxMemory using its raw C ABI contract.
func (*RawAPI) VirDomainGetMaxVcpus ¶
VirDomainGetMaxVcpus calls virDomainGetMaxVcpus using its raw C ABI contract.
func (*RawAPI) VirDomainGetMemoryParameters ¶
func (raw *RawAPI) VirDomainGetMemoryParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetMemoryParameters calls virDomainGetMemoryParameters using its raw C ABI contract.
func (*RawAPI) VirDomainGetMessages ¶
func (raw *RawAPI) VirDomainGetMessages(domain unsafe.Pointer, msgs *unsafe.Pointer, flags uint32) (int32, error)
VirDomainGetMessages calls virDomainGetMessages using its raw C ABI contract.
func (*RawAPI) VirDomainGetMetadata ¶
func (raw *RawAPI) VirDomainGetMetadata(domain unsafe.Pointer, type_ int32, uri *byte, flags uint32) (unsafe.Pointer, error)
VirDomainGetMetadata calls virDomainGetMetadata using its raw C ABI contract.
func (*RawAPI) VirDomainGetName ¶
VirDomainGetName calls virDomainGetName using its raw C ABI contract.
func (*RawAPI) VirDomainGetNumaParameters ¶
func (raw *RawAPI) VirDomainGetNumaParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetNumaParameters calls virDomainGetNumaParameters using its raw C ABI contract.
func (*RawAPI) VirDomainGetOSType ¶
VirDomainGetOSType calls virDomainGetOSType using its raw C ABI contract.
func (*RawAPI) VirDomainGetPerfEvents ¶
func (raw *RawAPI) VirDomainGetPerfEvents(domain unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetPerfEvents calls virDomainGetPerfEvents using its raw C ABI contract.
func (*RawAPI) VirDomainGetSchedulerParameters ¶
func (raw *RawAPI) VirDomainGetSchedulerParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32) (int32, error)
VirDomainGetSchedulerParameters calls virDomainGetSchedulerParameters using its raw C ABI contract.
func (*RawAPI) VirDomainGetSchedulerParametersFlags ¶
func (raw *RawAPI) VirDomainGetSchedulerParametersFlags(domain unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirDomainGetSchedulerParametersFlags calls virDomainGetSchedulerParametersFlags using its raw C ABI contract.
func (*RawAPI) VirDomainGetSchedulerType ¶
func (raw *RawAPI) VirDomainGetSchedulerType(domain unsafe.Pointer, nparams *int32) (unsafe.Pointer, error)
VirDomainGetSchedulerType calls virDomainGetSchedulerType using its raw C ABI contract.
func (*RawAPI) VirDomainGetSecurityLabel ¶
func (raw *RawAPI) VirDomainGetSecurityLabel(domain unsafe.Pointer, seclabel unsafe.Pointer) (int32, error)
VirDomainGetSecurityLabel calls virDomainGetSecurityLabel using its raw C ABI contract.
func (*RawAPI) VirDomainGetSecurityLabelList ¶
func (raw *RawAPI) VirDomainGetSecurityLabelList(domain unsafe.Pointer, seclabels *unsafe.Pointer) (int32, error)
VirDomainGetSecurityLabelList calls virDomainGetSecurityLabelList using its raw C ABI contract.
func (*RawAPI) VirDomainGetState ¶
func (raw *RawAPI) VirDomainGetState(domain unsafe.Pointer, state *int32, reason *int32, flags uint32) (int32, error)
VirDomainGetState calls virDomainGetState using its raw C ABI contract.
func (*RawAPI) VirDomainGetTime ¶
func (raw *RawAPI) VirDomainGetTime(dom unsafe.Pointer, seconds *int64, nseconds *uint32, flags uint32) (int32, error)
VirDomainGetTime calls virDomainGetTime using its raw C ABI contract.
func (*RawAPI) VirDomainGetUUID ¶
VirDomainGetUUID calls virDomainGetUUID using its raw C ABI contract.
func (*RawAPI) VirDomainGetUUIDString ¶
VirDomainGetUUIDString calls virDomainGetUUIDString using its raw C ABI contract.
func (*RawAPI) VirDomainGetVcpuPinInfo ¶
func (raw *RawAPI) VirDomainGetVcpuPinInfo(domain unsafe.Pointer, ncpumaps int32, cpumaps *byte, maplen int32, flags uint32) (int32, error)
VirDomainGetVcpuPinInfo calls virDomainGetVcpuPinInfo using its raw C ABI contract.
func (*RawAPI) VirDomainGetVcpus ¶
func (raw *RawAPI) VirDomainGetVcpus(domain unsafe.Pointer, info unsafe.Pointer, maxinfo int32, cpumaps *byte, maplen int32) (int32, error)
VirDomainGetVcpus calls virDomainGetVcpus using its raw C ABI contract.
func (*RawAPI) VirDomainGetVcpusFlags ¶
VirDomainGetVcpusFlags calls virDomainGetVcpusFlags using its raw C ABI contract.
func (*RawAPI) VirDomainGetXMLDesc ¶
VirDomainGetXMLDesc calls virDomainGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirDomainGraphicsReload ¶
func (raw *RawAPI) VirDomainGraphicsReload(domain unsafe.Pointer, type_ uint32, flags uint32) (int32, error)
VirDomainGraphicsReload calls virDomainGraphicsReload using its raw C ABI contract.
func (*RawAPI) VirDomainHasCurrentSnapshot ¶
VirDomainHasCurrentSnapshot calls virDomainHasCurrentSnapshot using its raw C ABI contract.
func (*RawAPI) VirDomainHasManagedSaveImage ¶
VirDomainHasManagedSaveImage calls virDomainHasManagedSaveImage using its raw C ABI contract.
func (*RawAPI) VirDomainIOThreadInfoFree ¶
VirDomainIOThreadInfoFree calls virDomainIOThreadInfoFree using its raw C ABI contract.
func (*RawAPI) VirDomainInjectNMI ¶
VirDomainInjectNMI calls virDomainInjectNMI using its raw C ABI contract.
func (*RawAPI) VirDomainInterfaceAddresses ¶
func (raw *RawAPI) VirDomainInterfaceAddresses(dom unsafe.Pointer, ifaces *unsafe.Pointer, source uint32, flags uint32) (int32, error)
VirDomainInterfaceAddresses calls virDomainInterfaceAddresses using its raw C ABI contract.
func (*RawAPI) VirDomainInterfaceFree ¶
VirDomainInterfaceFree calls virDomainInterfaceFree using its raw C ABI contract.
func (*RawAPI) VirDomainInterfaceStats ¶
func (raw *RawAPI) VirDomainInterfaceStats(dom unsafe.Pointer, device *byte, stats unsafe.Pointer, size uintptr) (int32, error)
VirDomainInterfaceStats calls virDomainInterfaceStats using its raw C ABI contract.
func (*RawAPI) VirDomainIsActive ¶
VirDomainIsActive calls virDomainIsActive using its raw C ABI contract.
func (*RawAPI) VirDomainIsPersistent ¶
VirDomainIsPersistent calls virDomainIsPersistent using its raw C ABI contract.
func (*RawAPI) VirDomainIsUpdated ¶
VirDomainIsUpdated calls virDomainIsUpdated using its raw C ABI contract.
func (*RawAPI) VirDomainListAllCheckpoints ¶
func (raw *RawAPI) VirDomainListAllCheckpoints(domain unsafe.Pointer, checkpoints *unsafe.Pointer, flags uint32) (int32, error)
VirDomainListAllCheckpoints calls virDomainListAllCheckpoints using its raw C ABI contract.
func (*RawAPI) VirDomainListAllSnapshots ¶
func (raw *RawAPI) VirDomainListAllSnapshots(domain unsafe.Pointer, snaps *unsafe.Pointer, flags uint32) (int32, error)
VirDomainListAllSnapshots calls virDomainListAllSnapshots using its raw C ABI contract.
func (*RawAPI) VirDomainListGetStats ¶
func (raw *RawAPI) VirDomainListGetStats(doms *unsafe.Pointer, stats uint32, retStats *unsafe.Pointer, flags uint32) (int32, error)
VirDomainListGetStats calls virDomainListGetStats using its raw C ABI contract.
func (*RawAPI) VirDomainLookupByID ¶
VirDomainLookupByID calls virDomainLookupByID using its raw C ABI contract.
func (*RawAPI) VirDomainLookupByName ¶
VirDomainLookupByName calls virDomainLookupByName using its raw C ABI contract.
func (*RawAPI) VirDomainLookupByUUID ¶
VirDomainLookupByUUID calls virDomainLookupByUUID using its raw C ABI contract.
func (*RawAPI) VirDomainLookupByUUIDString ¶
func (raw *RawAPI) VirDomainLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
VirDomainLookupByUUIDString calls virDomainLookupByUUIDString using its raw C ABI contract.
func (*RawAPI) VirDomainLxcEnterCGroup ¶
VirDomainLxcEnterCGroup calls virDomainLxcEnterCGroup using its raw C ABI contract.
func (*RawAPI) VirDomainLxcEnterNamespace ¶
func (raw *RawAPI) VirDomainLxcEnterNamespace(domain unsafe.Pointer, nfdlist uint32, fdlist *int32, noldfdlist *uint32, oldfdlist *unsafe.Pointer, flags uint32) (int32, error)
VirDomainLxcEnterNamespace calls virDomainLxcEnterNamespace using its raw C ABI contract.
func (*RawAPI) VirDomainLxcEnterSecurityLabel ¶
func (raw *RawAPI) VirDomainLxcEnterSecurityLabel(model unsafe.Pointer, label unsafe.Pointer, oldlabel unsafe.Pointer, flags uint32) (int32, error)
VirDomainLxcEnterSecurityLabel calls virDomainLxcEnterSecurityLabel using its raw C ABI contract.
func (*RawAPI) VirDomainLxcOpenNamespace ¶
func (raw *RawAPI) VirDomainLxcOpenNamespace(domain unsafe.Pointer, fdlist *unsafe.Pointer, flags uint32) (int32, error)
VirDomainLxcOpenNamespace calls virDomainLxcOpenNamespace using its raw C ABI contract.
func (*RawAPI) VirDomainManagedSave ¶
VirDomainManagedSave calls virDomainManagedSave using its raw C ABI contract.
func (*RawAPI) VirDomainManagedSaveDefineXML ¶
func (raw *RawAPI) VirDomainManagedSaveDefineXML(domain unsafe.Pointer, dxml *byte, flags uint32) (int32, error)
VirDomainManagedSaveDefineXML calls virDomainManagedSaveDefineXML using its raw C ABI contract.
func (*RawAPI) VirDomainManagedSaveGetXMLDesc ¶
func (raw *RawAPI) VirDomainManagedSaveGetXMLDesc(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainManagedSaveGetXMLDesc calls virDomainManagedSaveGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirDomainManagedSaveRemove ¶
VirDomainManagedSaveRemove calls virDomainManagedSaveRemove using its raw C ABI contract.
func (*RawAPI) VirDomainMemoryPeek ¶
func (raw *RawAPI) VirDomainMemoryPeek(dom unsafe.Pointer, start uint64, size uintptr, buffer unsafe.Pointer, flags uint32) (int32, error)
VirDomainMemoryPeek calls virDomainMemoryPeek using its raw C ABI contract.
func (*RawAPI) VirDomainMemoryStats ¶
func (raw *RawAPI) VirDomainMemoryStats(dom unsafe.Pointer, stats unsafe.Pointer, nr_stats uint32, flags uint32) (int32, error)
VirDomainMemoryStats calls virDomainMemoryStats using its raw C ABI contract.
func (*RawAPI) VirDomainMigrate ¶
func (raw *RawAPI) VirDomainMigrate(domain unsafe.Pointer, dconn unsafe.Pointer, flags uintptr, dname *byte, uri *byte, bandwidth uintptr) (unsafe.Pointer, error)
VirDomainMigrate calls virDomainMigrate using its raw C ABI contract.
func (*RawAPI) VirDomainMigrate2 ¶
func (raw *RawAPI) VirDomainMigrate2(domain unsafe.Pointer, dconn unsafe.Pointer, dxml *byte, flags uintptr, dname *byte, uri *byte, bandwidth uintptr) (unsafe.Pointer, error)
VirDomainMigrate2 calls virDomainMigrate2 using its raw C ABI contract.
func (*RawAPI) VirDomainMigrate3 ¶
func (raw *RawAPI) VirDomainMigrate3(domain unsafe.Pointer, dconn unsafe.Pointer, params unsafe.Pointer, nparams uint32, flags uint32) (unsafe.Pointer, error)
VirDomainMigrate3 calls virDomainMigrate3 using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateGetCompressionCache ¶
func (raw *RawAPI) VirDomainMigrateGetCompressionCache(domain unsafe.Pointer, cacheSize *uint64, flags uint32) (int32, error)
VirDomainMigrateGetCompressionCache calls virDomainMigrateGetCompressionCache using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateGetMaxDowntime ¶
func (raw *RawAPI) VirDomainMigrateGetMaxDowntime(domain unsafe.Pointer, downtime *uint64, flags uint32) (int32, error)
VirDomainMigrateGetMaxDowntime calls virDomainMigrateGetMaxDowntime using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateGetMaxSpeed ¶
func (raw *RawAPI) VirDomainMigrateGetMaxSpeed(domain unsafe.Pointer, bandwidth *uintptr, flags uint32) (int32, error)
VirDomainMigrateGetMaxSpeed calls virDomainMigrateGetMaxSpeed using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateSetCompressionCache ¶
func (raw *RawAPI) VirDomainMigrateSetCompressionCache(domain unsafe.Pointer, cacheSize uint64, flags uint32) (int32, error)
VirDomainMigrateSetCompressionCache calls virDomainMigrateSetCompressionCache using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateSetMaxDowntime ¶
func (raw *RawAPI) VirDomainMigrateSetMaxDowntime(domain unsafe.Pointer, downtime uint64, flags uint32) (int32, error)
VirDomainMigrateSetMaxDowntime calls virDomainMigrateSetMaxDowntime using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateSetMaxSpeed ¶
func (raw *RawAPI) VirDomainMigrateSetMaxSpeed(domain unsafe.Pointer, bandwidth uintptr, flags uint32) (int32, error)
VirDomainMigrateSetMaxSpeed calls virDomainMigrateSetMaxSpeed using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateStartPostCopy ¶
func (raw *RawAPI) VirDomainMigrateStartPostCopy(domain unsafe.Pointer, flags uint32) (int32, error)
VirDomainMigrateStartPostCopy calls virDomainMigrateStartPostCopy using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateToURI ¶
func (raw *RawAPI) VirDomainMigrateToURI(domain unsafe.Pointer, duri *byte, flags uintptr, dname *byte, bandwidth uintptr) (int32, error)
VirDomainMigrateToURI calls virDomainMigrateToURI using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateToURI2 ¶
func (raw *RawAPI) VirDomainMigrateToURI2(domain unsafe.Pointer, dconnuri *byte, miguri *byte, dxml *byte, flags uintptr, dname *byte, bandwidth uintptr) (int32, error)
VirDomainMigrateToURI2 calls virDomainMigrateToURI2 using its raw C ABI contract.
func (*RawAPI) VirDomainMigrateToURI3 ¶
func (raw *RawAPI) VirDomainMigrateToURI3(domain unsafe.Pointer, dconnuri *byte, params unsafe.Pointer, nparams uint32, flags uint32) (int32, error)
VirDomainMigrateToURI3 calls virDomainMigrateToURI3 using its raw C ABI contract.
func (*RawAPI) VirDomainOpenChannel ¶
func (raw *RawAPI) VirDomainOpenChannel(dom unsafe.Pointer, name *byte, st unsafe.Pointer, flags uint32) (int32, error)
VirDomainOpenChannel calls virDomainOpenChannel using its raw C ABI contract.
func (*RawAPI) VirDomainOpenConsole ¶
func (raw *RawAPI) VirDomainOpenConsole(dom unsafe.Pointer, dev_name *byte, st unsafe.Pointer, flags uint32) (int32, error)
VirDomainOpenConsole calls virDomainOpenConsole using its raw C ABI contract.
func (*RawAPI) VirDomainOpenGraphics ¶
func (raw *RawAPI) VirDomainOpenGraphics(dom unsafe.Pointer, idx uint32, fd int32, flags uint32) (int32, error)
VirDomainOpenGraphics calls virDomainOpenGraphics using its raw C ABI contract.
func (*RawAPI) VirDomainOpenGraphicsFD ¶
func (raw *RawAPI) VirDomainOpenGraphicsFD(dom unsafe.Pointer, idx uint32, flags uint32) (int32, error)
VirDomainOpenGraphicsFD calls virDomainOpenGraphicsFD using its raw C ABI contract.
func (*RawAPI) VirDomainPMSuspendForDuration ¶
func (raw *RawAPI) VirDomainPMSuspendForDuration(dom unsafe.Pointer, target uint32, duration uint64, flags uint32) (int32, error)
VirDomainPMSuspendForDuration calls virDomainPMSuspendForDuration using its raw C ABI contract.
func (*RawAPI) VirDomainPMWakeup ¶
VirDomainPMWakeup calls virDomainPMWakeup using its raw C ABI contract.
func (*RawAPI) VirDomainPinEmulator ¶
func (raw *RawAPI) VirDomainPinEmulator(domain unsafe.Pointer, cpumap *byte, maplen int32, flags uint32) (int32, error)
VirDomainPinEmulator calls virDomainPinEmulator using its raw C ABI contract.
func (*RawAPI) VirDomainPinIOThread ¶
func (raw *RawAPI) VirDomainPinIOThread(domain unsafe.Pointer, iothread_id uint32, cpumap *byte, maplen int32, flags uint32) (int32, error)
VirDomainPinIOThread calls virDomainPinIOThread using its raw C ABI contract.
func (*RawAPI) VirDomainPinVcpu ¶
func (raw *RawAPI) VirDomainPinVcpu(domain unsafe.Pointer, vcpu uint32, cpumap *byte, maplen int32) (int32, error)
VirDomainPinVcpu calls virDomainPinVcpu using its raw C ABI contract.
func (*RawAPI) VirDomainPinVcpuFlags ¶
func (raw *RawAPI) VirDomainPinVcpuFlags(domain unsafe.Pointer, vcpu uint32, cpumap *byte, maplen int32, flags uint32) (int32, error)
VirDomainPinVcpuFlags calls virDomainPinVcpuFlags using its raw C ABI contract.
func (*RawAPI) VirDomainQemuAgentCommand ¶
func (raw *RawAPI) VirDomainQemuAgentCommand(domain unsafe.Pointer, cmd *byte, timeout int32, flags uint32) (unsafe.Pointer, error)
VirDomainQemuAgentCommand calls virDomainQemuAgentCommand using its raw C ABI contract.
func (*RawAPI) VirDomainQemuAttach ¶
func (raw *RawAPI) VirDomainQemuAttach(conn unsafe.Pointer, pid_value uint32, flags uint32) (unsafe.Pointer, error)
VirDomainQemuAttach calls virDomainQemuAttach using its raw C ABI contract.
func (*RawAPI) VirDomainQemuMonitorCommand ¶
func (raw *RawAPI) VirDomainQemuMonitorCommand(domain unsafe.Pointer, cmd *byte, result *unsafe.Pointer, flags uint32) (int32, error)
VirDomainQemuMonitorCommand calls virDomainQemuMonitorCommand using its raw C ABI contract.
func (*RawAPI) VirDomainQemuMonitorCommandWithFiles ¶
func (raw *RawAPI) VirDomainQemuMonitorCommandWithFiles(domain unsafe.Pointer, cmd *byte, ninfiles uint32, infiles *int32, noutfiles *uint32, outfiles *unsafe.Pointer, result *unsafe.Pointer, flags uint32) (int32, error)
VirDomainQemuMonitorCommandWithFiles calls virDomainQemuMonitorCommandWithFiles using its raw C ABI contract.
func (*RawAPI) VirDomainReboot ¶
VirDomainReboot calls virDomainReboot using its raw C ABI contract.
func (*RawAPI) VirDomainRef ¶
VirDomainRef calls virDomainRef using its raw C ABI contract.
func (*RawAPI) VirDomainRename ¶
VirDomainRename calls virDomainRename using its raw C ABI contract.
func (*RawAPI) VirDomainReset ¶
VirDomainReset calls virDomainReset using its raw C ABI contract.
func (*RawAPI) VirDomainRestore ¶
VirDomainRestore calls virDomainRestore using its raw C ABI contract.
func (*RawAPI) VirDomainRestoreFlags ¶
func (raw *RawAPI) VirDomainRestoreFlags(conn unsafe.Pointer, from *byte, dxml *byte, flags uint32) (int32, error)
VirDomainRestoreFlags calls virDomainRestoreFlags using its raw C ABI contract.
func (*RawAPI) VirDomainRestoreParams ¶
func (raw *RawAPI) VirDomainRestoreParams(conn unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainRestoreParams calls virDomainRestoreParams using its raw C ABI contract.
func (*RawAPI) VirDomainResume ¶
VirDomainResume calls virDomainResume using its raw C ABI contract.
func (*RawAPI) VirDomainRevertToSnapshot ¶
VirDomainRevertToSnapshot calls virDomainRevertToSnapshot using its raw C ABI contract.
func (*RawAPI) VirDomainSave ¶
VirDomainSave calls virDomainSave using its raw C ABI contract.
func (*RawAPI) VirDomainSaveFlags ¶
func (raw *RawAPI) VirDomainSaveFlags(domain unsafe.Pointer, to *byte, dxml *byte, flags uint32) (int32, error)
VirDomainSaveFlags calls virDomainSaveFlags using its raw C ABI contract.
func (*RawAPI) VirDomainSaveImageDefineXML ¶
func (raw *RawAPI) VirDomainSaveImageDefineXML(conn unsafe.Pointer, file *byte, dxml *byte, flags uint32) (int32, error)
VirDomainSaveImageDefineXML calls virDomainSaveImageDefineXML using its raw C ABI contract.
func (*RawAPI) VirDomainSaveImageGetXMLDesc ¶
func (raw *RawAPI) VirDomainSaveImageGetXMLDesc(conn unsafe.Pointer, file *byte, flags uint32) (unsafe.Pointer, error)
VirDomainSaveImageGetXMLDesc calls virDomainSaveImageGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirDomainSaveParams ¶
func (raw *RawAPI) VirDomainSaveParams(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSaveParams calls virDomainSaveParams using its raw C ABI contract.
func (*RawAPI) VirDomainScreenshot ¶
func (raw *RawAPI) VirDomainScreenshot(domain unsafe.Pointer, stream unsafe.Pointer, screen uint32, flags uint32) (unsafe.Pointer, error)
VirDomainScreenshot calls virDomainScreenshot using its raw C ABI contract.
func (*RawAPI) VirDomainSendKey ¶
func (raw *RawAPI) VirDomainSendKey(domain unsafe.Pointer, codeset uint32, holdtime uint32, keycodes *uint32, nkeycodes int32, flags uint32) (int32, error)
VirDomainSendKey calls virDomainSendKey using its raw C ABI contract.
func (*RawAPI) VirDomainSendProcessSignal ¶
func (raw *RawAPI) VirDomainSendProcessSignal(domain unsafe.Pointer, pid_value int64, signum uint32, flags uint32) (int32, error)
VirDomainSendProcessSignal calls virDomainSendProcessSignal using its raw C ABI contract.
func (*RawAPI) VirDomainSetAutostart ¶
VirDomainSetAutostart calls virDomainSetAutostart using its raw C ABI contract.
func (*RawAPI) VirDomainSetAutostartOnce ¶
VirDomainSetAutostartOnce calls virDomainSetAutostartOnce using its raw C ABI contract.
func (*RawAPI) VirDomainSetBlkioParameters ¶
func (raw *RawAPI) VirDomainSetBlkioParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetBlkioParameters calls virDomainSetBlkioParameters using its raw C ABI contract.
func (*RawAPI) VirDomainSetBlockIoTune ¶
func (raw *RawAPI) VirDomainSetBlockIoTune(dom unsafe.Pointer, disk *byte, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetBlockIoTune calls virDomainSetBlockIoTune using its raw C ABI contract.
func (*RawAPI) VirDomainSetBlockThreshold ¶
func (raw *RawAPI) VirDomainSetBlockThreshold(domain unsafe.Pointer, dev *byte, threshold uint64, flags uint32) (int32, error)
VirDomainSetBlockThreshold calls virDomainSetBlockThreshold using its raw C ABI contract.
func (*RawAPI) VirDomainSetGuestVcpus ¶
func (raw *RawAPI) VirDomainSetGuestVcpus(domain unsafe.Pointer, cpumap *byte, state int32, flags uint32) (int32, error)
VirDomainSetGuestVcpus calls virDomainSetGuestVcpus using its raw C ABI contract.
func (*RawAPI) VirDomainSetIOThreadParams ¶
func (raw *RawAPI) VirDomainSetIOThreadParams(domain unsafe.Pointer, iothread_id uint32, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetIOThreadParams calls virDomainSetIOThreadParams using its raw C ABI contract.
func (*RawAPI) VirDomainSetInterfaceParameters ¶
func (raw *RawAPI) VirDomainSetInterfaceParameters(domain unsafe.Pointer, device *byte, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetInterfaceParameters calls virDomainSetInterfaceParameters using its raw C ABI contract.
func (*RawAPI) VirDomainSetLaunchSecurityState ¶
func (raw *RawAPI) VirDomainSetLaunchSecurityState(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetLaunchSecurityState calls virDomainSetLaunchSecurityState using its raw C ABI contract.
func (*RawAPI) VirDomainSetLifecycleAction ¶
func (raw *RawAPI) VirDomainSetLifecycleAction(domain unsafe.Pointer, type_ uint32, action uint32, flags uint32) (int32, error)
VirDomainSetLifecycleAction calls virDomainSetLifecycleAction using its raw C ABI contract.
func (*RawAPI) VirDomainSetMaxMemory ¶
VirDomainSetMaxMemory calls virDomainSetMaxMemory using its raw C ABI contract.
func (*RawAPI) VirDomainSetMemory ¶
VirDomainSetMemory calls virDomainSetMemory using its raw C ABI contract.
func (*RawAPI) VirDomainSetMemoryFlags ¶
func (raw *RawAPI) VirDomainSetMemoryFlags(domain unsafe.Pointer, memory uintptr, flags uint32) (int32, error)
VirDomainSetMemoryFlags calls virDomainSetMemoryFlags using its raw C ABI contract.
func (*RawAPI) VirDomainSetMemoryParameters ¶
func (raw *RawAPI) VirDomainSetMemoryParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetMemoryParameters calls virDomainSetMemoryParameters using its raw C ABI contract.
func (*RawAPI) VirDomainSetMemoryStatsPeriod ¶
func (raw *RawAPI) VirDomainSetMemoryStatsPeriod(domain unsafe.Pointer, period int32, flags uint32) (int32, error)
VirDomainSetMemoryStatsPeriod calls virDomainSetMemoryStatsPeriod using its raw C ABI contract.
func (*RawAPI) VirDomainSetMetadata ¶
func (raw *RawAPI) VirDomainSetMetadata(domain unsafe.Pointer, type_ int32, metadata *byte, key *byte, uri *byte, flags uint32) (int32, error)
VirDomainSetMetadata calls virDomainSetMetadata using its raw C ABI contract.
func (*RawAPI) VirDomainSetNumaParameters ¶
func (raw *RawAPI) VirDomainSetNumaParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetNumaParameters calls virDomainSetNumaParameters using its raw C ABI contract.
func (*RawAPI) VirDomainSetPerfEvents ¶
func (raw *RawAPI) VirDomainSetPerfEvents(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetPerfEvents calls virDomainSetPerfEvents using its raw C ABI contract.
func (*RawAPI) VirDomainSetSchedulerParameters ¶
func (raw *RawAPI) VirDomainSetSchedulerParameters(domain unsafe.Pointer, params unsafe.Pointer, nparams int32) (int32, error)
VirDomainSetSchedulerParameters calls virDomainSetSchedulerParameters using its raw C ABI contract.
func (*RawAPI) VirDomainSetSchedulerParametersFlags ¶
func (raw *RawAPI) VirDomainSetSchedulerParametersFlags(domain unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetSchedulerParametersFlags calls virDomainSetSchedulerParametersFlags using its raw C ABI contract.
func (*RawAPI) VirDomainSetThrottleGroup ¶
func (raw *RawAPI) VirDomainSetThrottleGroup(dom unsafe.Pointer, group *byte, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirDomainSetThrottleGroup calls virDomainSetThrottleGroup using its raw C ABI contract.
func (*RawAPI) VirDomainSetTime ¶
func (raw *RawAPI) VirDomainSetTime(dom unsafe.Pointer, seconds int64, nseconds uint32, flags uint32) (int32, error)
VirDomainSetTime calls virDomainSetTime using its raw C ABI contract.
func (*RawAPI) VirDomainSetUserPassword ¶
func (raw *RawAPI) VirDomainSetUserPassword(dom unsafe.Pointer, user *byte, password *byte, flags uint32) (int32, error)
VirDomainSetUserPassword calls virDomainSetUserPassword using its raw C ABI contract.
func (*RawAPI) VirDomainSetVcpu ¶
func (raw *RawAPI) VirDomainSetVcpu(domain unsafe.Pointer, vcpumap *byte, state int32, flags uint32) (int32, error)
VirDomainSetVcpu calls virDomainSetVcpu using its raw C ABI contract.
func (*RawAPI) VirDomainSetVcpus ¶
VirDomainSetVcpus calls virDomainSetVcpus using its raw C ABI contract.
func (*RawAPI) VirDomainSetVcpusFlags ¶
func (raw *RawAPI) VirDomainSetVcpusFlags(domain unsafe.Pointer, nvcpus uint32, flags uint32) (int32, error)
VirDomainSetVcpusFlags calls virDomainSetVcpusFlags using its raw C ABI contract.
func (*RawAPI) VirDomainShutdown ¶
VirDomainShutdown calls virDomainShutdown using its raw C ABI contract.
func (*RawAPI) VirDomainShutdownFlags ¶
VirDomainShutdownFlags calls virDomainShutdownFlags using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotCreateXML ¶
func (raw *RawAPI) VirDomainSnapshotCreateXML(domain unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirDomainSnapshotCreateXML calls virDomainSnapshotCreateXML using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotCurrent ¶
func (raw *RawAPI) VirDomainSnapshotCurrent(domain unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainSnapshotCurrent calls virDomainSnapshotCurrent using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotDelete ¶
VirDomainSnapshotDelete calls virDomainSnapshotDelete using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotFree ¶
VirDomainSnapshotFree calls virDomainSnapshotFree using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotGetConnect ¶
VirDomainSnapshotGetConnect calls virDomainSnapshotGetConnect using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotGetDomain ¶
VirDomainSnapshotGetDomain calls virDomainSnapshotGetDomain using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotGetName ¶
VirDomainSnapshotGetName calls virDomainSnapshotGetName using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotGetParent ¶
func (raw *RawAPI) VirDomainSnapshotGetParent(snapshot unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainSnapshotGetParent calls virDomainSnapshotGetParent using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotGetXMLDesc ¶
func (raw *RawAPI) VirDomainSnapshotGetXMLDesc(snapshot unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirDomainSnapshotGetXMLDesc calls virDomainSnapshotGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotHasMetadata ¶
func (raw *RawAPI) VirDomainSnapshotHasMetadata(snapshot unsafe.Pointer, flags uint32) (int32, error)
VirDomainSnapshotHasMetadata calls virDomainSnapshotHasMetadata using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotIsCurrent ¶
VirDomainSnapshotIsCurrent calls virDomainSnapshotIsCurrent using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotListAllChildren ¶
func (raw *RawAPI) VirDomainSnapshotListAllChildren(snapshot unsafe.Pointer, snaps *unsafe.Pointer, flags uint32) (int32, error)
VirDomainSnapshotListAllChildren calls virDomainSnapshotListAllChildren using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotListChildrenNames ¶
func (raw *RawAPI) VirDomainSnapshotListChildrenNames(snapshot unsafe.Pointer, names *unsafe.Pointer, nameslen int32, flags uint32) (int32, error)
VirDomainSnapshotListChildrenNames calls virDomainSnapshotListChildrenNames using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotListNames ¶
func (raw *RawAPI) VirDomainSnapshotListNames(domain unsafe.Pointer, names *unsafe.Pointer, nameslen int32, flags uint32) (int32, error)
VirDomainSnapshotListNames calls virDomainSnapshotListNames using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotLookupByName ¶
func (raw *RawAPI) VirDomainSnapshotLookupByName(domain unsafe.Pointer, name *byte, flags uint32) (unsafe.Pointer, error)
VirDomainSnapshotLookupByName calls virDomainSnapshotLookupByName using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotNum ¶
VirDomainSnapshotNum calls virDomainSnapshotNum using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotNumChildren ¶
func (raw *RawAPI) VirDomainSnapshotNumChildren(snapshot unsafe.Pointer, flags uint32) (int32, error)
VirDomainSnapshotNumChildren calls virDomainSnapshotNumChildren using its raw C ABI contract.
func (*RawAPI) VirDomainSnapshotRef ¶
VirDomainSnapshotRef calls virDomainSnapshotRef using its raw C ABI contract.
func (*RawAPI) VirDomainStartDirtyRateCalc ¶
func (raw *RawAPI) VirDomainStartDirtyRateCalc(domain unsafe.Pointer, seconds int32, flags uint32) (int32, error)
VirDomainStartDirtyRateCalc calls virDomainStartDirtyRateCalc using its raw C ABI contract.
func (*RawAPI) VirDomainStatsRecordListFree ¶
VirDomainStatsRecordListFree calls virDomainStatsRecordListFree using its raw C ABI contract.
func (*RawAPI) VirDomainSuspend ¶
VirDomainSuspend calls virDomainSuspend using its raw C ABI contract.
func (*RawAPI) VirDomainUndefine ¶
VirDomainUndefine calls virDomainUndefine using its raw C ABI contract.
func (*RawAPI) VirDomainUndefineFlags ¶
VirDomainUndefineFlags calls virDomainUndefineFlags using its raw C ABI contract.
func (*RawAPI) VirDomainUpdateDeviceFlags ¶
func (raw *RawAPI) VirDomainUpdateDeviceFlags(domain unsafe.Pointer, xml *byte, flags uint32) (int32, error)
VirDomainUpdateDeviceFlags calls virDomainUpdateDeviceFlags using its raw C ABI contract.
func (*RawAPI) VirEventAddHandle ¶
func (raw *RawAPI) VirEventAddHandle(fd int32, events int32, cb uintptr, opaque unsafe.Pointer, ff uintptr) (int32, error)
VirEventAddHandle calls virEventAddHandle using its raw C ABI contract.
func (*RawAPI) VirEventAddTimeout ¶
func (raw *RawAPI) VirEventAddTimeout(timeout int32, cb uintptr, opaque unsafe.Pointer, ff uintptr) (int32, error)
VirEventAddTimeout calls virEventAddTimeout using its raw C ABI contract.
func (*RawAPI) VirEventRegisterDefaultImpl ¶
VirEventRegisterDefaultImpl calls virEventRegisterDefaultImpl using its raw C ABI contract.
func (*RawAPI) VirEventRegisterImpl ¶
func (raw *RawAPI) VirEventRegisterImpl(addHandle uintptr, updateHandle uintptr, removeHandle uintptr, addTimeout uintptr, updateTimeout uintptr, removeTimeout uintptr) error
VirEventRegisterImpl calls virEventRegisterImpl using its raw C ABI contract.
func (*RawAPI) VirEventRemoveHandle ¶
VirEventRemoveHandle calls virEventRemoveHandle using its raw C ABI contract.
func (*RawAPI) VirEventRemoveTimeout ¶
VirEventRemoveTimeout calls virEventRemoveTimeout using its raw C ABI contract.
func (*RawAPI) VirEventRunDefaultImpl ¶
VirEventRunDefaultImpl calls virEventRunDefaultImpl using its raw C ABI contract.
func (*RawAPI) VirEventUpdateHandle ¶
VirEventUpdateHandle calls virEventUpdateHandle using its raw C ABI contract.
func (*RawAPI) VirEventUpdateTimeout ¶
VirEventUpdateTimeout calls virEventUpdateTimeout using its raw C ABI contract.
func (*RawAPI) VirFreeError ¶
VirFreeError calls virFreeError using its raw C ABI contract.
func (*RawAPI) VirGetLastError ¶
VirGetLastError calls virGetLastError using its raw C ABI contract.
func (*RawAPI) VirGetLastErrorCode ¶
VirGetLastErrorCode calls virGetLastErrorCode using its raw C ABI contract.
func (*RawAPI) VirGetLastErrorDomain ¶
VirGetLastErrorDomain calls virGetLastErrorDomain using its raw C ABI contract.
func (*RawAPI) VirGetLastErrorMessage ¶
VirGetLastErrorMessage calls virGetLastErrorMessage using its raw C ABI contract.
func (*RawAPI) VirGetVersion ¶
VirGetVersion calls virGetVersion using its raw C ABI contract.
func (*RawAPI) VirInitialize ¶
VirInitialize calls virInitialize using its raw C ABI contract.
func (*RawAPI) VirInterfaceChangeBegin ¶
VirInterfaceChangeBegin calls virInterfaceChangeBegin using its raw C ABI contract.
func (*RawAPI) VirInterfaceChangeCommit ¶
VirInterfaceChangeCommit calls virInterfaceChangeCommit using its raw C ABI contract.
func (*RawAPI) VirInterfaceChangeRollback ¶
VirInterfaceChangeRollback calls virInterfaceChangeRollback using its raw C ABI contract.
func (*RawAPI) VirInterfaceCreate ¶
VirInterfaceCreate calls virInterfaceCreate using its raw C ABI contract.
func (*RawAPI) VirInterfaceDefineXML ¶
func (raw *RawAPI) VirInterfaceDefineXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
VirInterfaceDefineXML calls virInterfaceDefineXML using its raw C ABI contract.
func (*RawAPI) VirInterfaceDestroy ¶
VirInterfaceDestroy calls virInterfaceDestroy using its raw C ABI contract.
func (*RawAPI) VirInterfaceFree ¶
VirInterfaceFree calls virInterfaceFree using its raw C ABI contract.
func (*RawAPI) VirInterfaceGetConnect ¶
VirInterfaceGetConnect calls virInterfaceGetConnect using its raw C ABI contract.
func (*RawAPI) VirInterfaceGetMACString ¶
VirInterfaceGetMACString calls virInterfaceGetMACString using its raw C ABI contract.
func (*RawAPI) VirInterfaceGetName ¶
VirInterfaceGetName calls virInterfaceGetName using its raw C ABI contract.
func (*RawAPI) VirInterfaceGetXMLDesc ¶
func (raw *RawAPI) VirInterfaceGetXMLDesc(iface unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirInterfaceGetXMLDesc calls virInterfaceGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirInterfaceIsActive ¶
VirInterfaceIsActive calls virInterfaceIsActive using its raw C ABI contract.
func (*RawAPI) VirInterfaceLookupByMACString ¶
func (raw *RawAPI) VirInterfaceLookupByMACString(conn unsafe.Pointer, macstr *byte) (unsafe.Pointer, error)
VirInterfaceLookupByMACString calls virInterfaceLookupByMACString using its raw C ABI contract.
func (*RawAPI) VirInterfaceLookupByName ¶
func (raw *RawAPI) VirInterfaceLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
VirInterfaceLookupByName calls virInterfaceLookupByName using its raw C ABI contract.
func (*RawAPI) VirInterfaceRef ¶
VirInterfaceRef calls virInterfaceRef using its raw C ABI contract.
func (*RawAPI) VirInterfaceUndefine ¶
VirInterfaceUndefine calls virInterfaceUndefine using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingCreateXML ¶
func (raw *RawAPI) VirNWFilterBindingCreateXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
VirNWFilterBindingCreateXML calls virNWFilterBindingCreateXML using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingDelete ¶
VirNWFilterBindingDelete calls virNWFilterBindingDelete using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingFree ¶
VirNWFilterBindingFree calls virNWFilterBindingFree using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingGetFilterName ¶
VirNWFilterBindingGetFilterName calls virNWFilterBindingGetFilterName using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingGetPortDev ¶
VirNWFilterBindingGetPortDev calls virNWFilterBindingGetPortDev using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingGetXMLDesc ¶
func (raw *RawAPI) VirNWFilterBindingGetXMLDesc(binding unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirNWFilterBindingGetXMLDesc calls virNWFilterBindingGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingLookupByPortDev ¶
func (raw *RawAPI) VirNWFilterBindingLookupByPortDev(conn unsafe.Pointer, portdev *byte) (unsafe.Pointer, error)
VirNWFilterBindingLookupByPortDev calls virNWFilterBindingLookupByPortDev using its raw C ABI contract.
func (*RawAPI) VirNWFilterBindingRef ¶
VirNWFilterBindingRef calls virNWFilterBindingRef using its raw C ABI contract.
func (*RawAPI) VirNWFilterDefineXML ¶
VirNWFilterDefineXML calls virNWFilterDefineXML using its raw C ABI contract.
func (*RawAPI) VirNWFilterDefineXMLFlags ¶
func (raw *RawAPI) VirNWFilterDefineXMLFlags(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirNWFilterDefineXMLFlags calls virNWFilterDefineXMLFlags using its raw C ABI contract.
func (*RawAPI) VirNWFilterFree ¶
VirNWFilterFree calls virNWFilterFree using its raw C ABI contract.
func (*RawAPI) VirNWFilterGetName ¶
VirNWFilterGetName calls virNWFilterGetName using its raw C ABI contract.
func (*RawAPI) VirNWFilterGetUUID ¶
VirNWFilterGetUUID calls virNWFilterGetUUID using its raw C ABI contract.
func (*RawAPI) VirNWFilterGetUUIDString ¶
VirNWFilterGetUUIDString calls virNWFilterGetUUIDString using its raw C ABI contract.
func (*RawAPI) VirNWFilterGetXMLDesc ¶
func (raw *RawAPI) VirNWFilterGetXMLDesc(nwfilter unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirNWFilterGetXMLDesc calls virNWFilterGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirNWFilterLookupByName ¶
VirNWFilterLookupByName calls virNWFilterLookupByName using its raw C ABI contract.
func (*RawAPI) VirNWFilterLookupByUUID ¶
VirNWFilterLookupByUUID calls virNWFilterLookupByUUID using its raw C ABI contract.
func (*RawAPI) VirNWFilterLookupByUUIDString ¶
func (raw *RawAPI) VirNWFilterLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
VirNWFilterLookupByUUIDString calls virNWFilterLookupByUUIDString using its raw C ABI contract.
func (*RawAPI) VirNWFilterRef ¶
VirNWFilterRef calls virNWFilterRef using its raw C ABI contract.
func (*RawAPI) VirNWFilterUndefine ¶
VirNWFilterUndefine calls virNWFilterUndefine using its raw C ABI contract.
func (*RawAPI) VirNetworkCreate ¶
VirNetworkCreate calls virNetworkCreate using its raw C ABI contract.
func (*RawAPI) VirNetworkCreateXML ¶
VirNetworkCreateXML calls virNetworkCreateXML using its raw C ABI contract.
func (*RawAPI) VirNetworkCreateXMLFlags ¶
func (raw *RawAPI) VirNetworkCreateXMLFlags(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirNetworkCreateXMLFlags calls virNetworkCreateXMLFlags using its raw C ABI contract.
func (*RawAPI) VirNetworkDHCPLeaseFree ¶
VirNetworkDHCPLeaseFree calls virNetworkDHCPLeaseFree using its raw C ABI contract.
func (*RawAPI) VirNetworkDefineXML ¶
VirNetworkDefineXML calls virNetworkDefineXML using its raw C ABI contract.
func (*RawAPI) VirNetworkDefineXMLFlags ¶
func (raw *RawAPI) VirNetworkDefineXMLFlags(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
VirNetworkDefineXMLFlags calls virNetworkDefineXMLFlags using its raw C ABI contract.
func (*RawAPI) VirNetworkDestroy ¶
VirNetworkDestroy calls virNetworkDestroy using its raw C ABI contract.
func (*RawAPI) VirNetworkFree ¶
VirNetworkFree calls virNetworkFree using its raw C ABI contract.
func (*RawAPI) VirNetworkGetAutostart ¶
VirNetworkGetAutostart calls virNetworkGetAutostart using its raw C ABI contract.
func (*RawAPI) VirNetworkGetBridgeName ¶
VirNetworkGetBridgeName calls virNetworkGetBridgeName using its raw C ABI contract.
func (*RawAPI) VirNetworkGetConnect ¶
VirNetworkGetConnect calls virNetworkGetConnect using its raw C ABI contract.
func (*RawAPI) VirNetworkGetDHCPLeases ¶
func (raw *RawAPI) VirNetworkGetDHCPLeases(network unsafe.Pointer, mac *byte, leases *unsafe.Pointer, flags uint32) (int32, error)
VirNetworkGetDHCPLeases calls virNetworkGetDHCPLeases using its raw C ABI contract.
func (*RawAPI) VirNetworkGetMetadata ¶
func (raw *RawAPI) VirNetworkGetMetadata(network unsafe.Pointer, type_ int32, uri *byte, flags uint32) (unsafe.Pointer, error)
VirNetworkGetMetadata calls virNetworkGetMetadata using its raw C ABI contract.
func (*RawAPI) VirNetworkGetName ¶
VirNetworkGetName calls virNetworkGetName using its raw C ABI contract.
func (*RawAPI) VirNetworkGetUUID ¶
VirNetworkGetUUID calls virNetworkGetUUID using its raw C ABI contract.
func (*RawAPI) VirNetworkGetUUIDString ¶
VirNetworkGetUUIDString calls virNetworkGetUUIDString using its raw C ABI contract.
func (*RawAPI) VirNetworkGetXMLDesc ¶
func (raw *RawAPI) VirNetworkGetXMLDesc(network unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirNetworkGetXMLDesc calls virNetworkGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirNetworkIsActive ¶
VirNetworkIsActive calls virNetworkIsActive using its raw C ABI contract.
func (*RawAPI) VirNetworkIsPersistent ¶
VirNetworkIsPersistent calls virNetworkIsPersistent using its raw C ABI contract.
func (*RawAPI) VirNetworkListAllPorts ¶
func (raw *RawAPI) VirNetworkListAllPorts(network unsafe.Pointer, ports *unsafe.Pointer, flags uint32) (int32, error)
VirNetworkListAllPorts calls virNetworkListAllPorts using its raw C ABI contract.
func (*RawAPI) VirNetworkLookupByName ¶
VirNetworkLookupByName calls virNetworkLookupByName using its raw C ABI contract.
func (*RawAPI) VirNetworkLookupByUUID ¶
VirNetworkLookupByUUID calls virNetworkLookupByUUID using its raw C ABI contract.
func (*RawAPI) VirNetworkLookupByUUIDString ¶
func (raw *RawAPI) VirNetworkLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
VirNetworkLookupByUUIDString calls virNetworkLookupByUUIDString using its raw C ABI contract.
func (*RawAPI) VirNetworkPortCreateXML ¶
func (raw *RawAPI) VirNetworkPortCreateXML(net unsafe.Pointer, xmldesc *byte, flags uint32) (unsafe.Pointer, error)
VirNetworkPortCreateXML calls virNetworkPortCreateXML using its raw C ABI contract.
func (*RawAPI) VirNetworkPortDelete ¶
VirNetworkPortDelete calls virNetworkPortDelete using its raw C ABI contract.
func (*RawAPI) VirNetworkPortFree ¶
VirNetworkPortFree calls virNetworkPortFree using its raw C ABI contract.
func (*RawAPI) VirNetworkPortGetNetwork ¶
VirNetworkPortGetNetwork calls virNetworkPortGetNetwork using its raw C ABI contract.
func (*RawAPI) VirNetworkPortGetParameters ¶
func (raw *RawAPI) VirNetworkPortGetParameters(port unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirNetworkPortGetParameters calls virNetworkPortGetParameters using its raw C ABI contract.
func (*RawAPI) VirNetworkPortGetUUID ¶
VirNetworkPortGetUUID calls virNetworkPortGetUUID using its raw C ABI contract.
func (*RawAPI) VirNetworkPortGetUUIDString ¶
VirNetworkPortGetUUIDString calls virNetworkPortGetUUIDString using its raw C ABI contract.
func (*RawAPI) VirNetworkPortGetXMLDesc ¶
func (raw *RawAPI) VirNetworkPortGetXMLDesc(port unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirNetworkPortGetXMLDesc calls virNetworkPortGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirNetworkPortLookupByUUID ¶
func (raw *RawAPI) VirNetworkPortLookupByUUID(net unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
VirNetworkPortLookupByUUID calls virNetworkPortLookupByUUID using its raw C ABI contract.
func (*RawAPI) VirNetworkPortLookupByUUIDString ¶
func (raw *RawAPI) VirNetworkPortLookupByUUIDString(net unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
VirNetworkPortLookupByUUIDString calls virNetworkPortLookupByUUIDString using its raw C ABI contract.
func (*RawAPI) VirNetworkPortRef ¶
VirNetworkPortRef calls virNetworkPortRef using its raw C ABI contract.
func (*RawAPI) VirNetworkPortSetParameters ¶
func (raw *RawAPI) VirNetworkPortSetParameters(port unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirNetworkPortSetParameters calls virNetworkPortSetParameters using its raw C ABI contract.
func (*RawAPI) VirNetworkRef ¶
VirNetworkRef calls virNetworkRef using its raw C ABI contract.
func (*RawAPI) VirNetworkSetAutostart ¶
VirNetworkSetAutostart calls virNetworkSetAutostart using its raw C ABI contract.
func (*RawAPI) VirNetworkSetMetadata ¶
func (raw *RawAPI) VirNetworkSetMetadata(network unsafe.Pointer, type_ int32, metadata *byte, key *byte, uri *byte, flags uint32) (int32, error)
VirNetworkSetMetadata calls virNetworkSetMetadata using its raw C ABI contract.
func (*RawAPI) VirNetworkUndefine ¶
VirNetworkUndefine calls virNetworkUndefine using its raw C ABI contract.
func (*RawAPI) VirNetworkUpdate ¶
func (raw *RawAPI) VirNetworkUpdate(network unsafe.Pointer, command uint32, section uint32, parentIndex int32, xml *byte, flags uint32) (int32, error)
VirNetworkUpdate calls virNetworkUpdate using its raw C ABI contract.
func (*RawAPI) VirNodeAllocPages ¶
func (raw *RawAPI) VirNodeAllocPages(conn unsafe.Pointer, npages uint32, pageSizes *uint32, pageCounts *uint64, startCell int32, cellCount uint32, flags uint32) (int32, error)
VirNodeAllocPages calls virNodeAllocPages using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceCreate ¶
VirNodeDeviceCreate calls virNodeDeviceCreate using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceCreateXML ¶
func (raw *RawAPI) VirNodeDeviceCreateXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirNodeDeviceCreateXML calls virNodeDeviceCreateXML using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceDefineXML ¶
func (raw *RawAPI) VirNodeDeviceDefineXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirNodeDeviceDefineXML calls virNodeDeviceDefineXML using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceDestroy ¶
VirNodeDeviceDestroy calls virNodeDeviceDestroy using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceDetachFlags ¶
func (raw *RawAPI) VirNodeDeviceDetachFlags(dev unsafe.Pointer, driverName *byte, flags uint32) (int32, error)
VirNodeDeviceDetachFlags calls virNodeDeviceDetachFlags using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceDettach ¶
VirNodeDeviceDettach calls virNodeDeviceDettach using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceFree ¶
VirNodeDeviceFree calls virNodeDeviceFree using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceGetAutostart ¶
VirNodeDeviceGetAutostart calls virNodeDeviceGetAutostart using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceGetName ¶
VirNodeDeviceGetName calls virNodeDeviceGetName using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceGetParent ¶
VirNodeDeviceGetParent calls virNodeDeviceGetParent using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceGetXMLDesc ¶
func (raw *RawAPI) VirNodeDeviceGetXMLDesc(dev unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirNodeDeviceGetXMLDesc calls virNodeDeviceGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceIsActive ¶
VirNodeDeviceIsActive calls virNodeDeviceIsActive using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceIsPersistent ¶
VirNodeDeviceIsPersistent calls virNodeDeviceIsPersistent using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceListCaps ¶
func (raw *RawAPI) VirNodeDeviceListCaps(dev unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirNodeDeviceListCaps calls virNodeDeviceListCaps using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceLookupByName ¶
func (raw *RawAPI) VirNodeDeviceLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
VirNodeDeviceLookupByName calls virNodeDeviceLookupByName using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceLookupSCSIHostByWWN ¶
func (raw *RawAPI) VirNodeDeviceLookupSCSIHostByWWN(conn unsafe.Pointer, wwnn *byte, wwpn *byte, flags uint32) (unsafe.Pointer, error)
VirNodeDeviceLookupSCSIHostByWWN calls virNodeDeviceLookupSCSIHostByWWN using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceNumOfCaps ¶
VirNodeDeviceNumOfCaps calls virNodeDeviceNumOfCaps using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceReAttach ¶
VirNodeDeviceReAttach calls virNodeDeviceReAttach using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceRef ¶
VirNodeDeviceRef calls virNodeDeviceRef using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceReset ¶
VirNodeDeviceReset calls virNodeDeviceReset using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceSetAutostart ¶
VirNodeDeviceSetAutostart calls virNodeDeviceSetAutostart using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceUndefine ¶
VirNodeDeviceUndefine calls virNodeDeviceUndefine using its raw C ABI contract.
func (*RawAPI) VirNodeDeviceUpdate ¶
func (raw *RawAPI) VirNodeDeviceUpdate(dev unsafe.Pointer, xmlDesc *byte, flags uint32) (int32, error)
VirNodeDeviceUpdate calls virNodeDeviceUpdate using its raw C ABI contract.
func (*RawAPI) VirNodeGetCPUMap ¶
func (raw *RawAPI) VirNodeGetCPUMap(conn unsafe.Pointer, cpumap *unsafe.Pointer, online *uint32, flags uint32) (int32, error)
VirNodeGetCPUMap calls virNodeGetCPUMap using its raw C ABI contract.
func (*RawAPI) VirNodeGetCPUStats ¶
func (raw *RawAPI) VirNodeGetCPUStats(conn unsafe.Pointer, cpuNum int32, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirNodeGetCPUStats calls virNodeGetCPUStats using its raw C ABI contract.
func (*RawAPI) VirNodeGetCellsFreeMemory ¶
func (raw *RawAPI) VirNodeGetCellsFreeMemory(conn unsafe.Pointer, freeMems *uint64, startCell int32, maxCells int32) (int32, error)
VirNodeGetCellsFreeMemory calls virNodeGetCellsFreeMemory using its raw C ABI contract.
func (*RawAPI) VirNodeGetFreeMemory ¶
VirNodeGetFreeMemory calls virNodeGetFreeMemory using its raw C ABI contract.
func (*RawAPI) VirNodeGetFreePages ¶
func (raw *RawAPI) VirNodeGetFreePages(conn unsafe.Pointer, npages uint32, pages *uint32, startCell int32, cellCount uint32, counts *uint64, flags uint32) (int32, error)
VirNodeGetFreePages calls virNodeGetFreePages using its raw C ABI contract.
func (*RawAPI) VirNodeGetInfo ¶
VirNodeGetInfo calls virNodeGetInfo using its raw C ABI contract.
func (*RawAPI) VirNodeGetMemoryParameters ¶
func (raw *RawAPI) VirNodeGetMemoryParameters(conn unsafe.Pointer, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirNodeGetMemoryParameters calls virNodeGetMemoryParameters using its raw C ABI contract.
func (*RawAPI) VirNodeGetMemoryStats ¶
func (raw *RawAPI) VirNodeGetMemoryStats(conn unsafe.Pointer, cellNum int32, params unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirNodeGetMemoryStats calls virNodeGetMemoryStats using its raw C ABI contract.
func (*RawAPI) VirNodeGetSEVInfo ¶
func (raw *RawAPI) VirNodeGetSEVInfo(conn unsafe.Pointer, params *unsafe.Pointer, nparams *int32, flags uint32) (int32, error)
VirNodeGetSEVInfo calls virNodeGetSEVInfo using its raw C ABI contract.
func (*RawAPI) VirNodeGetSecurityModel ¶
func (raw *RawAPI) VirNodeGetSecurityModel(conn unsafe.Pointer, secmodel unsafe.Pointer) (int32, error)
VirNodeGetSecurityModel calls virNodeGetSecurityModel using its raw C ABI contract.
func (*RawAPI) VirNodeListDevices ¶
func (raw *RawAPI) VirNodeListDevices(conn unsafe.Pointer, cap *byte, names *unsafe.Pointer, maxnames int32, flags uint32) (int32, error)
VirNodeListDevices calls virNodeListDevices using its raw C ABI contract.
func (*RawAPI) VirNodeNumOfDevices ¶
VirNodeNumOfDevices calls virNodeNumOfDevices using its raw C ABI contract.
func (*RawAPI) VirNodeSetMemoryParameters ¶
func (raw *RawAPI) VirNodeSetMemoryParameters(conn unsafe.Pointer, params unsafe.Pointer, nparams int32, flags uint32) (int32, error)
VirNodeSetMemoryParameters calls virNodeSetMemoryParameters using its raw C ABI contract.
func (*RawAPI) VirNodeSuspendForDuration ¶
func (raw *RawAPI) VirNodeSuspendForDuration(conn unsafe.Pointer, target uint32, duration uint64, flags uint32) (int32, error)
VirNodeSuspendForDuration calls virNodeSuspendForDuration using its raw C ABI contract.
func (*RawAPI) VirResetError ¶
VirResetError calls virResetError using its raw C ABI contract.
func (*RawAPI) VirResetLastError ¶
VirResetLastError calls virResetLastError using its raw C ABI contract.
func (*RawAPI) VirSaveLastError ¶
VirSaveLastError calls virSaveLastError using its raw C ABI contract.
func (*RawAPI) VirSecretDefineXML ¶
func (raw *RawAPI) VirSecretDefineXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
VirSecretDefineXML calls virSecretDefineXML using its raw C ABI contract.
func (*RawAPI) VirSecretFree ¶
VirSecretFree calls virSecretFree using its raw C ABI contract.
func (*RawAPI) VirSecretGetConnect ¶
VirSecretGetConnect calls virSecretGetConnect using its raw C ABI contract.
func (*RawAPI) VirSecretGetUUID ¶
VirSecretGetUUID calls virSecretGetUUID using its raw C ABI contract.
func (*RawAPI) VirSecretGetUUIDString ¶
VirSecretGetUUIDString calls virSecretGetUUIDString using its raw C ABI contract.
func (*RawAPI) VirSecretGetUsageID ¶
VirSecretGetUsageID calls virSecretGetUsageID using its raw C ABI contract.
func (*RawAPI) VirSecretGetUsageType ¶
VirSecretGetUsageType calls virSecretGetUsageType using its raw C ABI contract.
func (*RawAPI) VirSecretGetValue ¶
func (raw *RawAPI) VirSecretGetValue(secret unsafe.Pointer, value_size *uintptr, flags uint32) (unsafe.Pointer, error)
VirSecretGetValue calls virSecretGetValue using its raw C ABI contract.
func (*RawAPI) VirSecretGetXMLDesc ¶
VirSecretGetXMLDesc calls virSecretGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirSecretLookupByUUID ¶
VirSecretLookupByUUID calls virSecretLookupByUUID using its raw C ABI contract.
func (*RawAPI) VirSecretLookupByUUIDString ¶
func (raw *RawAPI) VirSecretLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
VirSecretLookupByUUIDString calls virSecretLookupByUUIDString using its raw C ABI contract.
func (*RawAPI) VirSecretLookupByUsage ¶
func (raw *RawAPI) VirSecretLookupByUsage(conn unsafe.Pointer, usageType int32, usageID *byte) (unsafe.Pointer, error)
VirSecretLookupByUsage calls virSecretLookupByUsage using its raw C ABI contract.
func (*RawAPI) VirSecretRef ¶
VirSecretRef calls virSecretRef using its raw C ABI contract.
func (*RawAPI) VirSecretSetValue ¶
func (raw *RawAPI) VirSecretSetValue(secret unsafe.Pointer, value *byte, value_size uintptr, flags uint32) (int32, error)
VirSecretSetValue calls virSecretSetValue using its raw C ABI contract.
func (*RawAPI) VirSecretUndefine ¶
VirSecretUndefine calls virSecretUndefine using its raw C ABI contract.
func (*RawAPI) VirSetErrorFunc ¶
VirSetErrorFunc calls virSetErrorFunc using its raw C ABI contract.
func (*RawAPI) VirStoragePoolBuild ¶
VirStoragePoolBuild calls virStoragePoolBuild using its raw C ABI contract.
func (*RawAPI) VirStoragePoolCreate ¶
VirStoragePoolCreate calls virStoragePoolCreate using its raw C ABI contract.
func (*RawAPI) VirStoragePoolCreateXML ¶
func (raw *RawAPI) VirStoragePoolCreateXML(conn unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirStoragePoolCreateXML calls virStoragePoolCreateXML using its raw C ABI contract.
func (*RawAPI) VirStoragePoolDefineXML ¶
func (raw *RawAPI) VirStoragePoolDefineXML(conn unsafe.Pointer, xml *byte, flags uint32) (unsafe.Pointer, error)
VirStoragePoolDefineXML calls virStoragePoolDefineXML using its raw C ABI contract.
func (*RawAPI) VirStoragePoolDelete ¶
VirStoragePoolDelete calls virStoragePoolDelete using its raw C ABI contract.
func (*RawAPI) VirStoragePoolDestroy ¶
VirStoragePoolDestroy calls virStoragePoolDestroy using its raw C ABI contract.
func (*RawAPI) VirStoragePoolFree ¶
VirStoragePoolFree calls virStoragePoolFree using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetAutostart ¶
VirStoragePoolGetAutostart calls virStoragePoolGetAutostart using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetConnect ¶
VirStoragePoolGetConnect calls virStoragePoolGetConnect using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetInfo ¶
VirStoragePoolGetInfo calls virStoragePoolGetInfo using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetName ¶
VirStoragePoolGetName calls virStoragePoolGetName using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetUUID ¶
VirStoragePoolGetUUID calls virStoragePoolGetUUID using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetUUIDString ¶
VirStoragePoolGetUUIDString calls virStoragePoolGetUUIDString using its raw C ABI contract.
func (*RawAPI) VirStoragePoolGetXMLDesc ¶
func (raw *RawAPI) VirStoragePoolGetXMLDesc(pool unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirStoragePoolGetXMLDesc calls virStoragePoolGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirStoragePoolIsActive ¶
VirStoragePoolIsActive calls virStoragePoolIsActive using its raw C ABI contract.
func (*RawAPI) VirStoragePoolIsPersistent ¶
VirStoragePoolIsPersistent calls virStoragePoolIsPersistent using its raw C ABI contract.
func (*RawAPI) VirStoragePoolListAllVolumes ¶
func (raw *RawAPI) VirStoragePoolListAllVolumes(pool unsafe.Pointer, vols *unsafe.Pointer, flags uint32) (int32, error)
VirStoragePoolListAllVolumes calls virStoragePoolListAllVolumes using its raw C ABI contract.
func (*RawAPI) VirStoragePoolListVolumes ¶
func (raw *RawAPI) VirStoragePoolListVolumes(pool unsafe.Pointer, names *unsafe.Pointer, maxnames int32) (int32, error)
VirStoragePoolListVolumes calls virStoragePoolListVolumes using its raw C ABI contract.
func (*RawAPI) VirStoragePoolLookupByName ¶
func (raw *RawAPI) VirStoragePoolLookupByName(conn unsafe.Pointer, name *byte) (unsafe.Pointer, error)
VirStoragePoolLookupByName calls virStoragePoolLookupByName using its raw C ABI contract.
func (*RawAPI) VirStoragePoolLookupByTargetPath ¶
func (raw *RawAPI) VirStoragePoolLookupByTargetPath(conn unsafe.Pointer, path *byte) (unsafe.Pointer, error)
VirStoragePoolLookupByTargetPath calls virStoragePoolLookupByTargetPath using its raw C ABI contract.
func (*RawAPI) VirStoragePoolLookupByUUID ¶
func (raw *RawAPI) VirStoragePoolLookupByUUID(conn unsafe.Pointer, uuid *byte) (unsafe.Pointer, error)
VirStoragePoolLookupByUUID calls virStoragePoolLookupByUUID using its raw C ABI contract.
func (*RawAPI) VirStoragePoolLookupByUUIDString ¶
func (raw *RawAPI) VirStoragePoolLookupByUUIDString(conn unsafe.Pointer, uuidstr *byte) (unsafe.Pointer, error)
VirStoragePoolLookupByUUIDString calls virStoragePoolLookupByUUIDString using its raw C ABI contract.
func (*RawAPI) VirStoragePoolLookupByVolume ¶
VirStoragePoolLookupByVolume calls virStoragePoolLookupByVolume using its raw C ABI contract.
func (*RawAPI) VirStoragePoolNumOfVolumes ¶
VirStoragePoolNumOfVolumes calls virStoragePoolNumOfVolumes using its raw C ABI contract.
func (*RawAPI) VirStoragePoolRef ¶
VirStoragePoolRef calls virStoragePoolRef using its raw C ABI contract.
func (*RawAPI) VirStoragePoolRefresh ¶
VirStoragePoolRefresh calls virStoragePoolRefresh using its raw C ABI contract.
func (*RawAPI) VirStoragePoolSetAutostart ¶
VirStoragePoolSetAutostart calls virStoragePoolSetAutostart using its raw C ABI contract.
func (*RawAPI) VirStoragePoolUndefine ¶
VirStoragePoolUndefine calls virStoragePoolUndefine using its raw C ABI contract.
func (*RawAPI) VirStorageVolCreateXML ¶
func (raw *RawAPI) VirStorageVolCreateXML(pool unsafe.Pointer, xmlDesc *byte, flags uint32) (unsafe.Pointer, error)
VirStorageVolCreateXML calls virStorageVolCreateXML using its raw C ABI contract.
func (*RawAPI) VirStorageVolCreateXMLFrom ¶
func (raw *RawAPI) VirStorageVolCreateXMLFrom(pool unsafe.Pointer, xmlDesc *byte, clonevol unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirStorageVolCreateXMLFrom calls virStorageVolCreateXMLFrom using its raw C ABI contract.
func (*RawAPI) VirStorageVolDelete ¶
VirStorageVolDelete calls virStorageVolDelete using its raw C ABI contract.
func (*RawAPI) VirStorageVolDownload ¶
func (raw *RawAPI) VirStorageVolDownload(vol unsafe.Pointer, stream unsafe.Pointer, offset uint64, length uint64, flags uint32) (int32, error)
VirStorageVolDownload calls virStorageVolDownload using its raw C ABI contract.
func (*RawAPI) VirStorageVolFree ¶
VirStorageVolFree calls virStorageVolFree using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetConnect ¶
VirStorageVolGetConnect calls virStorageVolGetConnect using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetInfo ¶
VirStorageVolGetInfo calls virStorageVolGetInfo using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetInfoFlags ¶
func (raw *RawAPI) VirStorageVolGetInfoFlags(vol unsafe.Pointer, info unsafe.Pointer, flags uint32) (int32, error)
VirStorageVolGetInfoFlags calls virStorageVolGetInfoFlags using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetKey ¶
VirStorageVolGetKey calls virStorageVolGetKey using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetName ¶
VirStorageVolGetName calls virStorageVolGetName using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetPath ¶
VirStorageVolGetPath calls virStorageVolGetPath using its raw C ABI contract.
func (*RawAPI) VirStorageVolGetXMLDesc ¶
func (raw *RawAPI) VirStorageVolGetXMLDesc(vol unsafe.Pointer, flags uint32) (unsafe.Pointer, error)
VirStorageVolGetXMLDesc calls virStorageVolGetXMLDesc using its raw C ABI contract.
func (*RawAPI) VirStorageVolLookupByKey ¶
VirStorageVolLookupByKey calls virStorageVolLookupByKey using its raw C ABI contract.
func (*RawAPI) VirStorageVolLookupByName ¶
func (raw *RawAPI) VirStorageVolLookupByName(pool unsafe.Pointer, name *byte) (unsafe.Pointer, error)
VirStorageVolLookupByName calls virStorageVolLookupByName using its raw C ABI contract.
func (*RawAPI) VirStorageVolLookupByPath ¶
func (raw *RawAPI) VirStorageVolLookupByPath(conn unsafe.Pointer, path *byte) (unsafe.Pointer, error)
VirStorageVolLookupByPath calls virStorageVolLookupByPath using its raw C ABI contract.
func (*RawAPI) VirStorageVolRef ¶
VirStorageVolRef calls virStorageVolRef using its raw C ABI contract.
func (*RawAPI) VirStorageVolResize ¶
func (raw *RawAPI) VirStorageVolResize(vol unsafe.Pointer, capacity uint64, flags uint32) (int32, error)
VirStorageVolResize calls virStorageVolResize using its raw C ABI contract.
func (*RawAPI) VirStorageVolUpload ¶
func (raw *RawAPI) VirStorageVolUpload(vol unsafe.Pointer, stream unsafe.Pointer, offset uint64, length uint64, flags uint32) (int32, error)
VirStorageVolUpload calls virStorageVolUpload using its raw C ABI contract.
func (*RawAPI) VirStorageVolWipe ¶
VirStorageVolWipe calls virStorageVolWipe using its raw C ABI contract.
func (*RawAPI) VirStorageVolWipePattern ¶
func (raw *RawAPI) VirStorageVolWipePattern(vol unsafe.Pointer, algorithm uint32, flags uint32) (int32, error)
VirStorageVolWipePattern calls virStorageVolWipePattern using its raw C ABI contract.
func (*RawAPI) VirStreamAbort ¶
VirStreamAbort calls virStreamAbort using its raw C ABI contract.
func (*RawAPI) VirStreamEventAddCallback ¶
func (raw *RawAPI) VirStreamEventAddCallback(stream unsafe.Pointer, events int32, cb uintptr, opaque unsafe.Pointer, ff uintptr) (int32, error)
VirStreamEventAddCallback calls virStreamEventAddCallback using its raw C ABI contract.
func (*RawAPI) VirStreamEventRemoveCallback ¶
VirStreamEventRemoveCallback calls virStreamEventRemoveCallback using its raw C ABI contract.
func (*RawAPI) VirStreamEventUpdateCallback ¶
VirStreamEventUpdateCallback calls virStreamEventUpdateCallback using its raw C ABI contract.
func (*RawAPI) VirStreamFinish ¶
VirStreamFinish calls virStreamFinish using its raw C ABI contract.
func (*RawAPI) VirStreamFree ¶
VirStreamFree calls virStreamFree using its raw C ABI contract.
func (*RawAPI) VirStreamNew ¶
VirStreamNew calls virStreamNew using its raw C ABI contract.
func (*RawAPI) VirStreamRecv ¶
VirStreamRecv calls virStreamRecv using its raw C ABI contract.
func (*RawAPI) VirStreamRecvAll ¶
func (raw *RawAPI) VirStreamRecvAll(stream unsafe.Pointer, handler uintptr, opaque unsafe.Pointer) (int32, error)
VirStreamRecvAll calls virStreamRecvAll using its raw C ABI contract.
func (*RawAPI) VirStreamRecvFlags ¶
func (raw *RawAPI) VirStreamRecvFlags(stream unsafe.Pointer, data *byte, nbytes uintptr, flags uint32) (int32, error)
VirStreamRecvFlags calls virStreamRecvFlags using its raw C ABI contract.
func (*RawAPI) VirStreamRecvHole ¶
func (raw *RawAPI) VirStreamRecvHole(stream unsafe.Pointer, length *int64, flags uint32) (int32, error)
VirStreamRecvHole calls virStreamRecvHole using its raw C ABI contract.
func (*RawAPI) VirStreamRef ¶
VirStreamRef calls virStreamRef using its raw C ABI contract.
func (*RawAPI) VirStreamSend ¶
VirStreamSend calls virStreamSend using its raw C ABI contract.
func (*RawAPI) VirStreamSendAll ¶
func (raw *RawAPI) VirStreamSendAll(stream unsafe.Pointer, handler uintptr, opaque unsafe.Pointer) (int32, error)
VirStreamSendAll calls virStreamSendAll using its raw C ABI contract.
func (*RawAPI) VirStreamSendHole ¶
func (raw *RawAPI) VirStreamSendHole(stream unsafe.Pointer, length int64, flags uint32) (int32, error)
VirStreamSendHole calls virStreamSendHole using its raw C ABI contract.
func (*RawAPI) VirStreamSparseRecvAll ¶
func (raw *RawAPI) VirStreamSparseRecvAll(stream unsafe.Pointer, handler uintptr, holeHandler uintptr, opaque unsafe.Pointer) (int32, error)
VirStreamSparseRecvAll calls virStreamSparseRecvAll using its raw C ABI contract.
func (*RawAPI) VirStreamSparseSendAll ¶
func (raw *RawAPI) VirStreamSparseSendAll(stream unsafe.Pointer, handler uintptr, holeHandler uintptr, skipHandler uintptr, opaque unsafe.Pointer) (int32, error)
VirStreamSparseSendAll calls virStreamSparseSendAll using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddBoolean ¶
func (raw *RawAPI) VirTypedParamsAddBoolean(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value int32) (int32, error)
VirTypedParamsAddBoolean calls virTypedParamsAddBoolean using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddDouble ¶
func (raw *RawAPI) VirTypedParamsAddDouble(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value float64) (int32, error)
VirTypedParamsAddDouble calls virTypedParamsAddDouble using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddFromString ¶
func (raw *RawAPI) VirTypedParamsAddFromString(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, type_ int32, value *byte) (int32, error)
VirTypedParamsAddFromString calls virTypedParamsAddFromString using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddInt ¶
func (raw *RawAPI) VirTypedParamsAddInt(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value int32) (int32, error)
VirTypedParamsAddInt calls virTypedParamsAddInt using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddLLong ¶
func (raw *RawAPI) VirTypedParamsAddLLong(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value int64) (int32, error)
VirTypedParamsAddLLong calls virTypedParamsAddLLong using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddString ¶
func (raw *RawAPI) VirTypedParamsAddString(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value *byte) (int32, error)
VirTypedParamsAddString calls virTypedParamsAddString using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddStringList ¶
func (raw *RawAPI) VirTypedParamsAddStringList(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, values *unsafe.Pointer) (int32, error)
VirTypedParamsAddStringList calls virTypedParamsAddStringList using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddUInt ¶
func (raw *RawAPI) VirTypedParamsAddUInt(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value uint32) (int32, error)
VirTypedParamsAddUInt calls virTypedParamsAddUInt using its raw C ABI contract.
func (*RawAPI) VirTypedParamsAddULLong ¶
func (raw *RawAPI) VirTypedParamsAddULLong(params *unsafe.Pointer, nparams *int32, maxparams *int32, name *byte, value uint64) (int32, error)
VirTypedParamsAddULLong calls virTypedParamsAddULLong using its raw C ABI contract.
func (*RawAPI) VirTypedParamsClear ¶
VirTypedParamsClear calls virTypedParamsClear using its raw C ABI contract.
func (*RawAPI) VirTypedParamsFree ¶
VirTypedParamsFree calls virTypedParamsFree using its raw C ABI contract.
func (*RawAPI) VirTypedParamsGet ¶
func (raw *RawAPI) VirTypedParamsGet(params unsafe.Pointer, nparams int32, name *byte) (unsafe.Pointer, error)
VirTypedParamsGet calls virTypedParamsGet using its raw C ABI contract.
func (*RawAPI) VirTypedParamsGetBoolean ¶
func (raw *RawAPI) VirTypedParamsGetBoolean(params unsafe.Pointer, nparams int32, name *byte, value *int32) (int32, error)
VirTypedParamsGetBoolean calls virTypedParamsGetBoolean using its raw C ABI contract.
func (*RawAPI) VirTypedParamsGetDouble ¶
func (raw *RawAPI) VirTypedParamsGetDouble(params unsafe.Pointer, nparams int32, name *byte, value *float64) (int32, error)
VirTypedParamsGetDouble calls virTypedParamsGetDouble using its raw C ABI contract.
func (*RawAPI) VirTypedParamsGetInt ¶
func (raw *RawAPI) VirTypedParamsGetInt(params unsafe.Pointer, nparams int32, name *byte, value *int32) (int32, error)
VirTypedParamsGetInt calls virTypedParamsGetInt using its raw C ABI contract.
func (*RawAPI) VirTypedParamsGetLLong ¶
func (raw *RawAPI) VirTypedParamsGetLLong(params unsafe.Pointer, nparams int32, name *byte, value *int64) (int32, error)
VirTypedParamsGetLLong calls virTypedParamsGetLLong using its raw C ABI contract.
func (*RawAPI) VirTypedParamsGetString ¶
func (raw *RawAPI) VirTypedParamsGetString(params unsafe.Pointer, nparams int32, name *byte, value *unsafe.Pointer) (int32, error)
VirTypedParamsGetString calls virTypedParamsGetString using its raw C ABI contract.
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
Secret is a reference-counted libvirt secret handle.
func (*Secret) GetUUIDString ¶
GetUUIDString returns the canonical secret UUID.
func (*Secret) GetXMLDesc ¶
GetXMLDesc returns secret metadata XML. It does not return the secret value.
type StoragePool ¶
type StoragePool struct {
// contains filtered or unexported fields
}
StoragePool is a reference-counted libvirt storage pool handle.
func (*StoragePool) Create ¶
func (pool *StoragePool) Create(flags uint32) error
Create starts an inactive storage pool.
func (*StoragePool) CreateVolumeXML ¶
func (pool *StoragePool) CreateVolumeXML(xml string, flags uint32) (*StorageVol, error)
CreateVolumeXML creates a storage volume.
func (*StoragePool) Destroy ¶
func (pool *StoragePool) Destroy() error
Destroy stops an active storage pool.
func (*StoragePool) Free ¶
func (pool *StoragePool) Free() error
Free releases this wrapper's storage-pool reference.
func (*StoragePool) GetAutostart ¶
func (pool *StoragePool) GetAutostart() (bool, error)
GetAutostart reports whether the storage pool starts automatically.
func (*StoragePool) GetName ¶
func (pool *StoragePool) GetName() (string, error)
GetName returns the pool name.
func (*StoragePool) GetUUIDString ¶
func (pool *StoragePool) GetUUIDString() (string, error)
GetUUIDString returns the canonical pool UUID.
func (*StoragePool) GetXMLDesc ¶
func (pool *StoragePool) GetXMLDesc(flags uint32) (string, error)
GetXMLDesc returns the pool XML.
func (*StoragePool) IsActive ¶
func (pool *StoragePool) IsActive() (bool, error)
IsActive reports whether the storage pool is active.
func (*StoragePool) IsPersistent ¶
func (pool *StoragePool) IsPersistent() (bool, error)
IsPersistent reports whether the pool has persistent configuration.
func (*StoragePool) ListAllVolumes ¶
func (pool *StoragePool) ListAllVolumes(flags uint32) ([]*StorageVol, error)
ListAllVolumes returns volumes in this pool. Each handle must be freed.
func (*StoragePool) LookupVolumeByName ¶
func (pool *StoragePool) LookupVolumeByName(name string) (*StorageVol, error)
LookupVolumeByName returns a referenced volume in this pool.
func (*StoragePool) Refresh ¶
func (pool *StoragePool) Refresh(flags uint32) error
Refresh refreshes the storage pool's volume list.
func (*StoragePool) SetAutostart ¶
func (pool *StoragePool) SetAutostart(autostart bool) error
SetAutostart changes whether the storage pool starts automatically.
func (*StoragePool) Undefine ¶
func (pool *StoragePool) Undefine() error
Undefine removes a persistent storage-pool definition.
type StorageVol ¶
type StorageVol struct {
// contains filtered or unexported fields
}
StorageVol is a reference-counted libvirt storage volume handle.
func (*StorageVol) Delete ¶
func (volume *StorageVol) Delete(flags uint32) error
Delete removes the storage volume.
func (*StorageVol) Download ¶
func (volume *StorageVol) Download(stream *Stream, offset, length uint64, flags uint32) error
Download starts downloading this volume into stream.
func (*StorageVol) Free ¶
func (volume *StorageVol) Free() error
Free releases this wrapper's storage-volume reference.
func (*StorageVol) GetKey ¶
func (volume *StorageVol) GetKey() (string, error)
GetKey returns the volume key.
func (*StorageVol) GetName ¶
func (volume *StorageVol) GetName() (string, error)
GetName returns the volume name.
func (*StorageVol) GetPath ¶
func (volume *StorageVol) GetPath() (string, error)
GetPath returns the volume path.
func (*StorageVol) GetXMLDesc ¶
func (volume *StorageVol) GetXMLDesc(flags uint32) (string, error)
GetXMLDesc returns the volume XML.
func (*StorageVol) Resize ¶
func (volume *StorageVol) Resize(capacity uint64, flags uint32) error
Resize changes the storage volume capacity.
func (*StorageVol) Upload ¶
func (volume *StorageVol) Upload(stream *Stream, offset, length uint64, flags uint32) error
Upload starts uploading stream data into this volume.
func (*StorageVol) Wipe ¶
func (volume *StorageVol) Wipe(flags uint32) error
Wipe securely erases the storage volume according to flags.
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
Stream is a reference-counted libvirt data stream.
func (*Stream) Read ¶
Read receives bytes from the stream. A zero-byte native result maps to io.EOF.
type SymbolUnavailableError ¶
type SymbolUnavailableError struct {
}
SymbolUnavailableError describes a function absent from the loaded libvirt.
func (*SymbolUnavailableError) Error ¶
func (e *SymbolUnavailableError) Error() string
func (*SymbolUnavailableError) Unwrap ¶
func (e *SymbolUnavailableError) Unwrap() error
type TypedParameter ¶
type TypedParameter struct {
Field string
Type TypedParameterType
Value any
}
TypedParameter is an ownership-safe Go representation of virTypedParameter. Value is one of int32, uint32, int64, uint64, float64, bool, or string.
type TypedParameterType ¶
type TypedParameterType int32
TypedParameterType identifies the value stored in a TypedParameter.
const ( TypedParameterInt TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_INT) TypedParameterUInt TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_UINT) TypedParameterLongLong TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_LLONG) TypedParameterULongLong TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_ULLONG) TypedParameterDouble TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_DOUBLE) TypedParameterBoolean TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_BOOLEAN) TypedParameterString TypedParameterType = TypedParameterType(VIR_TYPED_PARAM_STRING) )
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
libvirt-api-gen
command
|
|
|
examples
|
|
|
list-domains
command
|
|
|
internal
|
|
|
generator
Package generator implements libvirt API XML to Go source generation.
|
Package generator implements libvirt API XML to Go source generation. |