]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Always truncate balloon size to maximum memory size
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Apr 2015 15:33:41 +0000 (17:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 11 May 2015 06:50:36 +0000 (08:50 +0200)
commitfccc2c331311422d89a6f87b64f82672bc3f3f75
treecfac512d790f4f62869a4b6c7b7d7e4ef4b6d06f
parent85d8ede9eb1da870e553f43dea215606ec47d190
conf: Always truncate balloon size to maximum memory size

Specifying a balloon size more than the memory size of a guest isn't
something that should be rejected when parsing the XML. Truncate the
size to the maximum memory size.
src/conf/domain_conf.c