go-qemu icon indicating copy to clipboard operation
go-qemu copied to clipboard

Go packages to interact with QEMU using the QEMU Machine Protocol (QMP). Apache 2.0 Licensed.

Results 28 go-qemu issues
Sort by recently updated
recently updated
newest added

Patch drains possible events on qmp socket until true "qmp_capabilities" response is received. This targets a nasty and rare problem in "Connect(), Run()" sequence, when asynchronous QEMU "event" just after...

Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr) from 0.1.1 to 0.3.0. Commits 10866c5 feat: HideT completely omits fields of the given type cded7b9 feat: add ScalarLiterals() to bypass string representations of scalar type al... fba37ee...

dependencies

If some other process(e.g. libvirtd) occupy the qmp socket, run command will hang. Sometimes we use go-qemu to take over VM when libvirtd stopped, but libvirtd service will start automatically...

The project used Go has Incorrect Privilege Reporting in syscall. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible. The `syscall.Faccessat`...

This is the only unimplemented template for code generation.

To reproduce: ```go package main import ( "encoding/json" "os" "github.com/digitalocean/go-qemu/qmp/raw" ) func main() { s := "libvirt-1-format" opts := raw.BlockdevOptionsNBD{NodeName: &s} _ = json.NewEncoder(os.Stdout).Encode(opts) } ``` output runtime: goroutine stack...

bug

The QAPI spec has developed quite a bit since go-qemu was last generated. For example, there are now CONFIG switches where fields will be included or excluded based on the...

virsh qemu-monitor-command DOMAIN --pretty '{ "execute": "query-block" }' In Ubuntu20, QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.21) "dirty-bitmaps" and "inserted" are at the same level of BlockInfo, match qmp/raw/autogen.go BlockInfo ```shell...