On Ubuntu 20.04.1, I am trying to run VM's using KVM. After installing the required packages, I still get below error:
sudo systemctl status libvirtd
Unit libvirtd.service could not be found.
The below is what I have done -
a) check kvm support
$ sudo kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
b) install required packages
$ sudo apt install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager
Now, the above should be everything and I must be able to open the virt-manager gui and get going and the libvertd service should have been started already. But, there is no libvirtd service running on my machine still and there is no libvirtd.service unit installed.
And obviously, The virt-manager is not able to connect to the demon so the below errors -
$ sudo virt-manager --> the virt-manager GUI starts with root permissions.
Clearly the window says -
The libvirtd service does not appear to be installed. Install and run the libvirtd service to manage virtualization on this host.
Reference - How to Install KVM on Ubuntu 20.04
Note: This issue is not duplicate with - KVM Virt-Manager Error: No active connection to Install on
(one answer here ask to install - libvirt-bin , but this packages does not exist in the repo.
$ apt list libvirt-bin
Hardware: This attempt is on Quad-Core, Intel CPU Laptop.
Edit - Following the comment from ajgringo619, i could solve the libvirtd.service issue. But other issues still persist.
Below is also posted as seperate Q @ Warning: KVM kernal modules are not loaded. Your VM may perform poorly?
This is the lsmod output -
$ sudo lsmod | grep kvm
kvm_intel 282624 0
kvm 663552 1 kvm_intel
Should I ignore the warning, is the performance really gonna be poor??