Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + const DEFAULT_XEN_LOG + const LIBXL_DISK_BACKEND_PHY — linux/amd64 + const LIBXL_DISK_BACKEND_QDISK — linux/amd64 + const LIBXL_DISK_BACKEND_TAP — linux/amd64 + const LIBXL_DISK_BACKEND_UNKNOWN — linux/amd64 + const LIBXL_DISK_FORMAT_EMPTY — linux/amd64 + const LIBXL_DISK_FORMAT_QCOW — linux/amd64 + const LIBXL_DISK_FORMAT_QCOW2 — linux/amd64 + const LIBXL_DISK_FORMAT_RAW — linux/amd64 + const LIBXL_DISK_FORMAT_UNKNOWN — linux/amd64 + const LIBXL_DISK_FORMAT_VHD — linux/amd64 + const PCI_AVAILABLE_ADDRESS + const REQUIRED_VERSION + func DomainDeath_cgo(domid C.uint32_t) — linux/amd64 + func HyperDomainCleanup(ctx LibxlCtxPtr, ev unsafe.Pointer) — linux/amd64 + func HyperxlDiskAdd(ctx LibxlCtxPtr, domid uint32, source, target string, backend LibxlDiskBackend, ...) int — linux/amd64 + func HyperxlDiskRemove(ctx LibxlCtxPtr, domid uint32, source, target string, backend LibxlDiskBackend, ...) int — linux/amd64 + func HyperxlDomainCheck(ctx LibxlCtxPtr, domid uint32) int — linux/amd64 + func HyperxlDomainDestroy(ctx LibxlCtxPtr, domid uint32) int — linux/amd64 + func HyperxlDomainStart(ctx LibxlCtxPtr, config *DomainConfig) (int, unsafe.Pointer, int) — linux/amd64 + func HyperxlNicAdd(ctx LibxlCtxPtr, domid uint32, ip, bridge, gatewaydev, ifname string, ...) int — linux/amd64 + func HyperxlNicRemove(ctx LibxlCtxPtr, domid uint32, mac string) int — linux/amd64 + func HyperxlSigchldHandler(ctx LibxlCtxPtr) — linux/amd64 + func LibxlCtxFree(ctx LibxlCtxPtr) int — linux/amd64 + func XlStartDomain(ctx LibxlCtxPtr, id string, boot *hypervisor.BootConfig, ...) (int, unsafe.Pointer, error) + type DomainConfig struct + Cmdline string + ConsoleSock string + Extra []string + Hvm bool + Initrd string + Kernel string + MaxMemory int + MaxVcpus int + Name string + type HyperxlDiskConfig C.struct_hyperxl_disk_config — linux/amd64 + type HyperxlDomainConfig C.struct_hyperxl_domain_config — linux/amd64 + type HyperxlNicConfig C.struct_hyperxl_nic_config — linux/amd64 + type LibxlCtxPtr *C.struct_libxl__ctx — linux/amd64 + type LibxlDiskBackend C.enum_libxl_disk_backend — linux/amd64 + type LibxlDiskFormat C.enum_libxl_disk_format — linux/amd64 + type LibxlEvent C.struct_libxl_event — linux/amd64 + type XenContext struct + func (xc *XenContext) AddDisk(ctx *hypervisor.VmContext, name, sourceType, filename, format string, id int) + func (xc *XenContext) AddNic(ctx *hypervisor.VmContext, host *hypervisor.HostNicInfo, ...) + func (xc *XenContext) Associate(ctx *hypervisor.VmContext) + func (xc *XenContext) BuildinNetwork() bool + func (xc *XenContext) Close() + func (xc *XenContext) Dump() (map[string]interface{}, error) + func (xc *XenContext) Kill(ctx *hypervisor.VmContext) + func (xc *XenContext) Launch(ctx *hypervisor.VmContext) + func (xc *XenContext) RemoveDisk(ctx *hypervisor.VmContext, filename, format string, id int, ...) + func (xc *XenContext) RemoveNic(ctx *hypervisor.VmContext, device, mac string, callback hypervisor.VmEvent) + func (xc *XenContext) Shutdown(ctx *hypervisor.VmContext) + type XenDriver struct + Capabilities string + Ctx LibxlCtxPtr + Logger *XentoollogLogger + Version uint32 + func HyperxlInitializeDriver() (*XenDriver, int) + func InitDriver() *XenDriver + func (xd *XenDriver) InitContext(homeDir string) hypervisor.DriverContext + func (xd *XenDriver) Initialize() error + func (xd *XenDriver) LoadContext(persisted map[string]interface{}) (hypervisor.DriverContext, error) + type XentoollogLogger C.struct_xentoollog_logger — linux/amd64