• D
    Ensure libvirt_lxc process loads the live XML config · eb06375a
    Daniel P. Berrange 提交于
    Currently the libvirt_lxc process uses VIR_DOMAIN_XML_INACTIVE
    when loading the XML for the container. This means it loses
    any dynamic data such as the, just allocated, SELinux label.
    
    Further there is an inconsistency in the libvirt LXC driver
    whereby it saves the live config XML and then later overwrites
    the file with the live status XML instead. Add a comment about
    this for future reference.
    
    * src/lxc/lxc_controller.c: Remove VIR_DOMAIN_XML_INACTIVE
      when loading XML
    * src/lxc/lxc_driver.c: Add comment about inconsistent
      config file formats
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    eb06375a
lxc_driver.c 112.9 KB