Registry / cloud / libvirt-libvirt-go

libvirt-libvirt-go

JSON →
library7.4.0+incompatiblegogounverified

Package libvirt provides a Go binding to the libvirt C library, supporting versions 1.2.0 onwards.

go get github.com/libvirt/libvirt-go
INSTALL
IMPORT
SIG · LIBVIRT-LIBVIRT-GO
L
libvirt-libvirt-go
cloudgov7.4.0+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libvirt
github.com/libvirt/libvirt-go

Connects to a local QEMU hypervisor via libvirt.

package main import ( "fmt" "github.com/libvirt/libvirt-go" ) func main() { conn, err := libvirt.NewConnect("qemu:///system") if err != nil { fmt.Println(err) return } defer conn.Close() fmt.Println("Connected to libvirt") }
Debug
Known issues
gotchaRequires libvirt C library and development headers installed on the system.
fix
Install libvirt-dev (or equivalent) package before building.
affects: >=1.0.0
Upgrade
Version history
7.4.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
libvirt-libvirt-go — go get libvirt-libvirt-go · libregistry