Recommended display/GPU setup

2024-10-22 Thread Nils Kattenbeck
Hi,

I have been looking around in docs, wikis and blogs which setup is
recommended to set up graphics for a local VM. So far I think the best
options are virtio-gpu/virgl and GTK display, or qxl+spice... Though some
docs also state that qxl+spice was primarily fast because it transmitted X
Server instructions which provides no benefits when using wayland or
kms/drm directly. Any advice would be appreciated.

Cheers, Nils


Re: can not create the virtual machine

2024-10-22 Thread Thomas Huth

On 21/10/2024 21.36, Alin Craciunescu wrote:

I receive this message:
Unable to complete install: 'internal error: process exited while connecting 
to monitor: 2024-10-21T19:26:51.030843Z qemu-system-x86_64: -blockdev 
{"driver":"file","filename":"/home/xyz/Downloads/lubuntu-24.04.1-desktop- 
amd64 (1).iso","node-name":"libvirt-1-storage","auto-read- 
only":true,"discard":"unmap"}: Could not open '/home/xyz/Downloads/ 
lubuntu-24.04.1-desktop-amd64 (1).iso': Permission denied'


Traceback (most recent call last):
   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in 
cb_wrapper

     callback(asyncjob, *args, **kwargs)
   File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in 
_do_async_install

     installer.start_install(guest, meter=meter)
   File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, 
in start_install

     domain = self._create_guest(
              ^^^
   File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, 
in _create_guest

     domain = self.conn.createXML(initial_xml or final_xml, 0)
              
   File "/usr/lib/python3/dist-packages/libvirt.py", line 4529, in createXML
     raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: internal error: process exited while connecting to 
monitor: 2024-10-21T19:26:51.030843Z qemu-system-x86_64: -blockdev 
{"driver":"file","filename":"/home/xyz/Downloads/lubuntu-24.04.1-desktop- 
amd64 (1).iso","node-name":"libvirt-1-storage","auto-read- 
only":true,"discard":"unmap"}: Could not open '/home/xyz/Downloads/ 
lubuntu-24.04.1-desktop-amd64 (1).iso': Permission denied


That could happen if you've got SELinux enabled. Try to put the .iso file 
into /var/lib/libvirt/images instead and then run a "restorecon" on the file.


 HTH,
  Thomas