]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Separate internal node device APIs from public API
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 26 Apr 2013 17:21:58 +0000 (18:21 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 8 May 2013 09:47:47 +0000 (10:47 +0100)
commit1c6d4ca557083e7994ad9906f1eb7d37dacf78e4
tree97571c0d846eb9e35d7256ff1368f455d5cb8d10
parentead630319d4141e93f96058d5f9a8bdf6dac2f53
Separate internal node device APIs from public API

The individual hypervisor drivers were directly referencing
APIs in src/nodeinfo.c in their virDriverPtr struct. Separate
these methods, so there is always a wrapper in the hypervisor
driver. This allows the unused virConnectPtr args to be
removed from the nodeinfo.c file. Again this will ensure that
ACL checks will only be performed on invocations that are
directly associated with public API usage.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_driver.c
src/nodeinfo.c
src/nodeinfo.h
src/openvz/openvz_conf.c
src/openvz/openvz_driver.c
src/parallels/parallels_driver.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_driver.c
src/uml/uml_driver.c
src/vbox/vbox_tmpl.c
src/xen/xen_driver.c