Note:
This documentation has moved to a new home! Please update your bookmarks to the new URL for the up-to-date version of this page.
@powersj Thank you very much for such a nice guideline !
It could be nice to add sudo apt-get update
before running installation command for libvirt under Installation, header. I tried to edit and submit for confirmation but seems it is not possible.
@powersj arr, you get all the fame for my improved howto
@mrturkmen it is generally recommended to be “up to date” in regard to “apt update” and it is running automatically in background. If we’d add it here we’d have to add it throughout all of the serverguide. Is there a particular reason why you think an “apt update” is needed in this case that makes it special to be worth adding it here?
@paelzer Thank you for your reply. I have followed through the article however, ubuntu was unable to find required packages which are installed in first step of the installation guide. Yeah, I fully agree that it is recommended to be “up to date” in regard to “apt update” . However, in my case, I was using a vagrant installation of ubuntu and it was not up to date, since it is not running all the time, I am running it whenever I need it. So, apart from it, there are many scenarios which may require to run update command, I think, it does not harm anything to have it from the beginning of the installation guide of libvirt.
Yeah @mrturkmen, while I think it would be overload to add the update to any ‘apt install’ call adding it to the first one of the page should be fine. Thanks for the discussion.
P.S. I also fixed a (now bad) link on the page.
s/hipervisor/hypervisor/. Please don’t use also hiperdrive, hiperventilation, hiperlink, it’s all just hipe :).
Ha! Thanks for catching this. Fixed!
Thanks @tatrman - as a defense/explanation/excuse I’m sometimes cursed by my IBM past sometimes where we use things like HiperSockets, Hiperdispatch and so on …
@paelzer I see clearly now, that I should continue my hyper crusade and ( considering my IBM present ), try to enforce renaming over there :).
There is a typo on this, I think. It’s very small and not important but I figured I would point it out anyway. Also thank you for the guide!
Since nested virtualization is supported for Ubuntu >= Focal (x86), I’d say it would be good to add/have an official guide on how to enable it in Ubuntu. We could have a subsection on this here. I already have a draft but unclear on how/where to submit it as a change for approval.
If someone can give me some pointers on how this can be done I’m more than happy to share what I have on this (which is extracted from the official kernel docs on the matter)
Hi @al3jandrosg and thanks for your comment! I’ve messaged you
On the "Sharing files between Host<->Guest.
On ubnutu 22.04 host with Ubuntu 22.04 Guest I had to deploy the guest libraries before I could mount the share ie.
sudo apt install qemu-guest-agent spice-vdagent
Also note that the UI tool will take configure host and guest as the same path. If you need it different needs to be done in the xml
Lastly to mount I used.
sudo mount -t 9p -o trans=virtio /home/usr/HostShare /home/usr/HostShare