LDA010 b7df015bb4 copy 7 年 前
..
README.gentoo-r1 b7df015bb4 copy 7 年 前
README.gentoo-r2 b7df015bb4 copy 7 年 前
libvirt-1.2.16-fix_paths_in_libvirt-guests_sh.patch b7df015bb4 copy 7 年 前
libvirt-1.2.21-avoid_deprecated_pc_file.patch b7df015bb4 copy 7 年 前
libvirt-1.3.0-do_not_use_sysconf.patch b7df015bb4 copy 7 年 前
libvirt-1.3.1-fix_paths_for_apparmor.patch b7df015bb4 copy 7 年 前
libvirt-1.3.4-glibc-2.23.patch b7df015bb4 copy 7 年 前
libvirt-3.0.0-fix_paths_for_apparmor.patch b7df015bb4 copy 7 年 前
libvirt-3.1.0-musl-fix-includes.patch b7df015bb4 copy 7 年 前
libvirt-guests.confd b7df015bb4 copy 7 年 前
libvirt-guests.init-r1 b7df015bb4 copy 7 年 前
libvirt-guests.init-r2 b7df015bb4 copy 7 年 前
libvirtd.confd-r5 b7df015bb4 copy 7 年 前
libvirtd.init-r15 b7df015bb4 copy 7 年 前
libvirtd.init-r16 b7df015bb4 copy 7 年 前
libvirtd.service.conf b7df015bb4 copy 7 年 前
libvirtd.tmpfiles.conf b7df015bb4 copy 7 年 前
virtlockd.init-r1 b7df015bb4 copy 7 年 前
virtlogd.init-r1 b7df015bb4 copy 7 年 前

README.gentoo-r1

Important: The openrc libvirtd init script is now broken up into two
separate services: libvirtd, that solely handles the daemon, and
libvirt-guests, that takes care of clients during shutdown/restart of the
host. In order to reenable client handling, edit /etc/conf.d/libvirt-guests
and enable the service and start it:

$ rc-update add libvirt-guests
$ service libvirt-guests start


For the basic networking support (bridged and routed networks) you don't
need any extra software. For more complex network modes including but not
limited to NATed network, you can enable the 'virt-network' USE flag. It
will pull in required runtime dependencies


If you are using dnsmasq on your system, you will have to configure
/etc/dnsmasq.conf to enable the following settings:

bind-interfaces
interface or except-interface

Otherwise you might have issues with your existing DNS server.


For openrc users:

Please use /etc/conf.d/libvirtd to control the '--listen' parameter for
libvirtd.

Use /etc/init.d/libvirt-guests to manage clients on restart/shutdown of
the host. The default configuration will suspend and resume running kvm
guests with 'managedsave'. This behavior can be changed under
/etc/conf.d/libvirt-guests


For systemd users:

Please use /etc/systemd/system/libvirtd.service.d/00gentoo.conf
to control the '--listen' parameter for libvirtd.

The configuration for the 'libvirt-guests.service' is found under
/etc/libvirt/libvirt-guests.conf"


If you have built libvirt without policykit support (USE=-policykit), you
must change the unix sock group and/or perms in /etc/libvirt/libvirtd.conf
in order to allow normal users to connect to libvirtd.


If libvirtd is built with USE=caps, libvirt will now start qemu/kvm VMs
with non-root privileges. Ensure any resources your VMs use are accessible
by qemu:qemu.