a USB port. Flash drives and memory cards already contain firmware and controllers, so these drivers allow the kernel to use USB ports and with USB devices.UWB-Ultra-wideband drives ultra-low power RF devices for managing short-range, high-bandwidth communicationsVfio-Vfio driver that allows the device to access user space.Vhost-This is the Virtio server driver used in the host kernel. Used in virtualization.Video-This is the video driver used to man
Today look at Ming elder brother sent a more detailed KVM post, the last section of the clone virtual machine configuration file has a modified disk interface is not the IDE but virtio. Suddenly the brain is a flash, will not be the interface of the problem caused by slow start. Then I made the following modifications:
Virsh Edit CentOS
"CentOS" is the name of the virtual machine
At that time, the countdown is two lines, I was deleted, this line
Canonical released the kernel update package for Ubuntu12.04LTS (PrecisePangolin) on April 9, October 20. It is mainly used to fix two LinuxKernel vulnerabilities. The first security defect is found in the Virtio network module of LinuxKernel. Kernel Memory Corruption may occur due to improper fragment processing, and remote attackers may be allowed to launch denial-of-service attacks. In severe cases, attackers can execute remote code to crash the sy
Info ROMs
Shows the Roms
Info migrate_cache_sizes
Shows the current migration xbzrle (= XOR based zero Run Length Encoding) cache size.
Info migrate_capabilities
Shows the status of the various migration capabilities, such as xbzrle compression.
Info mtree
Shows the VM guest memory hierarchy.
Info trace-Events
Shows Available Trace-events and their status.
These functions can be run in vncviewer. How
1. Create a folder-based storage pool (directory)2. Define the storage pool and its directory1# virsh pool-define-asvmdisk --type dir --target /data/vmfs3. Create a defined storage pool (1) Create a defined storage pool1# virsh pool-build vmdisk(2) To view the defined storage pool, the storage pool is not activated and cannot be used.1#virsh pool-list --all4. Activating and automatically starting a defined storage pool12# virsh pool-autostart vmdisk# virsh pool-start vmdiskHere the Vmdisk storag
Tags: centos openstack cinder NFS device drive-virtio-Brief description of NFS service
NFS is short for network file system, that is, Network File System. An agreement for the use of distributed file systems, developed by Sun, was published on April 9, 1984. The function is to allow different machines and different operating systems to share individual data with each other through the network, so that applications can access data on server disks throu
virtual memory
In theory, a 32-bit operating system supports a maximum of 4 GB memory. However, by using PageAddress Extension (PAE) technology, a maximum of 64 GB memory can be used in virtualization. Note: not all virtualization operating systems are supported.
3. PCI
A maximum of 31 virtual PCI devices are supported, including: PCI host bridge, ISA bridge, USB, board, graphics card, IDE, and VirtIO.
4. Storage Devices
Up to 28 virtualized storage
libraryvirtinst Programs to create and clone virtual machines using INST is a shell form of virt-install to manage settings/etc/libvirt /libmongod. set the listening address and modify/etc/libvirt/qemu. set the vnc listening address in the vnc_listen parameter of conf. Restart libvirt:/etc/init. d/libvirt-bin restart virt-install the VM: 1root @ debian:/opt # virt-install-d-n vm_kvm-r 2048 -- disk path =/opt/debian6.img, bus = virtio, cache = none --
, as shown below:
Auto lo
Iface lo inet loopback
Auto eth0
Iface eth0 inet manual
Auto br0
Iface br0 inet static
Address 10.1.6.90
Netmask 255.255.255.0
Gateway 10.1.6.254
Bridge_ports eth0
Bridge_fd 9
Bridge_hello 2
Bridge_maxage 12
Bridge_stp off
Install the image-based vm, go to the/opt directory, import a debian6 iso installation image, and then use kvm-img to generate a vm image
Kvm-img create-f qcow2 debian. img 5G
Use the virt-install method to manage virtual machines and install the foll
way to install:[Email protected]/]# mkdir-p/kvm/image[[email protected] ~]# virt-install--name=vm2--ram--vcpus=1--disk path=/ Image/vm2.img,size=7,bus=virtio--accelerate--cdrom=/iso/rhel6.5/rhel-server-6.5-x86_64-dvd.iso--vnc--vncport= 5910--vnclisten=0.0.0.0--network bridge=br0,model=virtio--noautoconsole-name specifying the virtual machine name--ram allocates memory size.--vcpus allocates CPU cores, with
. 0.2,172.17. 0.254,255.255. 255.0, 12h--conf-file=6. View the DNSMASQ process that has been started:??PSAux |grepDnsmasqnobody3471 0.0 0.0 35228 2412? S A: - 0:xx/USR/SBIN/DNSMASQ--strict-order--bind-interfaces--interface=qdhcp--except-interface=lo--pid-file=/var/run/dnsmasq/qdhcp.pid--leasefile-ro--dhcp-range=172.17.0.2,172.17.0.254,255.255.255.0, 12h--conf-file=7, the following is the collation of two virtual machine VM1, VM2 configuration file, here only show interface this configurati
machine.
Later, Intel added the INTELVT instruction set to its own chip, and AMD added the AMDV instruction set to its chip to make up for the "virtualization vulnerability." Then there is the KVM virtual machine software, which directly with the CPU hardware instructions for virtualization.
KVM runs directly on the physical CPU when executing CPU instructions and is therefore highly efficient. However, when virtual machines run virtual peripherals, they must be simulated with software, so the
environment.QEMU/KVM :For QEMU, the following work is similar:qemu-system-i386 -m 2048 mininet-vm-disk1.vmdk -net nic,model=virtio -net user,net=192.168.101.0/24,hostfwd=tcp::8022-:22KVM:sudo qemu-system-i386 -machine accel=kvm -m 2048 mininet-vm-disk1.vmdk -net nic,model=virtio -net user,net=192.168.101.0/24,hostfwd=tcp::8022-:22The above command will be set to ssh forward from the 8022 VM host port.simil
the program is not uninstalled, if you want to uninstall, you can use the-F option to force the uninstall, This option is supported by both Modprobe and Rmmod, but it is not recommended to force uninstallation unless a system failure occurs.Advanced Configuration of module functionsAt the beginning of the CentOS6 system, the udev loading mechanism was used, and all the necessary modules were loaded automatically by Udev . Therefore, if you do not need any additional modules, it is not necessary
features than plain dm-crypt. on the are visible and vulnerable to damage.This man, written so well, in the man I have seen can be ranked in the top three./home/tong/bin [[email protected]] [:]> Man cryptsetupA: Get a virtual machine to do experiments first:0.0. 0.0:11 -M 1g-drive file=disk.qcow2,if=virtio-net bridge-net nic,model=virtio- CDROM. /iso/archlinux-2017.05. onTwo: Encrypt non-root partit
settings for CentOS system"
4, the query results, belong to the Pciutils Toolkit, install the toolkit:
#yum--disablerepo=\*--enablerepo=c6-media Install pciutils
installing : pciutils-3.1.4-9.el6.i686 1/1
installed:
pciutils.i686 0:3.1.4-9.el6
complete!
5, installation complete, in the virtual machine console to query the type of network card
# Lspci | grep Ethernet
00:03.0
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.