Crmgo Blog

KVM

← Blog / Linux

KVM

Posts: 10

KVM, USB Device Passthrough

KVM, USB Device Passthrough

· KVM

Find out which bus the USB device is on: # lsusb Bus 007 Device 002: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux…

Управление виртуальными машинами KVM с помощью virsh

Управление виртуальными машинами KVM с помощью virsh

· KVM

Текстовая утилита virsh предназначена для управления гостевыми системами и гипервизором. virsh использует libvirt API и служит альтернативой xm и графическому менеджеру виртуальных машин ( virt-manager ). Непривилегированные пользователи могут выполнять доступ в только в режиме чтения. С помощью virsh можно…

KVM Configuration Files

KVM Configuration Files

· KVM

The configuration of virtual machines is stored in XML files in the /etc/libvirt/qemu/ directory. To display the configuration of a VM named freebsd, enter: or After creating virtual machines using virt-manager or virt-install, XML files describing the virtual machine configuration will be created in the /etc/libvirt/qemu/ directory. To edit…

KVM, cloning error in CentOS 7

KVM, cloning error in CentOS 7

· KVM

When cloning a VM, an unpleasant bug occurs related to its configuration file. This file contains a section where `test` is the VM name. When cloning using the command: `virt-clone -o test -n test2 -f /tmp/test2.img`, the name in the path does not change with…

virt-manager

virt-manager

· KVM

sudo apt-get install virt-manager for Ubuntu 14: sudo apt-get install libspice-client-gtk-3.0-4 virt-viewer python-spice-client-gtk

Cloning KVM

Cloning KVM

· KVM

Before cloning, make sure the source image contains everything needed for future clones. If you've just installed the operating system, consider whether it makes sense to additionally install mc, nano, traceroute, configure networking, hostname, SSH motd, iptables, and so on. Verify network connectivity and install the latest…

KVM on CentOS

KVM on CentOS

· KVM

Installing KVM We’ve finally reached the point of installing KVM virtualization, the QEMU emulator, and related tools. Install the necessary packages: # yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install # systemctl enable libvirtd && systemctl start libvirtd We will store virtual machine images in…

Linux LVM

Linux LVM

· KVM

At the beginning of the disk, we create a volume group descriptor. Shell pvcreate /dev/sdc 1 pvcreate /dev/sdc To create the volume group test, use the command Shell vgcreate test /dev/sdc 1 vgcreate test /dev/sdc If you want to include other disks or partitions in the volume group...

Install KVM

Install KVM

· KVM

http://www.linux-kvm.com/content/redhat-54-windows-virtio-drivers-part-2-block-drivers - driver for HDD http://serverfault.com/questions/373372/how-to-connect-a-cdrom-device-to-a-kvm-qemu-domain-using-command-line-tools - CD-ROM http://www.linux-kvm.com/content/redhat-54-windows-virtio-drivers-part-2-block-drivers - install super@wsl043200-nb:~$ sudo virsh attach-disk windows_test /home/install/KVM/viostor.iso hdc --type cdrom Disk attached successfully Ubuntu 12.04