1. 01 5月, 2011 1 次提交
  2. 29 4月, 2011 1 次提交
  3. 26 4月, 2011 1 次提交
  4. 17 4月, 2011 1 次提交
  5. 16 4月, 2011 1 次提交
  6. 15 4月, 2011 1 次提交
    • C
      Fix gcc 4.6 warnings · 454e50be
      Christophe Fergeau 提交于
      gcc 4.6 warns when a variable is initialized but isn't used afterwards:
      
      vmware/vmware_driver.c:449:18: warning: variable 'vmxPath' set but not used [-Wunused-but-set-variable]
      
      This patch fixes these warnings. There are still 2 offending files:
      
      - vbox_tmpl.c: the variable is used inside an #ifdef and is assigned several
        times outside of #ifdef. Fixing the warning would have required wrapping
        all the assignment inside #ifdef which hurts readability.
      
      vbox/vbox_tmpl.c: In function 'vboxAttachDrives':
      vbox/vbox_tmpl.c:3918:22: warning: variable 'accessMode' set but not used [-Wunused-but-set-variable]
      
      - esx_vi_types.generated.c: the name implies it's generated code and I
        didn't want to dive into the code generator
      
      esx/esx_vi_types.generated.c: In function 'esxVI_FileQueryFlags_Free':
      esx/esx_vi_types.generated.c:1203:3: warning: variable 'item' set but not used [-Wunused-but-set-variable]
      454e50be
  7. 05 4月, 2011 1 次提交
    • J
      Allow relative path for qemu backing file · 33da939b
      Jesse Cook 提交于
      This patch enables the relative backing file path support provided by
      qemu-img create.
      
      If a relative path is specified for the backing file, it is converted
      to an absolute path using the storage pool path. The absolute path is
      used to verify that the backing file exists. If the backing file exists,
      the relative path is allowed and will be provided to qemu-img create.
      33da939b
  8. 30 3月, 2011 1 次提交
    • N
      extend logging to record configuration-related changes · 343a27af
      Naoya Horiguchi 提交于
      Currently libvirt's default logging is limited and it is difficult to
      determine what was happening when a proglem occurred (especially on a
      machines where one don't know the detail.)  This patch helps to do that
      by making additional logging available for the following events:
      
        creating/defining/undefining domains
        creating/defining/undefining/starting/stopping networks
        creating/defining/undefining/starting/stopping storage pools
        creating/defining/undefining/starting/stopping storage volumes.
      
      * AUTHORS: add Naoya Horiguchi
      * src/network/bridge_driver.c src/qemu/qemu_driver.c
        src/storage/storage_driver.c: provide more VIR_INFO logging
      343a27af
  9. 22 3月, 2011 2 次提交
  10. 19 3月, 2011 1 次提交
    • T
      update virGetVersion description · 83bc4fa7
      Tiziano Mueller 提交于
      The current description suggests that you always have to provide
      a valid typeVer pointer. But if you want only the libvirt version
      it's also possible to set type and typeVer to NULL to skip the
      hypervisor part.
      83bc4fa7
  11. 15 3月, 2011 1 次提交
  12. 11 3月, 2011 1 次提交
  13. 05 3月, 2011 1 次提交
  14. 04 3月, 2011 1 次提交
  15. 22 2月, 2011 1 次提交
  16. 14 2月, 2011 1 次提交
  17. 09 2月, 2011 3 次提交
  18. 04 2月, 2011 1 次提交
  19. 03 2月, 2011 2 次提交
    • D
      Fix conflicts with glibc globals · de53effe
      Davidlohr Bueso 提交于
      When compiling libvirt with GCC 3.4.6 the following warning is being triggered quite a lot:
      
      util/memory.h:60: warning: declaration of 'remove' shadows a global declaration
      /usr/include/stdio.h:175: warning: shadowed declaration is here
      
      Fix this by renaming the parameter to 'toremove'.
      de53effe
    • N
      qemuBuildDeviceAddressStr() checks for QEMUD_CMD_FLAG_PCI_MULTIBUS · 0b864eb1
      Niels de Vos 提交于
      Depending if the qemu binary supports multiple pci-busses, the device
      options will contain "bus=pci" or "bus=pci.0".
      
      Only x86_64 and i686 seem to have support for multiple PCI-busses. When
      a guest of these architectures is started, set the
      QEMUD_CMD_FLAG_PCI_MULTIBUS flag.
      Signed-off-by: NNiels de Vos <ndevos@redhat.com>
      0b864eb1
  20. 31 1月, 2011 1 次提交
  21. 29 1月, 2011 1 次提交
  22. 28 1月, 2011 1 次提交
  23. 26 1月, 2011 1 次提交
  24. 15 1月, 2011 1 次提交
  25. 06 1月, 2011 1 次提交
    • K
      bridge: Fix generation of dnsmasq's --dhcp-hostsfile option · a43c7338
      Kay Schubert 提交于
      I added a host definition to a network definition:
      
      <network>
        <name>Lokal</name>
        <uuid>2074f379-b82c-423f-9ada-305d8088daaa</uuid>
        <bridge name='virbr1' stp='on' delay='0' />
        <ip address='192.168.180.1' netmask='255.255.255.0'>
          <dhcp>
            <range start='192.168.180.128' end='192.168.180.254' />
            <host mac='23:74:00:03:42:02' name='somevm' ip='192.168.180.10' />
          </dhcp>
        </ip>
      </network>
      
      But due to the wrong if-statement the argument --dhcp-hostsfile doesn't get
      added to the dnsmasq command. The patch below fixes it for me.
      a43c7338
  26. 20 12月, 2010 1 次提交
    • P
      bridge_driver: avoid double call to VIR_FREE · ed039abc
      Paweł Krześniak 提交于
      While not technically a double free (since VIR_FREE NULLs the
      pointer), this is unnecessary extra code.
      
      This crept in when the function was converted from virRun to virCommand.
      
      The AUTHORS file has also been updated.
      ed039abc
  27. 14 12月, 2010 1 次提交
    • R
      802.1Qbh: Add support for IFLA_VF_MAC · 013c000a
      Roopa Prabhu 提交于
      Current code does not pass VM mac address to a 802.1Qbh direct attach
      interface using IFLA_VF_MAC.  This patch adds support in macvtap code to
      send IFLA_VF_MAC netlink request during port profile association on a
      802.1Qbh interface.
      
      Stefan Cc'ed for comments because this patch changes a condition for
      802.1Qbg
      
      802.1Qbh support for IFLA_VF_MAC in enic driver has been posted and is
      pending acceptance at http://marc.info/?l=linux-netdev&m=129185244410557&w=2
      013c000a
  28. 10 12月, 2010 2 次提交
    • J
      qemu: Add RBD support and some network disk fixes · 85400fb9
      Josh Durgin 提交于
      Changes common to all network disks:
      -Make source name optional in the domain schema, since NBD doesn't use it
      -Add a hostName type to the domain schema, and use it instead of genericName, which doesn't include .
      -Don't leak host names or ports
      -Set the source protocol in qemuParseCommandline
      Signed-off-by: NJosh Durgin <joshd@hq.newdream.net>
      85400fb9
    • M
      add network disk support · 036ad505
      MORITA Kazutaka 提交于
      This patch adds network disk support to libvirt/QEMU.  The currently
      supported protocols are nbd, rbd, and sheepdog.  The XML syntax is like
      this:
      
          <disk type="network" device="disk">
            <driver name="qemu" type="raw" />
            <source protocol='rbd|sheepdog|nbd' name="...some image identifier...">
              <host name="mon1.example.org" port="6000">
              <host name="mon2.example.org" port="6000">
              <host name="mon3.example.org" port="6000">
            </source>
            <target dev="vda" bus="virtio" />
          </disk>
      Signed-off-by: NMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
      036ad505
  29. 07 12月, 2010 1 次提交
  30. 01 12月, 2010 1 次提交
  31. 30 11月, 2010 1 次提交
    • W
      correct the arguments of migrate_speed · 4f7162d1
      Wen Congyang 提交于
      When we set migrate_speed by json, we receive the following
      error message:
      libvirtError: internal error unable to execute QEMU command
      'migrate_set_speed': Invalid parameter type, expected: number
      
      The reason is that: the arguments of migrate_set_speed
      by json is json number, not json string.
      Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
      4f7162d1
  32. 29 10月, 2010 1 次提交
    • K
      audit: printf warning fix · 55460342
      KAMEZAWA Hiroyuki 提交于
      fix warning
        CC     libvirt_util_la-virtaudit.lo
      cc1: warnings being treated as errors
      util/virtaudit.c: In function 'virAuditEncode':
      util/virtaudit.c:146: error: implicit declaration of function 'virAsprintf' [-Wimplicit-function-declaration]
      util/virtaudit.c:146: error: nested extern declaration of 'virAsprintf' [-Wnested-externs]
      55460342
  33. 26 10月, 2010 1 次提交
    • O
      virsh: Add option 'model' for attach-interface · 1a29a14a
      Osier Yang 提交于
      * tools/virsh.c: add missing option from the CLI to allows setting
        up the NIC model type when attaching an interface
      * tools/virsh.pod: extend documentation
      * AUTHORS: add Osier Yang to the list
      1a29a14a
  34. 20 10月, 2010 1 次提交
  35. 14 10月, 2010 1 次提交