[libvirt] [PATCH 0/3] Support changing user passwords in the guest

Ján Tomko jtomko at redhat.com
Mon May 18 12:43:47 UTC 2015


The guest-set-user-password command was added to qemu-agent in the 2.3.0
release by Daniel Berrange (some of you might have heard of him):

commit 215a2771a7b6b29037ee8deba484815d816b6fdd
    qga: add guest-set-user-password command
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=215a277

This mini-series introduces a libvirt API, set_password ACL,
a virsh command and wires up the API in the QEMU driver.

Any bikesh^Wsuggestions regarding the API naming and the
order of the virsh parameters are welcome.

Ján Tomko (3):
  Introduce virDomainSetUserPassword API
  virsh: add set-user-password command
  qemu: wire up virDomainSetUserPassword

 include/libvirt/libvirt-domain.h |  9 +++++
 src/access/viraccessperm.c       |  2 +-
 src/access/viraccessperm.h       |  6 ++++
 src/driver-hypervisor.h          |  7 ++++
 src/libvirt-domain.c             | 47 +++++++++++++++++++++++++
 src/libvirt_public.syms          |  5 +++
 src/qemu/qemu_agent.c            | 39 +++++++++++++++++++++
 src/qemu/qemu_agent.h            |  4 +++
 src/qemu/qemu_driver.c           | 55 +++++++++++++++++++++++++++++
 src/remote/remote_driver.c       |  1 +
 src/remote/remote_protocol.x     | 15 +++++++-
 src/remote_protocol-structs      |  7 ++++
 tools/virsh-domain.c             | 76 ++++++++++++++++++++++++++++++++++++++++
 tools/virsh.pod                  | 11 ++++++
 14 files changed, 282 insertions(+), 2 deletions(-)

-- 
2.0.5




More information about the libvir-list mailing list