Open jelabarre59 opened 7 months ago
Is this after updating to the latest version of the repo? If so, please try this file instead: https://github.com/notAperson535/OneClick-macOS-Simple-KVM/raw/70b1475c8d15c2f355a36644307ecacf595daa85/firmware/OVMF_CODE.fd
Which operating system are you trying to install? macOS Monterey
Describe the bug After importing the MacVM into virsh (for virt-manager ), the domain cannot be started (Permission denied on OVMF_CODE.fd)
To Reproduce Build VM with the setupFedora.sh script once build is done, exit/quit the running MacOS session run 'sudo ./make.sh --add' to create VM configuration for virsh in virt-manager, select and run the macOS-Simple-KVM VM defined by make.sh the job will fail immediately with a "permission denied" for OVMF_CODE.fd
Starting the VM from a command line gives the same sort of error
jelabarre@b450a-lx:~/MacVM/OneClick-macOS-Simple-KVM$ sudo virsh start macOS-Simple-KVM error: Failed to start domain 'macOS-Simple-KVM' error: internal error: QEMU unexpectedly closed the monitor (vm='macOS-Simple-KVM'): 2024-04-17T19:05:05.470212Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/jelabarre/MacVM/OneClick-macOS-Simple-KVM/firmware/OVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/home/jelabarre/MacVM/OneClick-macOS-Simple-KVM/firmware/OVMF_CODE.fd': Permission denied
Expected behavior the imported VM will run under virsh or virt-manager
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
virt-manager 4.1.0-3 libvirt 9.7.0-3 qemu 8.1.3-4
Additional context output of "virt-manager --debug" attached
virtmanager-debug.txt