1. 23 9月, 2009 2 次提交
    • M
      ESX Add esxNodeGetFreeMemory() · ecd93b75
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: add esxNodeGetFreeMemory(), cache IP address
      * src/esx/esx_vi.[ch]: refactor resource pool query into esxVI_GetResourcePool()
      * src/esx/esx_vi_types.[ch]: bind VI type ResourcePoolResourceUsage
      ecd93b75
    • C
      Introduce virStrncpy. · 03d777f3
      Chris Lalancette 提交于
      Add the virStrncpy function, which takes a dst string, source string,
      the number of bytes to copy and the number of bytes available in the
      dest string.  If the source string is too large to fit into the
      destination string, including the \0 byte, then no data is copied and
      the function returns NULL.  Otherwise, this function copies n bytes
      from source into dst, including the \0, and returns a pointer to the
      dst string.  This function is intended to replace all unsafe uses
      of strncpy in the code base, since strncpy does *not* guarantee that
      the buffer terminates with a \0.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      03d777f3
  2. 22 9月, 2009 1 次提交
  3. 14 9月, 2009 2 次提交
  4. 05 9月, 2009 3 次提交
  5. 04 9月, 2009 1 次提交
    • M
      ESX: Fix VMX path parsing and URL encoding · 902aaabb
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: handle spaces in VMX file path and use a
        virBuffer to encode spaces correctly in the resulting URL
      * src/esx/esx_vi.c: include the URL in the error message in case
        of a download error
      902aaabb
  6. 06 8月, 2009 3 次提交
  7. 05 8月, 2009 1 次提交
    • M
      Extend the ESX URL to habdle ports and GSX · 10a4e969
      Matthias Bolte 提交于
      * src/esx/esx_driver.c src/esx/esx_vi.[ch] src/esx/esx_vmx.[ch]:
        adds version checking for GSX 2.0, allows to pass a specific port
        for the connection and also add a new specific gsx scheme for
        easier connections to GSX hosts
      10a4e969
  8. 31 7月, 2009 1 次提交
    • D
      Enable ESX driver build on Mingw32 · 84e96866
      Daniel P. Berrange 提交于
      * autobuild.sh, mingw32-libvirt.spec.in: Enable esx on mingw32
      * src/esx/esx_driver.c: Define AI_ADDRCONFIG if not set
      * src/esx/esx_util.c, src/esx/esx_vi_types.c: Always use
        %lld & friends, since gnulib guarentees we have these
        and not the target's own variants
      84e96866
  9. 30 7月, 2009 1 次提交
    • M
      ESX Scheduler documentation and cleanup · 3f3ec73d
      Matthias Bolte 提交于
      * esx/esx_driver.c: add some documentation about the CPU scheduler
        parameters and remove some old, unnecessary compensation code, since
        virsh uses the proposed parameter types now.
      3f3ec73d
  10. 27 7月, 2009 3 次提交
    • M
      ESX driver accept VI API version 4.0 · 84255632
      Matthias Bolte 提交于
      * src/esx/esx_driver.c src/esx/esx_vi.c src/esx/esx_vi.h
        src/esx/esx_vmx.c src/esx/esx_vmx.h: extend the VI API version checks
        to accept version 4.0 and takes care of the virtualHW.version change
        from 4 to 7.
      84255632
    • M
      Add no_verify query parameter to ESX URIs · e4e50f52
      Matthias Bolte 提交于
      * src/esx/esx_driver.c src/esx/esx_util.c src/esx/esx_util.h
        src/esx/esx_vi.c src/esx/esx_vi.h: adds a no_verify query parameter to
        stop libcurl from verifying theserver certificate for the https
        transport.
      e4e50f52
    • M
      Fix memory leaks in esxDomainDumpXML · e74d6c50
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: remove leaks in esxDomainDumpXML() and simplify
        esxDomainXMLFromNative()
      e74d6c50
  11. 24 7月, 2009 1 次提交
    • M
      First version of the driver for VMWare ESX · e2aeee68
      Matthias Bolte 提交于
      * src/esx/esx_*.[ch]: the driver, uses a remote minimal SOAP client
        to talk to the VI services on ESX nodes.
      * configure.in include/libvirt/virterror.h src/Makefile.am src/driver.h
        src/libvirt.c src/virterror.c: glue in the new driver
      e2aeee68