MMIO simulation principle
Basic principles
Simulation principle
MMIO Memory, memory mapped I / O memory, is a memory type defined by QEMU/KVM. Like ordinary RAM Memory, MMIO Memory in Guest also represents a memory area. It is also volatile storage.The difference between MMIO Memory and RAM Memory is that when the Guest reads and writes the memory represented by M ...
Posted by walkero on Mon, 28 Feb 2022 14:09:59 +0100
KVM, esxi virtual machine
1. Install and configure kvm virtual machine and create virtual machine.
1.1 when minimizing installation, change to graphical interface
You need to turn on these CPU options when using the virtual machine
Turn off the firewall, turn off selinux
systemctl disable firewalld
sed -i 's/SELINUX=enforcing$/SELINUX=disabled/g' /etc/selinux/co ...
Posted by jenni on Sun, 20 Feb 2022 12:57:22 +0100
kvm storage pool and storage volume management configuration (directory based, NFS based, partition based)
Storage pool
Files, directories, or storage devices managed by libvirt are provided to virtual machines. Storage pools are divided into storage volumes that hold virtual images or connect to virtual machines as additional storage.
Command:
virsh storage pool related commands
pool-autostart Automatically start a pool
pool-build Build pool
p ...
Posted by gevo12321 on Wed, 09 Feb 2022 20:43:16 +0100
How is StratoVirt's interrupt handling implemented?
Interrupt is an operation in which an external device sends a request to the operating system to interrupt the task being executed by the CPU and then deal with special events. The device cannot be directly connected to the CPU, but is uniformly connected to the interrupt controller, which manages and distributes device interrupts. ...
Posted by messels on Wed, 26 Jan 2022 12:52:02 +0100
Hypercall mechanism of KVM
Only x86 architecture is concerned here.
According to the kernel document, under x86 architecture, KVM Hypercall is a 3-byte instruction, vmcall instruction or vmmcall instruction.
Up to four parameters are transmitted through registers rbx, rcx, rdx and rsi. Then, the call number of hypercall is stored in rax, and the call return value is al ...
Posted by pmaonline on Fri, 21 Jan 2022 08:08:58 +0100
Basic knowledge, construction and deployment of KVM virtualization platform!
Virtualization Technology
Overview: the virtualization knowledge here refers to virtualizing a computer into multiple logical computers through virtualization technology, so as to improve the working efficiency of the computer. At the same time, each logical computer can run different operating systems, and the application programs can ...
Posted by vishwavivek on Tue, 21 Dec 2021 17:57:04 +0100