I've been trying to create a windows vm with qemu and kvm through virt-manager in Linux Mint. However, I am stuck running into this error whenever I try to use the Windows ISO.

Unable to complete install: 'unsupported configuration: unknown protocol type 'file''

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvm.py", line 2089, in _do_async_install
    guest.installer_instance.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 542, in start_install
    domain = self._create_guest(
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 491, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib/python3/dist-packages/libvirt.py", line 4034, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: unsupported configuration: unknown protocol type 'file'

What can I do to resolve this?

  • Not a solution, but a workaround: unix.stackexchange.com/questions/530488/… Apr 29 at 21:56
  • Thank you. I apologize but I'm very new to linux and such, and I'm not sure what the reply author meant by pool. Would I create a volume and put the ISO as well as the volume together in some sort of partition?
    – IcedDill
    Apr 29 at 22:03
  • A pool is storage space from which libvirt, the technology underlying virt-manager, allocates volumes. I can't check the workaround right now, but it seems you have to explicitly make the ISO file a volume by creating a pool and adding the ISO file to it. This is presumably done in "choose storage volume" in virt-manager. Then, in step 2 of the VM launch, select that volume. Apr 29 at 23:23
  • I see, to create the pool, do I simply create a new volume in the storage volume manager in virt-manager?
    – IcedDill
    Apr 29 at 23:45
  • I don't have access to a Linux system with GUI right now and need to direct you to documentation, such as docs.fedoraproject.org/en-US/Fedora/18/html/…. Apr 29 at 23:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.