Can't install KVM in Qubes OS?

32 views
Skip to first unread message

Tae Hwan Kim

unread,
Dec 12, 2019, 6:11:20 PM12/12/19
to qubes-users
Hello!
I need to install KVM for mobile development.(for android emulator).
so I did try installing kvm like this

sudo dnf -y install qemu-kvm libvirt virt-install bridge-utils

but my app vm shows me error like this.

Error:                                                                                                                                
 Problem 1: package libvirt-daemon-driver-libxl-5.1.0-4.fc30.x86_64 requires libxenlight.so.4.11()(64bit), but none of the providers can be installed
  - package libvirt-daemon-driver-libxl-5.1.0-4.fc30.x86_64 requires libxlutil.so.4.11()(64bit), but none of the providers can be installed
  - cannot install both xen-libs-2001:4.8.5-5.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-5.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                           
  - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires libxenctrl.so.4.8()(64bit), but none of the providers can be installed                                     
  - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires libxenguest.so.4.8()(64bit), but none of the providers can be installed                                    
  - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires libxenlight.so.4.8.1()(64bit), but none of the providers can be installed                                  
  - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires libxlutil.so.4.8()(64bit), but none of the providers can be installed                                      
  - problem with installed package xen-qubes-vm-2001:4.8.5-13.fc30.x86_64                                                                                             
  - package xen-qubes-vm-2001:4.8.5-6.fc30.x86_64 requires xen-libs = 2001:4.8.5-6.fc30, but none of the providers can be installed                                   
  - cannot install both xen-libs-2001:4.8.5-6.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-6.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                           
  - package libvirt-5.1.0-4.fc30.x86_64 requires libvirt-daemon-driver-libxl = 5.1.0-4.fc30, but none of the providers can be installed                               
  - conflicting requests                
  - package libvirt-5.1.0-9.fc30.x86_64 requires libvirt-daemon-driver-libxl = 5.1.0-9.fc30, but none of the providers can be installed                               
  - package libvirt-daemon-driver-libxl-5.1.0-9.fc30.x86_64 requires libxenlight.so.4.11()(64bit), but none of the providers can be installed
  - package libvirt-daemon-driver-libxl-5.1.0-9.fc30.x86_64 requires libxlutil.so.4.11()(64bit), but none of the providers can be installed
  - package xen-qubes-vm-2001:4.8.5-7.fc30.x86_64 requires xen-libs = 2001:4.8.5-7.fc30, but none of the providers can be installed                                   
  - cannot install both xen-libs-2001:4.8.5-7.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-7.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                           
  - package xen-qubes-vm-2001:4.8.5-10.fc30.x86_64 requires xen-libs = 2001:4.8.5-10.fc30, but none of the providers can be installed                                 
  - cannot install both xen-libs-2001:4.8.5-10.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-10.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                          
  - package xen-qubes-vm-2001:4.8.5-12.fc30.x86_64 requires xen-libs = 2001:4.8.5-12.fc30, but none of the providers can be installed                                 
  - cannot install both xen-libs-2001:4.8.5-12.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-12.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                          
  - package xen-qubes-vm-2001:4.8.5-13.fc30.x86_64 requires xen-libs = 2001:4.8.5-13.fc30, but none of the providers can be installed                                 
  - cannot install both xen-libs-2001:4.8.5-13.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-13.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                          
  - cannot install both xen-libs-4.11.2-3.fc30.x86_64 and xen-libs-2001:4.8.5-13.fc30.x86_64                                                                          
  - cannot install both xen-libs-4.11.1-4.fc30.x86_64 and xen-libs-2001:4.8.5-13.fc30.x86_64                                                                          
 Problem 2: problem with installed package qubes-db-4.0.12-1.fc30.x86_64                                                                                              
  - package qubes-db-4.0.12-1.fc30.x86_64 requires xen-libs >= 2001:4.6.1-20, but none of the providers can be installed                                              
  - package qubes-db-4.0.11-1.fc30.x86_64 requires xen-libs >= 2001:4.6.1-20, but none of the providers can be installed                                              
  - package qubes-db-4.0.10-1.fc30.x86_64 requires xen-libs >= 2001:4.6.1-20, but none of the providers can be installed                                              
  - package qemu-common-2:3.1.0-6.fc30.x86_64 requires libxenctrl.so.4.11()(64bit), but none of the providers can be installed                                        
  - package qemu-common-2:3.1.0-6.fc30.x86_64 requires libxenguest.so.4.11()(64bit), but none of the providers can be installed                                       
  - package qemu-common-2:3.1.0-6.fc30.x86_64 requires libxentoolcore.so.1()(64bit), but none of the providers can be installed                                       
  - package qemu-common-2:3.1.0-6.fc30.x86_64 requires libxendevicemodel.so.1()(64bit), but none of the providers can be installed                                    
  - cannot install both xen-libs-2001:4.8.5-5.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-5.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                           
  - package qemu-audio-alsa-2:3.1.0-6.fc30.x86_64 requires qemu-common(x86-64) = 2:3.1.0-6.fc30, but none of the providers can be installed
  - package qemu-system-x86-2:3.1.0-6.fc30.x86_64 requires qemu-audio-alsa = 2:3.1.0-6.fc30, but none of the providers can be installed                               
  - package qemu-kvm-2:3.1.0-6.fc30.x86_64 requires qemu-system-x86 = 2:3.1.0-6.fc30, but none of the providers can be installed                                      
  - conflicting requests                                          
  - package qemu-kvm-2:3.1.1-2.fc30.x86_64 requires qemu-system-x86 = 2:3.1.1-2.fc30, but none of the providers can be installed                                      
  - package qemu-system-x86-2:3.1.1-2.fc30.x86_64 requires qemu-ui-sdl = 2:3.1.1-2.fc30, but none of the providers can be installed                                   
  - package qemu-ui-sdl-2:3.1.1-2.fc30.x86_64 requires qemu-common(x86-64) = 2:3.1.1-2.fc30, but none of the providers can be installed                               
  - package qemu-common-2:3.1.1-2.fc30.x86_64 requires libxenctrl.so.4.11()(64bit), but none of the providers can be installed                                        
  - package qemu-common-2:3.1.1-2.fc30.x86_64 requires libxenguest.so.4.11()(64bit), but none of the providers can be installed                                       
  - package qemu-common-2:3.1.1-2.fc30.x86_64 requires libxentoolcore.so.1()(64bit), but none of the providers can be installed                                       
  - package qemu-common-2:3.1.1-2.fc30.x86_64 requires libxendevicemodel.so.1()(64bit), but none of the providers can be installed                                    
  - cannot install both xen-libs-2001:4.8.5-6.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-6.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-7.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-7.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                           
  - cannot install both xen-libs-2001:4.8.5-10.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-10.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-12.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-12.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-13.fc30.x86_64 and xen-libs-4.11.2-3.fc30.x86_64                                                                          
  - cannot install both xen-libs-2001:4.8.5-13.fc30.x86_64 and xen-libs-4.11.1-4.fc30.x86_64                                                                          
  - cannot install both xen-libs-4.11.2-3.fc30.x86_64 and xen-libs-2001:4.8.5-13.fc30.x86_64                                                                          
  - cannot install both xen-libs-4.11.1-4.fc30.x86_64 and xen-libs-2001:4.8.5-13.fc30.x86_64                                                                          
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)


I read that Qubes os using XEN over KVM. So I can't install KVM? I am just asking before do any further action because I am worried about breaking my app vm.



pixel fairy

unread,
Dec 12, 2019, 6:36:53 PM12/12/19
to qubes-users
Qubes-os uses xen, not kvm. Nested virtualization is disabled because of the added attack surface.

Ive installed qemu in a debian template in the past, but have not tried recently. instead i have another machine running kvm with nested virtualization enabled and run vagrant remotely on that one using virt-manager for desktop vms. 

I was also able to get the andrioid emulator running on just qemu, but that was painfully slow. Hope they make a container option. this was a couple years ago.
Reply all
Reply to author
Forward
0 new messages