Jump to content

KVM/qemu

From Wikiversity
< KVM
(Redirected from KVM/libvirt/qemu)


Packages

[edit | edit source]
  • 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 | edit source]

/var/log/libvirt/qemu/

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

Basic Commands

[edit | edit source]
  • 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 | edit source]