[libvirt] [PATCHv2 0/3] openvz: allow for runtime quota updates

Guido Günther agx at sigxcpu.org
Mon Jun 11 20:57:04 UTC 2012


Hi,
attached patches allow to change disk quota at runtime. This can later be
extended to update network configuration as well.

The patch revealed a problem of the openvz driver in genral: the
openvzLoadDomains only reads the on disk configuration but doesn't check if
running domains have (non persistent) diverging values due to openvz calls
without the "--save" option but that's part of another patch.

Changes since last time:

	* add virDomainFSIndexByName to libvirt_private.syms
	* check for unallowed updates in openvzUpdateDevice

Cheers,
 -- Guido


Guido Günther (3):
  Introduce virDomainFSIndexByName
  openvz: add persist parameter to openvzSetDiskQuota
  openvz: wire up domainUpdateDeviceFlags

 src/conf/domain_conf.c     |   16 ++++++
 src/conf/domain_conf.h     |    1 +
 src/libvirt_private.syms   |    1 +
 src/openvz/openvz_driver.c |  116 ++++++++++++++++++++++++++++++++++++++++++--
 4 files changed, 130 insertions(+), 4 deletions(-)

-- 
1.7.10.4




More information about the libvir-list mailing list