Libvirt provides a portable, long term stable C API for managing the virtualization technologies provided by many operating systems. It includes support for QEMU, KVM, Xen, LXC, bhyve, Virtuozzo, VMware vCenter and ESX, VMware Desktop, Hyper-V, VirtualBox and the POWER Hypervisor.
Go to file
Jiri Denemark 5e5acbc8d6 daemon: Fix core dumps if unix_sock_group is set
Setting unix_sock_group to something else than default "root" in
/etc/libvirt/libvirtd.conf prevents system libvirtd from dumping core on
crash. This is because we used setgid(unix_sock_group) before binding to
/var/run/libvirt/libvirt-sock* and setgid() back to original group.
However, if a process changes its effective or filesystem group ID, it
will be forbidden from leaving core dumps unless fs.suid_dumpable sysctl
is set to something else then 0 (and it is 0 by default).

Changing socket's group ownership after bind works better. And we can do
so without introducing a race condition since we loosen access rights by
changing the group from root to something else.
2011-01-10 11:01:46 +01:00
.gnulib@4f2c339efd build: satisfy 'make syntax-check' regarding year change 2011-01-04 09:50:07 -07:00
daemon daemon: Fix core dumps if unix_sock_group is set 2011-01-10 11:01:46 +01:00
docs docs: updated release of virsh cmd reference, with memtune info 2011-01-07 05:37:23 +11:00
examples maint: avoid space-tab 2010-12-21 13:21:25 -07:00
include virterror: avoid API breakage with vmware 2010-12-22 09:09:04 -07:00
m4 maint: update to latest gnulib 2010-11-17 10:13:12 -07:00
po Release of libvirt-0.8.7 2011-01-04 03:37:17 +01:00
python Use python discovered through env instead of hardcoding a path 2010-11-14 22:45:59 +01:00
src esx: Move occurrence check into esxVI_LookupObjectContentByType 2011-01-07 20:09:15 +01:00
tests commandtest: avoid printing loader-control variables from commandhelper 2011-01-06 14:21:17 -07:00
tools virsh: Add --force option to update-device 2010-12-23 09:07:17 +01:00
.dir-locals.el misc: encode the Emacs suggstions from HACKING into a .dir-locals.el file 2010-11-01 10:22:58 -06:00
.gitignore Release of libvirt-0.8.7 2011-01-04 03:37:17 +01:00
.gitmodules
.mailmap maint: update an email address preference 2010-08-10 08:13:22 -06:00
.x-sc_avoid_ctype_macros
.x-sc_avoid_if_before_free
.x-sc_avoid_write Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
.x-sc_bindtextdomain maint: update to latest gnulib 2010-11-17 10:13:12 -07:00
.x-sc_m4_quote_check
.x-sc_po_check build: avoid false positive syntax-check failure 2010-10-19 09:28:35 -06:00
.x-sc_prohibit_always_true_header_tests build: update gnulib 2010-05-06 14:35:38 -06:00
.x-sc_prohibit_asprintf util: add virVasprintf 2010-12-02 11:23:15 -07:00
.x-sc_prohibit_close build: enforce files.h usage 2010-11-24 15:23:43 -07:00
.x-sc_prohibit_empty_lines_at_EOF tests: test RHEL 6.0 qemu-kvm -help parsing 2010-12-13 16:30:02 -07:00
.x-sc_prohibit_gethostby
.x-sc_prohibit_gethostname
.x-sc_prohibit_gettext_noop build: fix syntax-check problems 2010-04-12 16:43:05 -06:00
.x-sc_prohibit_have_config_h
.x-sc_prohibit_HAVE_MBRTOWC
.x-sc_prohibit_nonreentrant
.x-sc_prohibit_readlink
.x-sc_prohibit_sprintf maint: avoid remaining sprintf uses 2010-11-17 10:13:12 -07:00
.x-sc_prohibit_strcmp
.x-sc_prohibit_strncmp maint: tighten strncmp syntax check 2010-11-18 12:21:58 -07:00
.x-sc_prohibit_strncpy Avoid checking against strncpy in virsh.c 2010-10-12 19:26:10 +02:00
.x-sc_prohibit_test_minus_ao build: fix syntax-check problems 2010-04-12 16:43:05 -06:00
.x-sc_prohibit_VIR_ERR_NO_MEMORY
.x-sc_prohibit_xmlGetProp maint: prohibit most uses of xmlGetProp 2010-11-24 15:23:43 -07:00
.x-sc_require_config_h
.x-sc_require_config_h_first
.x-sc_trailing_blank
.x-sc_unmarked_diagnostics build: import latest gnulib 2010-04-02 10:18:55 -06:00
acinclude.m4 maint: turn on gcc logical-op checking 2010-07-28 15:25:36 +02:00
AUTHORS bridge: Fix generation of dnsmasq's --dhcp-hostsfile option 2011-01-06 15:58:23 +01:00
autobuild.sh test: fix commandtest under autobuild.sh 2010-12-13 16:04:56 -07:00
autogen.sh build: require pkg-config for bootstrap 2010-10-05 13:54:39 -06:00
bootstrap maint: update to latest gnulib 2010-11-17 10:13:12 -07:00
bootstrap.conf build: update gnulib for pipe on mingw 2010-12-13 16:09:50 -07:00
cfg.mk Add VMware Workstation and Player driver 2010-12-17 21:19:39 +01:00
ChangeLog-old
configure.ac Add AM_MAINTAINER_MODE 2011-01-07 20:22:24 +01:00
COPYING.LIB
HACKING maint: document dislike of mismatched if/else bracing 2011-01-05 11:05:28 -07:00
libvirt.pc.in
libvirt.spec.in Release of libvirt-0.8.7 2011-01-04 03:37:17 +01:00
Makefile.am maint: prohibit most uses of xmlGetProp 2010-11-24 15:23:43 -07:00
Makefile.nonreentrant Ban use of all inet_* functions 2010-10-22 11:59:23 +01:00
mingw32-libvirt.spec.in Add dtrace static probes in libvirtd 2010-10-22 12:00:39 +01:00
README
README-hacking
TODO Update todo list file to point at bugzilla/website 2010-10-13 16:45:26 +01:00

         LibVirt : simple API for virtualization

  Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). It is free software
available under the GNU Lesser General Public License. Virtualization of
the Linux Operating System means the ability to run multiple instances of
Operating Systems concurrently on a single hardware system where the basic
resources are driven by a Linux instance. The library aim at providing
long term stable C API initially for the Xen paravirtualization but
should be able to integrate other virtualization mechanisms if needed.

Daniel Veillard <veillard@redhat.com>