]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Simplify opening of Xen drivers
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 30 Apr 2013 13:41:48 +0000 (14:41 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 9 May 2013 12:16:19 +0000 (13:16 +0100)
commit61b7a872cc9028bce675856e573fa0bc134c27a4
tree68692b74de69f217e2a25a77b6d36b2cc718c7fc
parent71d7b20b3b0bb37e593bb7a105bca3197f06f6f5
Simplify opening of Xen drivers

Since the Xen driver was changed to only execute inside libvirtd,
there is no scenario in which it will be opened from a non-privileged
context. Thus all the code dealing with opening the sub-drivers can
be simplified to assume that they are always privileged.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
12 files changed:
src/xen/xen_driver.c
src/xen/xen_driver.h
src/xen/xen_hypervisor.c
src/xen/xen_hypervisor.h
src/xen/xen_inotify.c
src/xen/xen_inotify.h
src/xen/xend_internal.c
src/xen/xend_internal.h
src/xen/xm_internal.c
src/xen/xm_internal.h
src/xen/xs_internal.c
src/xen/xs_internal.h