kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

Windows 10 is Unrecognized #1223

Open TimeTravelersHackedMe opened 6 years ago

TimeTravelersHackedMe commented 6 years ago

Hey, I added an ISO to the ISO folder and the web interface sees it. However, when I create a Template the ISO is shown as "Unknown". Then when I try to make a Guest out of it, it fails to load with the following error:

CHVM0019E: Unable to start virtual machine Windows 10. Details: internal error: cannot load AppArmor profile 'libvirt-xxx-xxx-xxx-xxx-xxx'

Why is it trying to load AppArmor? Isn't that a Ubuntu thing?

This is the ISO I'm using:

en_windows_10_multi-edition_vl_version_1709_updated_nov_2017_x64_dvd_100289937.iso

The libvrt serial number thing I replaced with xxx because I don't know if that's sensitive data.

Am I using the wrong ISO? Is there some config I have to add? I see other users reporting issues about Windows 10 but I couldn't find any details on how to load it.

bootsie123 commented 6 years ago

Hi. I know this may seem a bit silly, but see if it works. I had this same error too. Try changing the name of the Guest you are making. If you are not setting a name, then set one.

alinefm commented 4 years ago

By default, appArmor blocks /var/lib/libvirt/images which prevents Kimchi to start the VM:

You need to add /var/lib/libvirt/images/* r,

to /etc/apparmor.d/abstractions/libvirt-qemu and then systemctl restart apparmor.service