This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization_on_fedora [2019/07/10 09:40] rpjday [Links] |
virtualization_on_fedora [2019/07/10 09:58] rpjday [Modules] |
||
---|---|---|---|
Line 14: | Line 14: | ||
* [[https://computingforgeeks.com/how-to-install-kvm-on-fedora/|How to install KVM on Fedora 30/29/28]] | * [[https://computingforgeeks.com/how-to-install-kvm-on-fedora/|How to install KVM on Fedora 30/29/28]] | ||
* [[https://www.server-world.info/en/note?os=Fedora_30&p=kvm&f=1|Server World Fedora 30 KVM]] | * [[https://www.server-world.info/en/note?os=Fedora_30&p=kvm&f=1|Server World Fedora 30 KVM]] | ||
+ | |||
+ | ===== Check for virtualization support ===== | ||
+ | |||
+ | These extensions are called Intel VT or AMD-V. | ||
+ | |||
+ | <code> | ||
+ | $ egrep '^flags.*(vmx|svm)' /proc/cpuinfo | ||
+ | </code> | ||
+ | |||
+ | If this command results in nothing printed, your system does not support the relevant virtualization extensions. You can still use QEMU/KVM, but the emulator will fall back to software virtualization, which is much slower. | ||
+ | ===== Virtualization group ===== | ||
+ | |||
+ | <code> | ||
+ | $ dnf group info virtualization | ||
+ | Last metadata expiration check: 0:04:12 ago on Wed 10 Jul 2019 05:44:56 AM EDT. | ||
+ | |||
+ | Group: Virtualization | ||
+ | Description: These packages provide a graphical virtualization environment. | ||
+ | Mandatory Packages: | ||
+ | virt-install | ||
+ | Default Packages: | ||
+ | libvirt-daemon-config-network | ||
+ | libvirt-daemon-kvm | ||
+ | qemu-kvm | ||
+ | virt-manager | ||
+ | virt-viewer | ||
+ | Optional Packages: | ||
+ | guestfs-browser | ||
+ | libguestfs-tools | ||
+ | python3-libguestfs | ||
+ | virt-top | ||
+ | $ | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | $ sudo dnf group install virtualization | ||
+ | $ sudo dnf group install --with-optional virtualization | ||
+ | </code> | ||
+ | |||
+ | ===== Modules ===== | ||
+ | |||
+ | <code> | ||
+ | $ lsmod | grep kvm | ||
+ | kvm_intel 303104 0 | ||
+ | kvm 741376 1 kvm_intel | ||
+ | irqbypass 16384 1 kvm | ||
+ | $ | ||
+ | </code> | ||
+ | |||
+ | ===== systemd ===== | ||
+ | |||
+ | <code> | ||
+ | $ systemctl status libvirtd | ||
+ | ● libvirtd.service - Virtualization daemon | ||
+ | Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset> | ||
+ | Active: active (running) since Wed 2019-07-10 04:41:32 EDT; 1h 16min ago | ||
+ | Docs: man:libvirtd(8) | ||
+ | https://libvirt.org | ||
+ | Main PID: 1365 (libvirtd) | ||
+ | Tasks: 19 (limit: 32768) | ||
+ | Memory: 58.0M | ||
+ | CGroup: /system.slice/libvirtd.service | ||
+ | ├─1365 /usr/sbin/libvirtd | ||
+ | ├─2409 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.co> | ||
+ | └─2410 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.co> | ||
+ | |||
+ | Warning: Journal has been rotated since unit was started. Log output is incomplete > | ||
+ | </code> |