Registry / networking / digitalocean-go-qemu

digitalocean-go-qemu

JSON →
library0.0.0-20230711162256-2e3d0186973egogounverified

Go bindings for interacting with QEMU machine emulator and virtualizer.

go get github.com/digitalocean/go-qemu
INSTALL
IMPORT
SIG · DIGITALOCEAN-GO-QE
D
digitalocean-go-qemu
networkinggov0.0.0-20230711162256-2e3d0186973e
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.

qemu
github.com/digitalocean/go-qemu

Connects to a QEMU instance via QMP socket monitor.

package main import ( "fmt" "github.com/digitalocean/go-qemu/qmp" ) func main() { // Example: connect to a QEMU QMP socket mon, err := qmp.NewSocketMonitor("unix", "/tmp/qemu.sock", 2) if err != nil { fmt.Println("Error:", err) return } defer mon.Disconnect() fmt.Println("Connected to QEMU monitor") }
Debug
Known issues
gotchaRequires a running QEMU instance with QMP enabled; not a standalone library.
fix
Ensure QEMU is started with -qmp unix:/path/to/socket,server,nowait.
affects: all
Upgrade
Version history
0.0.0-20230711162256-2e3d0186973elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
digitalocean-go-qemu — go get digitalocean-go-qemu · libregistry