1. 18 5月, 2011 9 次提交
    • C
      Fix messages using VIR_ERR_XML_ERROR · ed97be61
      Cole Robinson 提交于
      This error code has existed since the dawn of time, yet the messages it
      generates are almost universally busted. Here's a small sampling:
      
      src/conf/domain_conf.c:4889 : XML description for missing root element is not well formed or invalid
      src/conf/domain_conf.c:4951 : XML description for unknown device type is not well formed or invalid
      src/conf/domain_conf.c:5460 : XML description for maximum vcpus must be an integer is not well formed or invalid
      src/conf/domain_conf.c:5468 : XML description for invalid maxvcpus %(count)lu is not well formed or invalid
      
      Fix up the error code to instead be
      
      XML error: <msg>
      
      Adjust the few locations that were using the original correctly (or shouldn't
      have been using the error code at all).
      
      v2:
          Fix wording of error code without a passed argument
      ed97be61
    • E
      libvirt.h: consolidate typed parameter handling · 824dcaff
      Eric Blake 提交于
      The new type is identical to the three old types that it replaces,
      and by creating a common type, this allows future patches to share
      common code that manipulates typed parameters.
      
      This change is backwards-compatible in API (recompilation works
      without any edits) and ABI (an older client that has not been
      recompiled uses the same layout) for code using only public
      names; only code using private names (those beginning with _)
      will have to adapt.
      
      * include/libvirt/libvirt.h.in (virTypedParameterType)
      (VIR_TYPED_PARAM_FIELD_LENGTH, _virTypedParameter): New enum,
      macro, and type.
      (virSchedParameter, virBlkioParameter, virMemoryParameter):
      Rewrite in terms of a common type, while keeping all old public
      names for backwards compatibility.
      (struct _virSchedParameter, struct _virBlkioParameter)
      (struct _virMemoryParameter): Delete - these are private names.
      * python/generator.py (enum): Cope with the refactoring.
      824dcaff
    • E
      build: update to latest gnulib · f3cfc99e
      Eric Blake 提交于
      * .gnulib: Update, for bootstrap and other fixes.
      * bootstrap: Resynchronize with gnulib.
      f3cfc99e
    • D
      Add support for 'passthru' mode for direct network interfaces · 5252a06d
      Dirk Herrendorefer 提交于
      starting with kernel 2.6.38 macvtap supports a 'passthru' mode for
      attaching virtual functions of a SRIOV capable network card directly to a VM.
      This patch adds the capability to configure such a device.
      Signed-off-by: NDirk Herrendoerfer <d.herrendoerfer@herrendoerfer.name>
      5252a06d
    • M
      qemu: fix typo in spice migration code · 45b28f7c
      Michal Privoznik 提交于
      This typo caused XPath returning improper value and thus not
      working spice after migration.
      45b28f7c
    • H
      virsh: add parameters --live, --config and --current to cmd schedinfo · 42af2443
      Hu Tao 提交于
      This enables user to modify cpu.shares even when domain is inactive.
      42af2443
    • H
      remote: introduce remoteSetSchedulerParametersFlags · bb9f1bbf
      Hu Tao 提交于
      support for virDomainSetSchedulerParametersFlags of remote driver.
      bb9f1bbf
    • H
      qemu: introduce qemuSetSchedulerParametersFlags · a9189e2c
      Hu Tao 提交于
      Support for virDomainSetSchedulerParametersFlags of qemu driver.
      a9189e2c
    • E
      sched: adjust parameter values to make current = 0 · 33645d44
      Eric Blake 提交于
      See virDomainMemoryModFlags for precedent.
      
      * include/libvirt/libvirt.h.in (virDomainSchedParameterFlags): Set
      CURRENT as a synonym to 0.
      33645d44
  2. 17 5月, 2011 26 次提交
  3. 16 5月, 2011 5 次提交