]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Define XML syntax for password expiry
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 8 Apr 2010 12:43:23 +0000 (13:43 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 9 Nov 2010 11:47:13 +0000 (11:47 +0000)
commit7a696678e57917aa94e0557c35b1ed3d00068a77
tree1a7c57d169f305c9457ebb25627aa7e33a113fd8
parentb5c992095581054f90008e01ea9817a2d0ed5304
Define XML syntax for password expiry

This extends the XML syntax for <graphics> to allow a password
expiry time to be set

eg

  <graphics type='vnc' port='5900' autoport='yes' keymap='en-us' passwd='12345' passwdValidTo='2010-04-09T15:51:00'/>

The timestamp is in UTC.

* src/conf/domain_conf.h: Pull passwd out into separate struct
  virDomainGraphicsAuthDef to allow sharing between VNC & SPICE
* src/conf/domain_conf.c: Add parsing/formatting of new passwdValidTo
  argument
* src/opennebula/one_conf.c, src/qemu/qemu_conf.c, src/qemu/qemu_driver.c,
  src/xen/xend_internal.c, src/xen/xm_internal.c: Update for changed
  struct containing VNC password
docs/formatdomain.html.in
src/conf/domain_conf.c
src/conf/domain_conf.h
src/esx/esx_vmx.c
src/opennebula/one_conf.c
src/qemu/qemu_conf.c
src/qemu/qemu_driver.c
src/xen/xend_internal.c
src/xen/xm_internal.c