KVM/qemu

< KVM
(Redirected from KVM/libvirt/qemu)


Packages

edit
  • qemu-kvm-rhev or qemu-kvm
  • qemu-kvm-common
  • qemu-img-rhev (RHEL) or qemu-utils (Ubuntu). Commands included: qemu-img, qemu-io and qemu-nbd
  • qemu-guest-agent, required for virsh domfsfreeze
  • qemu-system-x86, binary included: qemu-system-x86_64

Configuration

edit

Logs

edit

/var/log/libvirt/qemu/

qemu-system-x86_64: failed to initialize KVM: Cannot allocate memory

Basic Commands

edit
  • qemu-img info -U /srv/libvirt/YOUR_IMAGE_NAME.qcow2
image: /srv/libvirt/YOUR_IMAGE_NAME.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 5.5G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: true
    refcount bits: 16
    corrupt: false

See also

edit