Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcfw/kvm_example
KVM API example in Go
https://github.com/tcfw/kvm_example
example go golang kvm kvm-hypervisor virtual-machine virtualization vmm
Last synced: about 2 months ago
JSON representation
KVM API example in Go
- Host: GitHub
- URL: https://github.com/tcfw/kvm_example
- Owner: tcfw
- Created: 2020-01-15T22:40:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T21:29:14.000Z (almost 4 years ago)
- Last Synced: 2023-03-02T19:02:43.074Z (almost 2 years ago)
- Topics: example, go, golang, kvm, kvm-hypervisor, virtual-machine, virtualization, vmm
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KVM Example
Taken from the original KVM example in the linux documentation, but rewritten to Go (mostly).
- Sets up a new KVM VM
- Creates 4KB of RAM
- Copies the assembly code into RAM
- Creates a vCPU
- Sets up vCPU sregs/regs with input and instruction pointer
- Execute until PIO or HLT