MCPcopy Index your code
hub / github.com/digitalocean/go-qemu

github.com/digitalocean/go-qemu @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,347 symbols 2,234 edges 47 files 922 documented · 68% 2 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Node (Interface)
Node is a marker interface that indentifies the implementing concrete type as a QAPI type. [8 implementers]
qapi-schema/tree.go
BlockdevOptions (Interface)
BlockdevOptions -> BlockdevOptions (flat union) BlockdevOptions implements the "BlockdevOptions" QMP API type. Can be o [36 …
qmp/raw/autogen.go
Monitor (Interface)
Monitor represents a QEMU Machine Protocol socket. See: http://wiki.qemu.org/QMP [5 implementers]
qmp/qmp.go
Driver (Interface)
A Driver is a QEMU QMP monitor driver that a Hypervisor can use to perform actions on groups of virtual machines. [4 implementers]
hypervisor/hypervisor.go
Parser (FuncType)
Parser is a Parser function that can read an input token stream and produce the specified type or an error.
qapi-schema/internal/parse/parse.go
RunFunc (FuncType)
A RunFunc is a function invoked to process a qmp.Command. Any data returned by results is marshaled into JSON and retur
qmp/qmptest/qmptest.go
BlockdevRef (Interface)
BlockdevRef -> BlockdevRef (alternate) BlockdevRef implements the "BlockdevRef" QMP API type. Can be one of: - Blockdev [36 …
qmp/raw/autogen.go
Versioner (Interface)
A Versioner is a Driver that is able to report its version on the Hypervisor. [2 implementers]
hypervisor/hypervisor.go

Core symbols most depended-on inside this repo

Run
called by 175
qmp/qmp.go
Map
called by 141
qapi-schema/internal/parse/parse.go
All3
called by 81
qapi-schema/internal/parse/parse.go
exactStrParser
called by 43
qapi-schema/grammar.go
OneOf
called by 31
qapi-schema/internal/parse/parse.go
atLeastOneSeparatedBy
called by 18
qapi-schema/grammar.go
addName
called by 18
internal/qmp-gen/generate.go
String
called by 15
qmp/qmp.go

Shape

Method 761
Struct 269
Function 155
TypeAlias 121
Interface 25
FuncType 16

Languages

Go100%

Modules by API surface

qmp/raw/autogen.go992 symbols
qapi-schema/tree.go41 symbols
qemu/domain_test.go37 symbols
qemu/domain.go26 symbols
internal/qmp-gen/types.go25 symbols
hypervisor/hypervisor_test.go18 symbols
qapi-schema/internal/parse/parse.go17 symbols
qapi-schema/applicator.go13 symbols
qmp/socket_test.go12 symbols
qapi-schema/internal/lex/lex.go12 symbols
qmp/socket.go11 symbols
qmp/qmp.go11 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add go-qemu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact