Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virt-manager doesn't work #605

Open
Adamekka opened this issue May 29, 2023 · 4 comments
Open

virt-manager doesn't work #605

Adamekka opened this issue May 29, 2023 · 4 comments

Comments

@Adamekka
Copy link

basic.sh works, but virt-manager does not, below is the error, I've tried everything with permissions on that file, but it still doesn't work

image

Error starting domain: internal error: process exited while connecting to monitor: 2023-05-29T13:32:31.909401Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/mnt/mac/macOS-Simple-KVM-master/firmware/OVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/mnt/mac/macOS-Simple-KVM-master/firmware/OVMF_CODE.fd': 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/asyncjob.py", line 108, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
    self._backend.create()
  File "/usr/lib64/python3.11/site-packages/libvirt.py", line 1362, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: process exited while connecting to monitor: 2023-05-29T13:32:31.909401Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/mnt/mac/macOS-Simple-KVM-master/firmware/OVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/mnt/mac/macOS-Simple-KVM-master/firmware/OVMF_CODE.fd': Permission denied
@enderdude77
Copy link

I am having the same exact issue.

@HarshNarayanJha
Copy link

Try running using sudo

@scyilk
Copy link

scyilk commented Jun 29, 2023

As a sidenote, sudo !! will run the last command you ran with sudo if you are on bash, which it seems like you are.

@HarshNarayanJha
Copy link

As a sidenote, sudo !! will run the last command you ran with sudo if you are on bash, which it seems like you are.

Oh Wow! Didn't know that one. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants