1. 10 12月, 2010 1 次提交
    • 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
  2. 07 12月, 2010 1 次提交
  3. 01 12月, 2010 1 次提交
  4. 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
  5. 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
  6. 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
  7. 20 10月, 2010 1 次提交
  8. 14 10月, 2010 1 次提交
  9. 13 10月, 2010 2 次提交
    • L
      virsh: better support double quote · ad2f1b60
      Lai Jiangshan 提交于
      In origin code, double quote is only allowed at the begin or end
      "complicated argument"
      --some_opt="complicated string"  (we split this argument into 2 parts,
      option and data, the data is "complicated string").
      
      This patch makes it allow double quote at any position of
      an argument:
      complicated" argument"
      complicated" "argument
      --"some opt=complicated string"
      
      This patch is also needed for the following patches,
      the following patches will not split option argument into 2 parts,
      so we have to allow double quote at any position of an argument.
      Signed-off-by: NLai Jiangshan <laijs@cn.fujitsu.com>
      ad2f1b60
    • N
      Adding virDomainSetMemoryParameters and virDomainGetMemoryParameters API · 0cd78232
      Nikunj A. Dadhania 提交于
      Public api to set/get memory tunables supported by the hypervisors.
      
      dv:
      * some cleanups in libvirt.c
      * adding extra checks in libvirt.c new entry points
      
      v4:
      * Move exporting public API to this patch
      * Add unsigned int flags to the public api for future extensions
      
      v3:
      * Add domainGetMemoryParamters and NULL in all the driver interface
      
      v2:
      * Initialize domainSetMemoryParameters to NULL in all the driver
        interface structure.
      0cd78232
  10. 08 9月, 2010 1 次提交
  11. 25 8月, 2010 1 次提交
    • S
      docs: fix lxc examples · e9406e9e
      Serge Hallyn 提交于
      * docs/drvlxc.html.in: Use correct VM name, and mention that
      libvirt_lxc might be in an alternate location.
      e9406e9e
  12. 20 8月, 2010 1 次提交
    • P
      storage: add support for Vendor and Model in XML · 20be699e
      Patrick Dignan 提交于
      I wrote a patch to add support for listing the Vendor and Model of a
      storage pool in the storage pool XML.  This would allow vendor
      extensions of specific devices.  The patch includes a test for the new
      attributes as well.
      
      Patrick Dignan
      20be699e
  13. 10 8月, 2010 1 次提交
  14. 03 8月, 2010 1 次提交
  15. 09 7月, 2010 1 次提交
  16. 23 6月, 2010 1 次提交
  17. 02 6月, 2010 1 次提交
    • J
      Trivial virsh.pod additions --all for "list" command and similar · e5f31f46
      Justin Clift 提交于
      This is just a trivial patch to virsh.pod (from git master). It adds the
      following pieces to the virsh man page:
      
        + Shows the --inactive and --all optional parameters for the list
          command.
      
          Closes Bugzilla #575512, reported by Renich Bon Ciric
          https://bugzilla.redhat.com/show_bug.cgi?id=575512
      
        + Corrects the existing description of the list command, to now say
          that only running domains are listed if no domains are specified.
      
          The man page up until this point has said all domains are listed if
          no domains are specified, which is incorrect.
      
        + Adds the "shut off" state to the list of states for the list
          command.
      
        + Adds a missing =back around line 755, that pod2man was complaining
          was missing.
      e5f31f46
  18. 28 5月, 2010 1 次提交
  19. 25 5月, 2010 1 次提交
  20. 23 4月, 2010 2 次提交
  21. 31 3月, 2010 1 次提交
  22. 30 3月, 2010 1 次提交
  23. 18 3月, 2010 1 次提交
    • P
      python: Fix networkLookupByUUID · 2ef091ef
      Philip Hahn 提交于
      According to:
      
      http://libvirt.org/html/libvirt-libvirt.html#virNetworkLookupByUUID
      
      virNetworkLookupByUUID() expects a virConnectPtr as its first argument,
      thus making it a method of the virConnect Python class.
      
      Currently it's a method of libvirt.virNetwork.
      
      @@ -805,13 +805,6 @@ class virNetwork:
               if ret == -1: raise libvirtError ('virNetworkGetAutostart() failed', net=self)
               return ret
      
      -    def networkLookupByUUID(self, uuid):
      -        """Try to lookup a network on the given hypervisor based on its UUID. """
      -        ret = libvirtmod.virNetworkLookupByUUID(self._o, uuid)
      -        if ret is None:raise libvirtError('virNetworkLookupByUUID() failed', net=self)
      -        __tmp = virNetwork(self, _obj=ret)
      -        return __tmp
      -
       class virInterface:
           def __init__(self, conn, _obj=None):
               self._conn = conn
      @@ -1689,6 +1682,13 @@ class virConnect:
               __tmp = virDomain(self,_obj=ret)
               return __tmp
      
      +    def networkLookupByUUID(self, uuid):
      +        """Try to lookup a network on the given hypervisor based on its UUID. """
      +        ret = libvirtmod.virNetworkLookupByUUID(self._o, uuid)
      +        if ret is None:raise libvirtError('virNetworkLookupByUUID() failed', conn=self)
      +        __tmp = virNetwork(self, _obj=ret)
      +        return __tmp
      +
      2ef091ef
  24. 12 3月, 2010 1 次提交
  25. 10 3月, 2010 1 次提交
  26. 19 1月, 2010 1 次提交
  27. 22 12月, 2009 1 次提交
  28. 24 9月, 2009 2 次提交
  29. 02 9月, 2009 1 次提交
  30. 24 7月, 2009 1 次提交
  31. 16 7月, 2009 1 次提交
    • P
      add cd and pwd commands to virsh · c4951f11
      Paolo Bonzini 提交于
      * src/virsh.c: adds cd and pwd commands to virsh useful for save and
        restore commands
      * docs/virsh.pod virsh.1: update the documentation
      * AUTHORS: add Paolo Bonzini
      c4951f11
  32. 02 7月, 2009 1 次提交
    • D
      Fix some missing parts in network code and schemas · 1e4434d6
      Daniel Veillard 提交于
      * docs/schemas/network.rng: fix the network schemas to match
        new accepted elements, patch by Satoru SATOH
      * src/network_conf.c: fix network driver to save the domain name
        in XML if present, patch by Satoru SATOH
      * AUTHORS: adding Satoru SATOH
      Daniel
      1e4434d6
  33. 27 6月, 2009 1 次提交
    • D
      allow to create storage volumes on disk backend · fd90b67a
      Daniel Veillard 提交于
      * src/libvirt_private.syms src/parthelper.c src/storage_backend_disk.c
        src/storage_conf.c src/storage_conf.h: allow to create storage
        volumes on disk backend, patches by Henrik Persson
      * AUTHORS: add Henrik Persson
      Daniel
      fd90b67a
  34. 25 6月, 2009 2 次提交
    • D
      fix UML driver logging macros · 9e080991
      Daniel Veillard 提交于
      * src/uml_driver.c: fix UML driver logging macros, patch by Amy Griffis
      * AUTHORS: adding Amy Griffis
      Daniel
      9e080991
    • D
      Fix a couple of state problems · d45242c6
      Daniel Veillard 提交于
      * src/qemu_driver.c: fix a domain state problem after
        migration, patch  by Federico Simoncelli, fixes #507537
      * src/domain_conf.c:  fix a transcient domain state problem after
        destroy, patch  by Federico Simoncelli, fixes #507304
      * AUTHORS: add Federico Simoncelli and Javier Fontan
      daniel
      d45242c6
  35. 11 6月, 2009 1 次提交
  36. 25 5月, 2009 1 次提交
    • D
      Include the OpenNebula driver · b811851b
      Daniel Veillard 提交于
      * src/opennebula/one_conf.[ch] src/opennebula/one_driver.[ch]:
        the OpenNebula driver
      * configure.in include/libvirt/virterror.h qemud/Makefile.am
        qemud/qemud.c src/Makefile.am src/domain_conf.[ch] src/driver.h
        src/libvirt.c src/virterror.c: integration of the OpenNebula
        driver in the libvirt infrastructure
      * AUTHORS: add Abel Miguez Rodriguez
      daniel
      b811851b