On Mon, Feb 29, 2016 at 04:03:49PM +0100, Erik Skultety wrote:
manipulating a server requires a client-side server object reference.
We cannot
rely on client to call virAdmConnectListAllServers and further stored the
result. Therefore offer a separate API to retrieve a specific server object
for remote-side.
---
daemon/admin.c | 26 ++++++++++++++++++++++++++
daemon/admin_server.c | 17 +++++++++++++++++
daemon/admin_server.h | 4 ++++
include/libvirt/libvirt-admin.h | 2 ++
include/libvirt/virterror.h | 1 +
po/POTFILES.in | 3 ++-
src/admin/admin_protocol.x | 15 ++++++++++++++-
src/admin/admin_remote.c | 27 +++++++++++++++++++++++++++
src/admin_protocol-structs | 7 +++++++
src/libvirt-admin.c | 31 +++++++++++++++++++++++++++++++
src/libvirt_admin_private.syms | 2 ++
src/libvirt_admin_public.syms | 1 +
src/util/virerror.c | 6 ++++++
13 files changed, 140 insertions(+), 2 deletions(-)
Before anyone ACKs it, I have very similar patch that could be combined
with this one that I'm cleaning up, so I can post it here later on.
Feel free to review, though.
Martin