User Tools

Site Tools


virtualization_on_fedora

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization_on_fedora [2019/07/10 09:50]
rpjday [Virtualization group]
virtualization_on_fedora [2019/07/10 09:58]
rpjday [Modules]
Line 15: Line 15:
   * [[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 ===== ===== Virtualization group =====
  
Line 41: Line 50:
 <​code>​ <​code>​
 $ sudo dnf group install virtualization $ sudo dnf group install virtualization
-$ sudo dnf group install --ewith-optional 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>​ </​code>​
virtualization_on_fedora.txt · Last modified: 2019/07/10 09:58 by rpjday