Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/digitalocean/go-qemu
/ functions
Functions
916 in github.com/digitalocean/go-qemu
⨍
Functions
916
◇
Types & classes
431
↓ 1 callers
Method
Version
Version returns the version string for the libvirt daemon.
hypervisor/rpc.go:60
↓ 1 callers
Method
addListener
addListener adds the given stream to the domain's event broadcast. The main broadcast goroutine takes ownership of the goroutine's lifetime.
qemu/domain.go:423
↓ 1 callers
Method
broadcast
broadcast sends the provided event to all event listeners.
qemu/domain.go:456
↓ 1 callers
Method
closeAndRemoveListener
closeAndRemoveListener closes the listener and removes it from the domain's event broadcast.
qemu/domain.go:441
↓ 1 callers
Method
closeAndRemoveListeners
closeAndRemoveListeners closes all listeners and removes them from the list.
qemu/domain.go:430
↓ 1 callers
Function
decodeCPUInfo
(bs json.RawMessage)
qmp/raw/autogen.go:4182
↓ 1 callers
Function
decodeImageInfoSpecific
(bs json.RawMessage)
qmp/raw/autogen.go:5161
↓ 1 callers
Function
decodeImageInfoSpecificQCow2Encryption
(bs json.RawMessage)
qmp/raw/autogen.go:5289
↓ 1 callers
Function
decodeKeyValue
(bs json.RawMessage)
qmp/raw/autogen.go:5932
↓ 1 callers
Function
decodeMemoryDeviceInfo
(bs json.RawMessage)
qmp/raw/autogen.go:6020
↓ 1 callers
Function
decodeSchemaInfo
(bs json.RawMessage)
qmp/raw/autogen.go:9177
↓ 1 callers
Function
decodeTPMTypeOptions
(bs json.RawMessage)
qmp/raw/autogen.go:9988
↓ 1 callers
Function
displayBlockDevices
(domain *qemu.Domain)
examples/domain_details/main.go:88
↓ 1 callers
Function
displayPCIDevices
(domain *qemu.Domain)
examples/domain_details/main.go:74
↓ 1 callers
Function
exampleRun
(cmd qmp.Command)
qemu/example_test.go:85
↓ 1 callers
Function
expandTypes
expandTypes returns the union of need and all types it directly references.
internal/qmp-gen/generate.go:56
↓ 1 callers
Function
getUnixRights
(file *os.File)
qmp/socket_unix.go:25
↓ 1 callers
Method
ignoreComment
()
qapi-schema/internal/lex/lex.go:110
↓ 1 callers
Method
ignoreCommentsAndWhitespace
()
qapi-schema/internal/lex/lex.go:95
↓ 1 callers
Method
ignoreWhitespace
()
qapi-schema/internal/lex/lex.go:116
↓ 1 callers
Method
listenAndServe
listenAndServe handles a domain's event broadcast service.
qemu/domain.go:397
↓ 1 callers
Function
newDriver
(domains []string)
hypervisor/example_test.go:67
↓ 1 callers
Function
newRemoveFileReadCloser
newRemoveReadFileCloser opens a temporary file in the filesystem with the input name and returns an io.ReadCloser which removes the temporary file whe
qemu/tempfile.go:25
↓ 1 callers
Method
readAlphaNumeric
()
qapi-schema/internal/lex/lex.go:87
↓ 1 callers
Function
resolvePath
(orig, new string)
internal/qmp-gen/types.go:331
↓ 1 callers
Function
run
()
qapi-schema/cmd/qapiparse/main.go:19
↓ 1 callers
Function
run
()
qapi-schema/cmd/qapilex/main.go:19
↓ 1 callers
Function
run
(domain string, cmd qmp.Command)
hypervisor/example_test.go:89
↓ 1 callers
Function
runQueryCommands
()
qemu/example_test.go:96
↓ 1 callers
Function
runQueryVersion
()
qemu/example_test.go:118
↓ 1 callers
Function
runQueryVersion
(domain string)
hypervisor/example_test.go:98
↓ 1 callers
Function
waitForJob
waitForJob monitors the domain's QMP event stream, waiting for the provided signal. An error is returned when a BLOCK_JOB_ERROR is seen, a timeout occ
qemu/block.go:253
↓ 1 callers
Function
zeroOrMoreSeparatedBy
(elemParser parse.Parser[T], sepParser parse.Parser[U])
qapi-schema/grammar.go:954
Method
AddClient
add_client -> AddClient (command) AddClient implements the "add_client" QMP API call.
qmp/raw/autogen.go:10738
Method
AddFD
add-fd -> AddFD (command) AddFD implements the "add-fd" QMP API call.
qmp/raw/autogen.go:10704
Method
AllFields
(api map[name]interface{})
internal/qmp-gen/types.go:77
Method
Balloon
balloon -> Balloon (command) Balloon implements the "balloon" QMP API call.
qmp/raw/autogen.go:10767
Method
BlockCommit
block-commit -> BlockCommit (command) BlockCommit implements the "block-commit" QMP API call.
qmp/raw/autogen.go:10790
Method
BlockDirtyBitmapAdd
block-dirty-bitmap-add -> BlockDirtyBitmapAdd (command) BlockDirtyBitmapAdd implements the "block-dirty-bitmap-add" QMP API call.
qmp/raw/autogen.go:10825
Method
BlockDirtyBitmapClear
block-dirty-bitmap-clear -> BlockDirtyBitmapClear (command) BlockDirtyBitmapClear implements the "block-dirty-bitmap-clear" QMP API call.
qmp/raw/autogen.go:10856
Method
BlockDirtyBitmapRemove
block-dirty-bitmap-remove -> BlockDirtyBitmapRemove (command) BlockDirtyBitmapRemove implements the "block-dirty-bitmap-remove" QMP API call.
qmp/raw/autogen.go:10881
Method
BlockJobCancel
block-job-cancel -> BlockJobCancel (command) BlockJobCancel implements the "block-job-cancel" QMP API call.
qmp/raw/autogen.go:10906
Method
BlockJobComplete
block-job-complete -> BlockJobComplete (command) BlockJobComplete implements the "block-job-complete" QMP API call.
qmp/raw/autogen.go:10931
Method
BlockJobPause
block-job-pause -> BlockJobPause (command) BlockJobPause implements the "block-job-pause" QMP API call.
qmp/raw/autogen.go:10954
Method
BlockJobResume
block-job-resume -> BlockJobResume (command) BlockJobResume implements the "block-job-resume" QMP API call.
qmp/raw/autogen.go:10977
Method
BlockJobSetSpeed
block-job-set-speed -> BlockJobSetSpeed (command) BlockJobSetSpeed implements the "block-job-set-speed" QMP API call.
qmp/raw/autogen.go:11000
Method
BlockPasswd
block_passwd -> BlockPasswd (command) BlockPasswd implements the "block_passwd" QMP API call.
qmp/raw/autogen.go:11085
Method
BlockResize
block_resize -> BlockResize (command) BlockResize implements the "block_resize" QMP API call.
qmp/raw/autogen.go:11112
Method
BlockSetIOThrottle
block_set_io_throttle -> BlockSetIOThrottle (command) BlockSetIOThrottle implements the "block_set_io_throttle" QMP API call.
qmp/raw/autogen.go:11139
Method
BlockSetWriteThreshold
block-set-write-threshold -> BlockSetWriteThreshold (command) BlockSetWriteThreshold implements the "block-set-write-threshold" QMP API call.
qmp/raw/autogen.go:11025
Method
BlockStream
block-stream -> BlockStream (command) BlockStream implements the "block-stream" QMP API call.
qmp/raw/autogen.go:11050
Method
BlockdevAdd
blockdev-add -> BlockdevAdd (command) BlockdevAdd implements the "blockdev-add" QMP API call.
qmp/raw/autogen.go:11157
Method
BlockdevBackup
blockdev-backup -> BlockdevBackup (command) BlockdevBackup implements the "blockdev-backup" QMP API call.
qmp/raw/autogen.go:11175
Method
BlockdevChangeMedium
blockdev-change-medium -> BlockdevChangeMedium (command) BlockdevChangeMedium implements the "blockdev-change-medium" QMP API call.
qmp/raw/autogen.go:11193
Method
BlockdevCloseTray
blockdev-close-tray -> BlockdevCloseTray (command) BlockdevCloseTray implements the "blockdev-close-tray" QMP API call.
qmp/raw/autogen.go:11224
Method
BlockdevDel
blockdev-del -> BlockdevDel (command) BlockdevDel implements the "blockdev-del" QMP API call.
qmp/raw/autogen.go:11249
Method
BlockdevMirror
blockdev-mirror -> BlockdevMirror (command) BlockdevMirror implements the "blockdev-mirror" QMP API call.
qmp/raw/autogen.go:11272
Method
BlockdevOpenTray
blockdev-open-tray -> BlockdevOpenTray (command) BlockdevOpenTray implements the "blockdev-open-tray" QMP API call.
qmp/raw/autogen.go:11315
Method
BlockdevSnapshot
blockdev-snapshot -> BlockdevSnapshot (command) BlockdevSnapshot implements the "blockdev-snapshot" QMP API call.
qmp/raw/autogen.go:11342
Method
BlockdevSnapshotDeleteInternalSync
blockdev-snapshot-delete-internal-sync -> BlockdevSnapshotDeleteInternalSync (command) BlockdevSnapshotDeleteInternalSync implements the "blockdev-sna
qmp/raw/autogen.go:11367
Method
BlockdevSnapshotInternalSync
blockdev-snapshot-internal-sync -> BlockdevSnapshotInternalSync (command) BlockdevSnapshotInternalSync implements the "blockdev-snapshot-internal-sync
qmp/raw/autogen.go:11403
Method
BlockdevSnapshotSync
blockdev-snapshot-sync -> BlockdevSnapshotSync (command) BlockdevSnapshotSync implements the "blockdev-snapshot-sync" QMP API call.
qmp/raw/autogen.go:11428
Method
CPU
cpu -> CPU (command) CPU implements the "cpu" QMP API call.
qmp/raw/autogen.go:11726
Method
CPUAdd
cpu-add -> CPUAdd (command) CPUAdd implements the "cpu-add" QMP API call.
qmp/raw/autogen.go:11749
Method
Change
change -> Change (command) Change implements the "change" QMP API call.
qmp/raw/autogen.go:11461
Method
ChangeBackingFile
change-backing-file -> ChangeBackingFile (command) ChangeBackingFile implements the "change-backing-file" QMP API call.
qmp/raw/autogen.go:11488
Method
ChangeVNCPassword
change-vnc-password -> ChangeVNCPassword (command) ChangeVNCPassword implements the "change-vnc-password" QMP API call.
qmp/raw/autogen.go:11515
Method
ChardevAdd
chardev-add -> ChardevAdd (command) ChardevAdd implements the "chardev-add" QMP API call.
qmp/raw/autogen.go:11538
Method
ChardevChange
chardev-change -> ChardevChange (command) ChardevChange implements the "chardev-change" QMP API call.
qmp/raw/autogen.go:11572
Method
ChardevRemove
chardev-remove -> ChardevRemove (command) ChardevRemove implements the "chardev-remove" QMP API call.
qmp/raw/autogen.go:11606
Method
ChardevSendBreak
chardev-send-break -> ChardevSendBreak (command) ChardevSendBreak implements the "chardev-send-break" QMP API call.
qmp/raw/autogen.go:11629
Method
ClientMigrateInfo
client_migrate_info -> ClientMigrateInfo (command) ClientMigrateInfo implements the "client_migrate_info" QMP API call.
qmp/raw/autogen.go:11652
Method
Close
Close closes the file handle and removes the file from the filesystem.
qemu/tempfile.go:43
Method
Closefd
closefd -> Closefd (command) Closefd implements the "closefd" QMP API call.
qmp/raw/autogen.go:11683
Method
Connect
()
qmp/qmptest/qmptest.go:63
Method
Connect
()
qemu/domain_test.go:693
Method
Connect
()
hypervisor/hypervisor_test.go:126
Method
Connect
()
hypervisor/hypervisor_test.go:136
Method
Cont
cont -> Cont (command) Cont implements the "cont" QMP API call.
qmp/raw/autogen.go:11706
Method
DeviceAdd
device_add -> DeviceAdd (command) DeviceAdd implements the "device_add" QMP API call.
qmp/raw/autogen.go:11804
Method
DeviceDel
device_del -> DeviceDel (command) DeviceDel implements the "device_del" QMP API call.
qmp/raw/autogen.go:11831
Method
DeviceListProperties
device-list-properties -> DeviceListProperties (command) DeviceListProperties implements the "device-list-properties" QMP API call.
qmp/raw/autogen.go:11772
Method
Disconnect
()
qmp/qmptest/qmptest.go:64
Method
Disconnect
()
qemu/domain_test.go:694
Method
Disconnect
()
hypervisor/hypervisor_test.go:127
Method
Disconnect
()
hypervisor/hypervisor_test.go:141
Method
DiscriminatorField
(api map[name]interface{})
internal/qmp-gen/types.go:57
Method
DomainNames
()
hypervisor/hypervisor_test.go:166
Method
DomainNames
DomainNames retrieves all hypervisor domain names known to the SocketDriver.
hypervisor/socket.go:64
Method
DomainNames
()
hypervisor/example_test.go:85
Method
DomainNames
DomainNames retrieves the names of all virtual machines which reside on a given hypervisor, so that individual connections can be opened using the Dom
hypervisor/hypervisor.go:100
Method
DriveBackup
drive-backup -> DriveBackup (command) DriveBackup implements the "drive-backup" QMP API call.
qmp/raw/autogen.go:11854
Method
DriveMirror
drive-mirror -> DriveMirror (command) DriveMirror implements the "drive-mirror" QMP API call.
qmp/raw/autogen.go:11872
Method
DumpGuestMemory
dump-guest-memory -> DumpGuestMemory (command) DumpGuestMemory implements the "dump-guest-memory" QMP API call.
qmp/raw/autogen.go:11890
Method
DumpSkeys
dump-skeys -> DumpSkeys (command) DumpSkeys implements the "dump-skeys" QMP API call.
qmp/raw/autogen.go:11923
Method
Eject
eject -> Eject (command) Eject implements the "eject" QMP API call.
qmp/raw/autogen.go:11946
Method
Events
Events streams QEMU QMP Events. Events should only be called once per Socket. If used with a qemu.Domain, qemu.Domain.Events should be called to retr
qmp/socket.go:164
Method
Events
(context.Context)
qmp/qmptest/qmptest.go:66
Method
Events
(ctx context.Context)
qemu/domain_test.go:651
Method
Events
(context.Context)
qemu/domain_test.go:696
← previous
next →
101–200 of 916, ranked by callers