1. 08 9月, 2009 2 次提交
  2. 07 9月, 2009 7 次提交
  3. 05 9月, 2009 13 次提交
  4. 04 9月, 2009 18 次提交
    • 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
    • P
      VBox add Storage Volume support · 6b50bbea
      Pritesh Kothari 提交于
      * src/vbox/vbox_driver.c src/vbox/vbox_tmpl.c: adds the driver for
        storage volumes
      6b50bbea
    • R
      Fix several memory leaks · 0cf672fa
      Ryota Ozaki 提交于
      * src/domain_conf.c src/network_conf.c src/qemu_conf.c
        src/storage_backend_fs.c: various problems spotted by valgrind
        through libvirt code
      0cf672fa
    • P
      VBox driver cleanups · c8376c91
      Pritesh Kothari 提交于
      * src/vbox/vbox_tmpl.c: a bit of cleanup
      c8376c91
    • L
      Minor comment changes · 28c3243e
      Laine Stump 提交于
      * src/libvirt.c: fix some minor grammer (and one other) nits in comments
        that end up in generated API reference documentation
      28c3243e
    • L
      Fix a memory leak in virsh · 3ced80b5
      Laine Stump 提交于
      * src/virsh.c: cmdNodeDeviceDumpXML wasn't freeing
        virNodeDeviceGetXMLDesc() return string
      3ced80b5
    • D
      Fix ID field in virDomainPtr after starting Xen VM · 96f0ee85
      Daniel P. Berrange 提交于
      * src/xend_internal.c: Lookup guest after starting persistent
        config in order to refresh the domain ID field
      96f0ee85
    • D
      PHYP driver cleanups · 91c7bf65
      Daniel Veillard 提交于
      * libvirt.spec.in: activate phyp and fix the BuildDep to libssh2-devel
      * src/phyp/phyp_driver.c: fix a debug macro to use the normal logging API
      91c7bf65
    • E
      Switch Power Hypervisor to libssh2 · 191053b5
      Eduardo Otubo 提交于
      * configure.in src/Makefile.am: change detection and flags
      * src/phyp/phyp_driver.c src/phyp/phyp_driver.h: connection now
        need to be done as part of the driver code, cleaned up by DV
      191053b5
    • C
      Allow libvirtd to RPC to external libvirtd · 02d9cef3
      Chris Lalancette 提交于
      * src/remote_internal.c: in remoteOpen() allow the daemon itself to make
        RPCs to an external libvirtd, but only if the URI is fully specified.
      02d9cef3
    • D
      Fix memory leak of monitor character device · e1424a97
      Daniel P. Berrange 提交于
      * src/qemu_driver.c: Free the vm->monitor_chr field at VM shutdown.
        Unlink the UNIX domain socket at VM shutdown to avoid littering
        FS with old sockets
      e1424a97
    • D
      Automatically set correct ownership of QEMU state directories · 2a6825c3
      Daniel P. Berrange 提交于
      * src/qemu_driver.c: Change ownership of /var/{lib,cache}/libvirt/qemu
        to match user/group that QEMU VMs are configured to run as.
      2a6825c3
    • D
      Move QEMU monitor socket in /var/lib/libvirt/qemu · 182a80b9
      Daniel P. Berrange 提交于
      Separate the guest created QEMU monitor socket location
      from the libvirtd create XML / PID data files, to improve
      security separation when running QEMU non-root
      
      * libvirt.spec.in: Leave /var/run/libvirt/qemu as root:root
      * src/qemu_conf.h: Add libDir and cacheDir directory paths
      * src/qemu_driver.c: Move QEMU monitor socket from
        stateDir to libDir to avoid making security critical directory
        accessible to QEMU guests.
      * src/util.c: Delay running hook till after damonizing to
        ensure pidfile is still written before changing UID/GID
      182a80b9
    • D
      Avoid polling on FDs with no events enabled · 34d22c1e
      Daniel P. Berrange 提交于
      If a file descriptor with events=0 was added to the libvirtd
      event loop, it would still be added to the poll() fds' array.
      While it wouldn't see any POLLIN/OUT events, it'd still get
      triggered for HANGUP/ERROR events which was not in compliance
      with the libvirt events API contract.
      
      * qemud/event.c: Don't poll on FDs with events=0
      * tests/eventtest.c: Add test case to validate fix to event.c
      34d22c1e
    • J
      xen_internal.c: remove two unused local variables · 77a1f418
      Jim Meyering 提交于
      * src/xen_internal.c (xenHypervisorSetSchedulerParameters): Remove
      set-but-never-used local variables, cap_set and weight_set.
      77a1f418
    • M
      esx_vi: return -1 upon failure, as intended · 8ed30884
      Matthias Bolte 提交于
      * src/esx/esx_vi.c (esxVI_Enumeration_Deserialize): Fix
      reversed goto and result=-1 statements.
      8ed30884
    • J
      python: let libvirt_virConnectDomainEventCallback indicate success · 0fa4d629
      Jim Meyering 提交于
      * python/libvir.c (libvirt_virConnectDomainEventCallback): Return 0
      when successful, rather than always returning -1.
      clang flagged this function for its dead-store of "ret=0".
      Once "ret" was set to 0, it was never used, and
      the function would always return -1.
      0fa4d629
    • J
      mdns.c: remove dead initialization · f4592a8d
      Jim Meyering 提交于
      * qemud/mdns.c (libvirtd_mdns_client_callback): Remove dead
      initialization.
      f4592a8d