Virt-manager: Difference between revisions

imported>Neubeki
m Add networking section to clear up why virbr0 is not accessible after enabling virt-manager and libvirtd
imported>Softmoth
Provide instructions for getting the QEMU guest agent working under libvirt
Line 64: Line 64:


By default this will enable the <code>virbr0</code> virtual network bridge.
By default this will enable the <code>virbr0</code> virtual network bridge.
===Guest Agent===
When running NixOS as a guest, enable the [https://wiki.qemu.org/Features/GuestAgent QEMU guest agent] with:
<syntaxhighlight lang="nix">
{
  services.qemuGuest.enable = true;
}
</syntaxhighlight>
The host must [https://wiki.libvirt.org/Qemu_guest_agent.html#setting-qemu-ga-up provide the needed virtio serial port] under the special name <code>org.qemu.guest_agent.0</code>.


[[Category:Virtualization]]
[[Category:Virtualization]]