Talk:Virt-manager

From ArchWiki
(Redirected from Talk:Virt-Manager)
Latest comment: 2 July 2023 by Topas-rec in topic Enable networking

Enable networking

Virt-Manager isn't going to allow you to start an instance until you enable the default network with virsh. I also feel like it should be mentioned that in order to create / start a network with virsh you need to have linux-headers installed.

--Pyrogon (talk) 17:44 , 30 January 2013 (UTC)Pyrogon

the steps i recommend to follow to ensure virt-manager works properly:

1. libvirtd deamon is up an running with no error in log 2. virtlogd deamon is up and running with no error in log 3. ran the following command once, no error expected. (if network is already active it fails and an error massage apears)

# virsh net-start default

4.at least one virtual network is connected.

--CheesyChocolate (talk) 15:24, 26 April 2023 (UTC)Reply[reply]

Announcing network addition:

- This article focuses on using virt-manager and libvirt in user session which has limited networking capabilities (link to https://wiki.libvirt.org/FAQ.html#what-is-the-difference-between-qemu-system-and-qemu-session-which-one-should-i-use)

- Explaining bridge network setup: Setup bridge in libvirt system (requires libvirtd running - suggesting to use/enable the socket instead of having libvirtd running all the time), use the qemu-bridge-helper to be able to use the system bridge in user session. Link to https://wiki.archlinux.org/title/QEMU#Bridged_networking_using_qemu-bridge-helper.

- Link to issue with networking and firewalld https://gitlab.com/libvirt/libvirt/-/issues/215

done

Topas-rec (talk) 10:33, 2 July 2023 (UTC)Reply[reply]

Edit suggestion: QEMU connection does -not- require libvirtd.service running.

QEMU connection does require libvirtd.service running.

I might be wrong but I was getting an error connecting to QEMU without libvirtd.service running:

Unable to connect to libvirt qemu:///system. Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory Found the same issue (sorry for reddit link):

https://www.reddit.com/r/VFIO/comments/paj4rv/qemukvm_not_connected_varrunlibvirtqvirtqemudsock/

War (talk) 22:13, 21 June 2023 (UTC)Reply[reply]

This article is about libvirt and virt-manager. In these two tools you need to use the system our session URL. System requires root privileges and session does not. See https://wiki.libvirt.org/FAQ.html#what-is-the-difference-between-qemu-system-and-qemu-session-which-one-should-i-use for details.
All in all I would also remove this statement.
Topas-rec (talk) 10:16, 2 July 2023 (UTC)Reply[reply]