2

I have a created a Windows 10 VM using virt-manager as user (not root).

However, when try to list the VMs with virsh list --all, My VM is not listed? And, if I specify the system URI with by running virsh -c qemu:///system list --all, I see my VM listed.
I would like to migrate my VM from qemu:///system to qemu:///session to be able to list it with virsh list --all.

  • How can I achieve that?
1
  • 1
    You lose a lot of functionality in the user session. Consider something like alias virsh='virsh -c qemu:///system instead. Jul 3, 2021 at 16:50

1 Answer 1

-2

https://mike42.me/blog/libvirt-migrate-a-vm-from-qemusession-to-qemusystem

virsh undefine foo-machine
sudo virsh define foo-machine.xml 
sudo virsh start foo-machine
1
  • This is the opposite of what the poster asked for. Sep 20, 2021 at 22:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .