1. 10 8月, 2017 1 次提交
    • M
      qemuDomainUndefineFlags: unlink nvram file regardless of domain state · e488ebb3
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1467245
      
      Currently, there's a bug when undefining a domain with NVRAM
      store. Basically, the unlink() of the NVRAM store file happens
      during the undefine procedure iff domain is inactive. So, if
      domain is running and undefine is called the file is left behind.
      It won't be removed in the domain cleanup process either
      (qemuProcessStop). One of the solutions is to remove if
      regardless of the domain state and rely on qemu having the file
      opened. This still has a downside that if the domain is defined
      back the NVRAM store file is going to be new, any changes to the
      current one are lost (just like with any other file that is
      deleted while a process has it opened). But is it really a
      downside?
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      e488ebb3
  2. 08 8月, 2017 6 次提交
  3. 07 8月, 2017 11 次提交
  4. 06 8月, 2017 2 次提交
  5. 05 8月, 2017 1 次提交
    • J
      libxl: Add a test suite for libxl_domain_config generator · d8e8b63d
      Jim Fehlig 提交于
      The libxl library allows a libxl_domain_config object to be serialized
      from/to a JSON string. Use this to allow testing of the XML to
      libxl_domain_config conversion process. Test XML is converted to
      libxl_domain_config, which is then serialized to json. A json template
      corresponding to the test XML is converted to a libxl_domain_config
      object using libxl_domain_config_from_json(), and then serialized
      back to json using libxl_domain_config_to_json(). The two json
      docs are then compared.
      
      Using libxl to convert the json template to a libxl_domain_config
      object and then back to json provides a simple way to account for
      any changes or additions to the json representation across Xen
      releases.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      [update to v3.5.0-rc1, improve error reporting, use /bin/true emulator]
      Signed-off-by: NMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
      d8e8b63d
  6. 04 8月, 2017 3 次提交
  7. 03 8月, 2017 16 次提交