1. 05 9月, 2009 5 次提交
    • M
      ESX add domain undefine based on esxVI_UnregisterVM · ad866fd1
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: add esxDomainUndefine() based on
        esxVI_UnregisterVM()
      * src/esx/esx_vi_methods.[ch]: add esxVI_UnregisterVM()
      ad866fd1
    • M
      ESX add esxGetCapabilities() with basic defaults · 3e8cb460
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: add esxCapsInit() with default caps and add
        esxGetCapabilities()
      3e8cb460
    • M
      ESX simplify SOAP request and response handling · 46e76e8b
      Matthias Bolte 提交于
      * src/esx/esx_vi.[ch]: convert esxVI_RemoteRequest_Execute() to a
        simpler esxVI_Context_Execute() version, remove esxVI_RemoteRequest
        and convert esxVI_RemoteResponse to esxVI_Response
      * src/esx/esx_vi_methods.c: update and simplify callers to use
        esxVI_Context_Execute() instead of esxVI_RemoteRequest_Execute()
      46e76e8b
    • M
      ESX use virXPathNode*() to simplify XPath handling · 03d28d73
      Matthias Bolte 提交于
      * src/esx/esx_vi.[ch]: use virXPathNode*() in
        esxVI_RemoteRequest_Execute() and remove
        esxVI_RemoteResponse_DeserializeXPathObject*()
      * src/esx/esx_vi_methods.c: update callers to use the new syntax of
        esxVI_RemoteRequest_Execute()
      03d28d73
    • M
      ESX: make esxVI_GetVirtualMachineIdentity() robust · 1f8988b5
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: add configStatus to the requested properties
        to check it in esxVI_GetVirtualMachineIdentity()
      * src/esx/esx_vi.[ch]: add esxVI_GetManagedEntityStatus()
        and use it in esxVI_GetVirtualMachineIdentity()
      * src/esx/esx_vi_types.[ch]: add VI type esxVI_ManagedEntityStatus
      1f8988b5
  2. 04 9月, 2009 30 次提交
  3. 03 9月, 2009 5 次提交
    • P
      VBox cleanup and update of networking shutdown · da482fe1
      Pritesh Kothari 提交于
      * src/vbox/vbox_tmpl.c: merged vboxNetworkUndefine() and
        vboxNetworkDestroy() and added code to handle multiple hostonly
        interfaces.
      da482fe1
    • P
      VBox cleanup and update of networking XML functions · 32ad6aef
      Pritesh Kothari 提交于
      * src/vbox/vbox_tmpl.c: merged vboxNetworkCreateXML() and
        vboxNetworkDefineXML() and added code to handle multiple hostonly
        interfaces.
      32ad6aef
    • D
      Add support for setting disk drive serial numbers · 85d15b51
      Daniel P. Berrange 提交于
      * docs/schemas/domain.rng: Add <serial> element to disks
      * src/domain_conf.h, src/domain_conf.c: XML parsing and
        formatting for disk serial numbers
      * src/qemu_conf.c: Set serial number when launching guests
      * tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.args,
        tests/qemuxml2argvdata/qemuxml2argv-disk-drive-shared.xml: Add
        serial number to XML test
      85d15b51
    • D
      Support configuration of huge pages in guests · d823a05a
      Daniel P. Berrange 提交于
      Add option to domain XML for
      
           <memoryBacking>
              <hugepages/>
           </memoryBacking>
      
      * configure.in: Add check for mntent.h
      * qemud/libvirtd_qemu.aug, qemud/test_libvirtd_qemu.aug, src/qemu.conf
        Add 'hugetlbfs_mount' config parameter
      * src/qemu_conf.c, src/qemu_conf.h: Check for -mem-path flag in QEMU,
        and pass it when hugepages are requested.
        Load hugetlbfs_mount config parameter, search for mount if not given.
      * src/qemu_driver.c: Free hugetlbfs_mount/path parameter in driver shutdown.
        Create directory for QEMU hugepage usage, chowning if required.
      * docs/formatdomain.html.in: Document memoryBacking/hugepages elements
      * docs/schemas/domain.rng: Add memoryBacking/hugepages elements to schema
      * src/util.c, src/util.h, src/libvirt_private.syms: Add virFileFindMountPoint
        helper API
      * tests/qemuhelptest.c: Add -mem-path constants
      * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add tests for hugepage
        handling
      * tests/qemuxml2argvdata/qemuxml2argv-hugepages.xml,
        tests/qemuxml2argvdata/qemuxml2argv-hugepages.args: Data files for
        hugepage tests
      d823a05a
    • D
      Fix misc OOM bugs · 8eacfd4c
      Daniel P. Berrange 提交于
      * tests/testutils.c: Run test function twice, once to prime it for
        static allocations, once to count the non-static allocations.
      * tests/testutilsqemu.c: Initialize variable correctl
      * src/capabilities.c: Don't free machines variable upon failure
        since caller must do that
      * src/xm_internal.c: Add missing check for OOM in building VIF
        config param
      8eacfd4c