recentpopularlog in

kvm

« earlier   
Create a gaming virtual machine using VFIO PCI passthrough for KVM | Fedora 20 | How-to guide | stewart a.
This part of the Fedora 20 home server setup howtos will show you how to create a gaming KVM virtual machine by passing through real hardware using the new VFIO PCI passthrough technique. Your VM will achieve near real-world graphic and audio performance.
kvm  qemu 
2 days ago by dln
Copying a Virtual Machine lv or Partition Over SSH
* Copying a Logical Volume or Partition over SSH
dd if=/dev/vg0/partition-snapshot bs=1k | ssh remotehost dd of=/dev/vg0/partition-destination bs=1k

* Making a LVM Snapshot

Making a snapshot is not as straightforward as it should be on LVM2. Here's how I do it using an imaginary logical volume called "partition" in a volume group called "vg0." First create a partition to hold the snapshot that is the same size as the live partition.

lvcreate -n partition-snapshot -L 10g vg0
lvconvert -s vg0/partition vg0/partition-snapshot

When you're done with it, you can deactivate it with:

lvremove vg0/partition-snapshot
backup  qemu  kvm  virtualization  ssh  vm  dd  snapshot 
4 days ago by dusko
QEMU KVM Virtualization Notes
* How to mount qcow2 disk image on Linux
- Question: I have a qcow2-type disk image which is used by one my guest VMs on QEMU/KVM. I want to modify the content of the disk image without powering on the VM, and for this I need to mount the disk image somewhere. Is there a way to mount a qcow2 disk image on Linux?
http://ask.xmodulo.com/mount-qcow2-disk-image-linux.html

* Mounting QEMU images
http://blog.siphos.be/2016/09/mounting-qemu-images/

* A Centos 7 virtual machine host
http://blog.redit.name/posts/2016/a-centos-7-virtual-machine-host.html

* Virtualizing a physical Linux machine
- Jack Wallen explains how with just two commands you can have a file ready to import into your virtual machine tool of choice.
https://www.techrepublic.com/blog/tr-dojo/virtualizing-a-physical-linux-machine/

* CentOS 7: GRUB2 and Linux with serial console
This article will describe changing GRUB2 and Linux to serial console.
https://www.hiroom2.com/2016/06/07/centos-7-grub2-and-linux-with-serial-console/

* Getting GRUB2 on a qemu disk
https://codezen.org/viridis-ng/2012/08/31/preliminary-work-getting-a-grub2-on-a-qemu-disk/

* Centos7 serial console enabled by grub /etc/default/grub, "grub-mkconfig -o /boot/grub/grub.cfg"
https://gist.github.com/goffinet/ea0df57d760293a5b861e63253dfeea4

* CentOS / RHEL 7 : How to configure serial getty with systemd
https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/

* Enable serial console output in CentOS 7
https://gist.github.com/abeyt/9c3665c4b742d87c84bb

* Modifying files inside a snapshot (qemu img file)
https://unix.stackexchange.com/questions/199673/modifying-files-inside-a-snapshot-qemu-img-file#199764

* Modify Images - OpenStack
https://docs.openstack.org/image-guide/modify-images.html

* guestfs-recipes - libguestfs, guestfish and virt tools recipes
http://libguestfs.org/guestfs-recipes.1.html

* virt-rescue - Run a rescue shell on a virtual machine
http://libguestfs.org/virt-rescue.1.html

* Managing Disk Images with qemu-img
https://www.suse.com/documentation/sles11/book_kvm/data/cha_qemu_guest_inst_qemu-img.html

* Modifying QCOW Images with Guestfish
https://blog.scottlowe.org/2014/03/17/modifying-qcow-images-with-guestfish/
qemu  kvm  virtualization  vm  from notes
6 days ago by dusko
Mounting QEMU images
kpartx works only with raw (uncompressed) images.
kvm  qemu  virtualization  vm 
8 days ago by dusko
How to use KVM from the command line on Debian or Ubuntu
There are different ways to manage virtual machines (VMs) running on KVM hypervisor. For example, virt-manager is a popular GUI-based front-end for VM management. However, if you would like to use KVM on a headless server, GUI-based solutions will not be ideal. In fact, you can create and manage KVM VMs purely from the command line using kvm command-line wrapper script. Alternatively, you can use virsh which is an easier-to-use command-line user interface for managing guest VMs. Underneath virsh, it communicates wtih libvirtd service which can control several different hypervisors including KVM, Xen, QEMU, LXC and OpenVZ.
qemu  kvm  virtualization  vm  cli 
8 days ago by dusko

Copy this bookmark:





to read