Virtualization

IOMMU

check VDI for GPU passthrough.
1
intel_iommu=on kvm-intel.nested=1
Copied!

Hyper-V DDA

UI

webvirtcloud

`# oVirt

https://www.ovirt.org/download/ Engine running as a Virtual Machine on that Host: RHEL/CentOS

Compare

vendor
storage
PVE
LVM-thin/ZFS
libvirtd
qcow2

OVMF (Open Virtual Machine Firmware)

http://www.linux-kvm.org/downloads/lersek/ovmf-whitepaper-c770f8c.txt a sub-project of Intel's EFI Development Kit II (edk2)

Xen vs KVM

Xen

1
apt-get build-dep xen # `deb-src` required
2
make xenconfig # kernel 4.2+
Copied!
1
apt-get install xen-system
Copied!

VSphere / ESXi

Raw disk mapping (RDM)

1
ls -alh /vmfs/devices/disks
2
vmkfstools -r /vmfs/devices/disks/<device> example.vmdk
3
vmkfstools -z /vmfs/devices/disks/<device> example.vmdk
Copied!
Ref

Config

Ref

Backup

vim-cmd hostsvc/firmware/backup_config

Restore

1
vim-cmd hostsvc/maintenance_mode_enter
2
vim-cmd hostsvc/firmware/restore_config /tmp/configBundle.tgz
Copied!

vmdk

1
vmkfstools -i "source.vmdk" -d thin "destination.vmdk"
Copied!
The tool also reverts a vmdk which was blown up, back into a thin file! (Ref)

Inject driver

Vagrant

1
sudo apt-get install vagrant
2
sudo apt-get install libz-dev
3
vagrant plugin install vagrant-mutate
4
vagrant mutate http://files.vagrantup.com/precise32.box libvirt
5
vagrant plugin install vagrant-libvirt
6
7
vagrant plugin install vagrant-lxc
8
9
vagrant box add hashicorp/precise64 && tar *.box -C out_folder
Copied!

Intel vPro

https://en.wikipedia.org/wiki/Intel_vPro Intel vPro technology is an umbrella marketing term used by Intel for a large collection of computer hardware technologies, including Hyperthreading, Turbo Boost 3.0, VT-x, VT-d, Trusted Execution Technology (TXT), and Intel Active Management Technology (AMT).[1] When the vPro brand was launched (circa 2007), it was identified primarily with AMT,[2][3] thus some journalists still consider AMT to be the essence of vPro.[4]

Q35

1
Q35 has IOMMU
2
Q35 has PCIe Switches vs PCI Bridges (I440FX/PIIX4)
Copied!

OSX on KVM

Hyper-V

Check support

1
systeminfo
Copied!

Turn Off

1
C:\>bcdedit /copy {current} /d "No Hyper-V"
2
The entry was successfully copied to {ff-23-113-824e-5c5144ea}.
3
4
C:\>bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off
5
The operation completed successfully.
Copied!
Last modified 1yr ago