HCIP-linux and kvm

1, linux Linux installation tutorial reference, https://blog.51cto.com/cloudcs/5245337 yum source configuration Local yum source configuration: Version 8 configuration: mount the CD-ROM ISO to a certain directory, /dev/cdrom is a soft link to /dev/sr0, # mount /dev/cdrom /mnt, # ls /mnt AppStream BaseOS EFI images isolinux media.repo TRANS.TBL # cd /etc/yum.repos.d/ After all backups, clear and create […]

Full analysis of QEMU source code 30 – QEMU/KVM API usage examples

References for the content of this article: “QEMU/KVM” Source Code Analysis and Application — Li Qiang, Mechanical Industry Press Thank you very much! In the previous articles of this series, I explained QEMU parameter analysis, QEMU Module (module), and spent a lot of effort (more than a dozen articles) to explain QOM. After these basics […]

A Preliminary Exploration of KVM Virtualization Technology: A Beginner’s Guide

Source: Linux Kernel Tour 01 First understand the concept of virtualization Virtualization refers to a process of logical abstraction, isolation, redistribution, and management of resources. Usually, there are broad and narrow definitions of virtualization. In a broad sense, it includes platform virtualization, application virtualization, storage virtualization, network virtualization, device virtualization, and so on. In a […]

kvm+qemu+libvirt management virtual machine

virt-manager graphically creates virtual machines #virt-manager manages remote kvm virtual machines # You can specify the ssh port of the kvm virtual machine and the private key of the host where virt-manager is located virt-manager -c ‘qemu + ssh://[email protected]:5555/system?keyfile=id_rsa’ –no-fork # If the name of the ssh-key you generated is test-key, it is in the […]

KVM disk snapshot clone

KVM disk snapshot clone KVM virtual machine disk format conversion Just now we found that the virtual machine file created by KVM The following format This raw is our virtual machine file [root@kvm01 data]# ls centos2.raw CentOS-7-x86_64-DVD-1804.iso [External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to […]

kvm centos7 disk expansion

Resize disk online: Log in to the KVM host and use qemu-img resize to resize the disk image file to the new size [root@yiyouhui-to-aliyun ~]#qemu-img resize /home/VirtHosts/vm02.qcow2 + 40G Add 40GB Add new disk partition 1. Check and find that the newly added disk capacity is in place (disk /dev/sda: 85.9 GB, 85899345920 bytes, 167772160 […]

A Preliminary Exploration of KVM Virtualization Technology: A Beginner’s Guide

First understand the concept of virtualization Virtualization refers to a process of logical abstraction, isolation, redistribution, and management of resources. Usually, there are broad and narrow definitions of virtualization. In a broad sense, it includes platform virtualization, application virtualization, storage virtualization, network virtualization, device virtualization, and so on. In a narrow sense, virtualization specifically refers […]

KVM virtual machine management and basic use

KVM virtual machine management and basic use Introduction to KVM KVM – the full name is Kernel-based Virtual Machine (Kernel-based Virtual Machine) It is an open source software, kernel-based virtualization technology, which is actually a virtualization module embedded in the system, through Optimize the kernel to use virtual technology. This kernel module makes Linux a […]

QEMU-KVM CPU virtualization

VM has been integrated into Linux since kernel 2.6.20, and as a kernel module of Linux, it is dynamically loaded when Linux starts. KVM utilizes the feature of hardware-assisted virtualization to efficiently implement CPU and memory virtualization. In fact, KVM cannot be used alone because it neither provides simulation of I/O devices nor supports management […]

VirtualBox deploys KVM virtualization

What is KVM technology? KVM (Kernel-based Virtual Machine) is an open source virtualization technology that is part of the Linux kernel. By converting the Linux kernel into a hypervisor, KVM allows multiple virtual machine instances to run on the same physical host, and each instance can exclusively share part of the system resources. The working […]