1. 15 9月, 2018 1 次提交
    • J
      libxl: drop support for Xen < 4.6 · 5bdcef13
      Jim Fehlig 提交于
      Currently the libxl driver claims support for Xen >= 4.4, but
      Xen 4.4 and 4.5 are no longer supported upstream. Let's increase
      the minimum supported Xen version to 4.6 and change the defined
      LIBXL_API_VERSION to 0x040500, which is the API version defined
      when Xen 4.6 was released.
      
      Since Xen 4.6 contains a pkgconfig file, drop the now unused code
      that falls back to using LIBVIRT_CHECK_LIB in the absence of
      pkgconfig file. In addition, bumping the LIBXL_API_VERSION
      required adjusting the calls to libxl_set_vcpuaffinity to account
      for the extra parameter in the 0x040500 version of the API.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      5bdcef13
  2. 10 8月, 2018 1 次提交
  3. 25 1月, 2018 1 次提交
  4. 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
  5. 22 12月, 2016 1 次提交
    • A
      m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros · e64f2fab
      Andrea Bolognani 提交于
      LIBVIRT_ARG_WITH_ALT is more generic than LIBVIRT_ARG_WITH, which
      is tailored at switching features on and off.
      
      Rename the macros according to their intended purpose, and add
      some documentation to help developers pick between the two.
      e64f2fab
  6. 21 12月, 2016 4 次提交