]> xenbits.xensource.com Git - libvirt.git/commit
Use virDomainObjGetDefs in lxcDomainSetMemoryFlags
authorJán Tomko <jtomko@redhat.com>
Thu, 26 May 2016 12:29:33 +0000 (14:29 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 8 Jun 2016 13:21:57 +0000 (15:21 +0200)
commit15654cc594bf7fa9aa718692bc4c46427dbcf810
tree5d4e12c48170eafbfa2c43a7727a266945e13258
parentc646cd742ac6348f671af03feb16f214e8e642c3
Use virDomainObjGetDefs in lxcDomainSetMemoryFlags

On LXC domain startup we have already called virDomainObjSetDefTransient
to fill vm->newDef.

There is no need to call virDomainLiveConfigHelperMethod which has the
ability to fill newDef if it's NULL.
src/lxc/lxc_driver.c