Difference between revisions of "Libvirt"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
== Ubuntu packages == | == Ubuntu packages == | ||
At least the following packages compose libvirt in Ubuntu: | At least the following packages compose libvirt in Ubuntu: | ||
− | * <code>[[libvirt-bin]]</code> | + | * <code>[[libvirt-bin]]</code> (<code>dpkg -s</code> This is a transitional package. You can safely remove it) |
* <code>[[libvirt-clients]]</code>: <code>[[virsh]]</code>, <code>[[virt-admin]]</code>, <code>virt-host-validate</code>, <code>[[virt-login-shell]]</code>, <code>[[virt-pki-validate]]</code>, <code>[[virt-xml-validate]]</code> | * <code>[[libvirt-clients]]</code>: <code>[[virsh]]</code>, <code>[[virt-admin]]</code>, <code>virt-host-validate</code>, <code>[[virt-login-shell]]</code>, <code>[[virt-pki-validate]]</code>, <code>[[virt-xml-validate]]</code> | ||
* <code>[[libvirt-daemon]]</code>: | * <code>[[libvirt-daemon]]</code>: |
Revision as of 14:28, 15 January 2020
libvirt[1] is a virtualization API with supports for KVM, QEMU, Xen, Virtuozzo, VMWare ESX, LXC, BHyve and more
Ubuntu packages
At least the following packages compose libvirt in Ubuntu:
libvirt-bin
(dpkg -s
This is a transitional package. You can safely remove it)libvirt-clients
:virsh
,virt-admin
,virt-host-validate
,virt-login-shell
,virt-pki-validate
,virt-xml-validate
libvirt-daemon
:
libvirtd
:/etc/libvirt/virtlogd.conf
virt-sanlock-cleanup
virtlockd
virtlogd
libvirt-daemon-system
Config files and directories
- Config directories:
- Config files:
/etc/libvirt/virtlogd.conf
- Includes information about Unix Socket permissions: unix_sock_group, unix_sock_ro_perms, unix_sock_rw_perms, auth_unix_ro, auth_unix_rw
/etc/libvirt/libvirtd.conf
- Images directory:
/var/lib/libvirt/images
(See:virsh pool-define-as
) - Logs:
/var/log/libvirt/qemu
journalctl -u libvirtd
Activities
Basic
- Read Libvirt Changelog: https://libvirt.org/git/?p=libvirt.git;a=log
- Read Libvirt Release notes: https://libvirt.org/news.html
- Read Libvirt FAQ: https://wiki.libvirt.org/page/FAQ
- Install KVM in an Ubuntu Server following https://help.ubuntu.com/community/KVM/Installation instructions:
Medium
- Restart libvirtd daemon:
systemctl restart libvirtd
Advanced:
- Read Libvirt code: https://github.com/libvirt/libvirt
- Implement uptime functionality in libvirt code: https://www.spinics.net/linux/fedora/libvir/msg98027.html
- Review libvirt error messages in journald
- Understand different CPU model an topologies: https://libvirt.org/formatdomain.html#elementsCPU
See also
- MacVTap
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- QEMU:
qemu-img
,qemu-ga
,qemu.conf
,virsh qemu
, QEMU guest agent (qemu-ga
), qcow2,qemu-nbd, qemu-img map
,qemu-io
,/etc/libvirt/qemu.conf
, QEMU releases, VENOM,qemu-nbd --help, qemu-system
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM
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.
Advertising: