Difference between revisions of "QEMU"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
== Configuration ==
 
== Configuration ==
 
* <code>/etc/[[libvirt]]/qemu/</code>
 
* <code>/etc/[[libvirt]]/qemu/</code>
* <code>/etc/[[libvirt]]/[[qemu.conf]]</code> ([[VNC]] configurations)
+
* <code>/etc/[[libvirt]]/[[qemu.conf]]</code> ([[VNC]], [[spice]] configurations)
 
* <code>/var/run/libvirt/qemu</code>
 
* <code>/var/run/libvirt/qemu</code>
  

Revision as of 11:07, 4 February 2020

wikipedia:QEMU

Packages

  • 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

Logs

/var/log/libvirt/qemu/

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


systemctl status qemu-kvm

Basic Commands

  • 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
  • qemu-img snapshot

QEMU releases

See also

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Source: https://en.wikiversity.org/wiki/KVM/qemu

Advertising: