Skip to content

Instantly share code, notes, and snippets.

@npodonnell
Last active January 13, 2023 11:25
Show Gist options
  • Save npodonnell/60a3ad70fff38a273b9ed423374a8b55 to your computer and use it in GitHub Desktop.
Save npodonnell/60a3ad70fff38a273b9ed423374a8b55 to your computer and use it in GitHub Desktop.
Virtualization Notes

Virtualization Notes

N. P. O'Donnell, 2021

Find out if your x86 CPU supports KVM Virtualization

egrep -c '(vmx|svm)' /proc/cpuinfo

Commercial IaaS who use Virtualization

  • AWS EC2 -- Uses Xen and more recently KVM
  • GCP -- Uses KVM

Virtualization Technologies

Xen

  • Invented ~ 2003
  • Used in:
    • EC2
    • Qubes OS

KVM

  • Main API is libvirt
    • Associated daemon is libvirtd
    • Associated CLI utility is virsh
    • Libvirt supports other virtualization technologies, including Xen

PCI

List PCI devices:

lspci

Verbose:

lspci -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment