]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Clarify that virDomainGet(Memory|Blkio)Parameters doesn't support subsets
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 18 May 2011 09:33:42 +0000 (11:33 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 18 May 2011 16:20:47 +0000 (18:20 +0200)
commit191e1ec65ce79b0a2d61874089ad3f2111adf089
treecdd805d1ddfb7a1ed368cd57f7cab78e50b0bc9b
parent8a3b74e7702affa70d48186a90452d4c0a5f8bb0
Clarify that virDomainGet(Memory|Blkio)Parameters doesn't support subsets

Improve invalid argument checks in the size query case. The drivers already
relied on this unchecked behavior.

Relax the implementation of virDomainGet(Memory|Blkio)MemoryParameters
in the drivers and allow to pass more memory than necessary for all
parameters.
src/libvirt.c
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c