1. 10 11月, 2014 3 次提交
  2. 08 11月, 2014 2 次提交
    • M
      esx: Simplify VI (vSphere) API and VMware product version handling · 0396394f
      Matthias Bolte 提交于
      Store version numbers in this format
      
      version = 1000000 * major + 1000 * minor + micro
      
      produced by virParseVersionString instead of dedicated enums.
      
      Split the complex esxVI_ProductVersion enum into a simpler
      esxVI_ProductLine enum and a product version number.
      
      Relax API and product version number checks to accept everything that
      is equal or greater than the supported minimum version. VMware ESX
      went through 3 major versions and the vSphere API always stayed
      backward compatible. This commit assumes that this will also be true
      for future VMware ESX versions.
      
      Also reword error messages in esxConnectTo* to say what was expected
      and what was found instead (suggested by Richard W.M. Jones).
      0396394f
    • M
      domain_conf: Use virDomainParseMemory more widely · 01b4de2b
      Michal Privoznik 提交于
      As reviewing patches upstream it occurred to me, that we have two
      functions doing nearly the same: virDomainParseMemory which
      expects XML in the following format:
      
        <memory unit='MiB'>1337</memory>
      
      The other function being virDomainHugepagesParseXML expecting the
      following format:
      
        <someElement size='1337' unit='MiB'/>
      
      It wouldn't matter to have two functions handle two different
      scenarios like this if we could only not copy code that handles
      32bit arches around. So this code merges the common parts into
      one by inventing new @units_xpath argument to
      virDomainParseMemory which allows overriding the default location
      of @unit attribute in XML. With this change both scenarios above
      can be parsed with virDomainParseMemory.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      01b4de2b
  3. 07 11月, 2014 20 次提交
  4. 06 11月, 2014 15 次提交