libvirt
Releases
https://libvirt.org/news.html
install
https://help.ubuntu.com/community/KVM/Installation
Config
https://wiki.libvirt.org/page/FAQ#Where_are_VM_config_files_stored.3F_How_do_I_edit_a_VM.27s_XML_config.3F
Debug
https://fedoraproject.org/wiki/How_to_debug_Virtualization_problems
http://events.linuxfoundation.org/sites/events/files/slides/Debugging-libvirt-QEMU-in-OpenStack-2015-CloudOpen-Eu.pdf
https://libvirt.org/logging.html
gdb: https://access.redhat.com/blogs/766093/posts/2690881
virsh
snapshot
Pool
Driver
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso https://github.com/torvalds/linux/blob/master/drivers/virtio/Kconfig VIRTIO_BALLOON supports increasing and decreasing the amount of memory within a KVM guest. VIRTIO_MMIO support for memory mapped virtio platform device driver.
OVS
http://docs.openvswitch.org/en/latest/howto/libvirt/
virt-manager / create bridge :
MacVTap
https://hicu.be/bridge-vs-macvlan
Macvlan Bridge: VM-VM has bridge
Macvlan private: VM-VM no communication
Macvlan VEPA: VM-VM communicate via VEPA capable switch
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-attch-nic-physdev.html
passthrough attaches a virtual function of a SRIOV capable NIC directly to a VM without losing the migration capability.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/App_Macvtap.html when a guest virtual machine is configured to use a type='direct' network interface such as macvtap, ..., the guest cannot communicate with its own host.
My workaround: deassign macvtap host NIC's IP, and communicate with host's 2nd NIC.
Linux bridge
try if no dhcp:
VLAN
Macvlan Bridge
OVS - VLAN tagging transparent
https://libvirt.org/formatdomain.html#setting-vlan-tag-on-supported-network-types-only
Shutdown timeout
Nested
booting with kvm-intel.nested=1 argument on the kernel command line, or:
https://www.linux-kvm.org/page/Nested_Guests#How_to_run
virt-manager:enable Copy host CPU configuration checkbox
virtiofs
https://libvirt.org/kbase/virtiofs.html
vfio
https://www.kernel.org/doc/Documentation/vfio.txt
Raw disk mapping
Support partion
GRUB
UEFI
Troubleshooting
Last updated
Was this helpful?