====== Linux Kernel Virtual Machines ====== [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/form-Virtualization_Host_Configuration_and_Guest_Installation_Guide-Para_virtualized_drivers-Installing_with_a_virtualized_floppy_disk.html|Install Drivers During Windows Installation (Preferred)]] [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/form-Virtualization_Host_Configuration_and_Guest_Installation_Guide-Para_virtualized_drivers-Mounting_the_image_with_virt_manager.html|Install Drivers After Windows Guest Installation]] :!: Consider using ''raw'' disk images/partitions hosting Microsoft SQL database files for best performance. ===== Create a Windows 7 VM ===== - Create the VM using Virt-Manager * Choose **Customize configuration before install** - Remove Disk 1 - Add Hardware - VirtIO Drivers ISO * Storage -> Select managed or other existing -> Browse -> Browse Local -> virtio-win-0.1-59.iso * Device type -> IDE CDROM - Disk 1 * Storage -> Create disk image (at least 30GB) * Allocate entire disk now -> Deselect * Device type -> VirtIO disk * Cache mode -> None * Storage format -> qcow2 - Modify the NIC * Device Model -> VirtIO - Modify the Video * Model -> QXL - Modify the Display * Type -> SPICE * Add the Spice agent channels -> Yes - Start the Windows installation * Load Driver -> Select all three VirtIO drivers * NIC * SCSI * Balloon ===== Virtual to Physical ===== http://www.savelono.com/linux/how-to-migrate-a-qemu-kvm-image-to-a-physical-machinepc.html ===== Virtualbox to KVM Migration ===== http://arjunstechblog.blogspot.com/2011/06/how-to-migrate-from-virtualbox-to-kvm.html VBoxManage clonehd --format RAW orig_disk_name.[vdi|vmdk] new_disk_name.img qemu-img convert -f raw new_disk_name.img -O qcow2 new_disk_name.qcow