kvm-host
kvm-host copied to clipboard
A minimalist type 2 hypervisor using Linux Kernel Virtual Machine (KVM)
In #9 , we have an abstraction of bus device with read and write method now. Since we have PCI and UART device emulation now, and there could be more...
[blackhv](https://github.com/18AX/blackhv) demonstrates how a simple framebuffer device can be implemented in a fairly straightforward way.
## Implementation of Virtio-net Device - Defined struct `virtio_net_dev` to represent the virtio-net device. - Implemented `virtio_net_init` to initialize the TAP device for communication. - Introduced `virtio_net_init_pci` to register the...
Reported by Cppcheck: ``` Checking src/virtio-blk.c ... src/virtio-blk.c:115:21: style: Local variable 'r' shadows outer variable [shadowVariable] ssize_t r; ^ src/virtio-blk.c:105:13: note: Shadowed declaration int r = 0; ^ src/virtio-blk.c:115:21: note:...