1. 25 2月, 2014 9 次提交
    • L
      conf: re-situate <bandwidth> element in <interface> · 65487c0f
      Laine Stump 提交于
      This moves the call to virNetDevBandwidthFormat() in
      virDomainNetDefFormat() to be called right after the call to
      virNetDevVPortProfileFormat(), so that a single chunk of that function
      can be placed inside an if that conditionally calls
      virDomainActualNetDefContentsFormat() instead (next patch). The
      re-ordering necessitates modifying a couple of test data files.
      65487c0f
    • L
      conf: make virDomainNetDefFormat a public function · 7c39214c
      Laine Stump 提交于
      We will need to call virDomainNetDefFormat() from the network hook (in
      the network driver).
      7c39214c
    • L
      conf: handle null pointer in virNetDevVlanFormat · 79358733
      Laine Stump 提交于
      Other *Format() functions (e.g. virNetDevBandwidthFormat()) return
      with no action when called with a NULL *Def pointer. This makes
      virNetDevVlanFormat() consistent with that behavior.
      79358733
    • L
      conf: clarify what is returned for actual bandwidth and vlan · 6d4ffae4
      Laine Stump 提交于
      In practice, if a virDomainNetDef has a virDomainActualNetDef
      allocated, the ActualNetDef will *always* contain the bandwidth and
      vlan data from the NetDef (unless there was also a portgroup involved
      - see networkAllocateActualDevice()).
      
      However, virDomainNetGetActual(Bandwidth|Vlan)() were coded to make it
      appear as if it might be possible to have a valid bandwidth/vlan in
      the NetDef, but a NULL in the ActualNetDef. Believing this un-truth
      could lead to writing unnecessarily defensive code when dealing with
      the virDomainGetActual*() functions, so this patch makes it more
      obvious:
      
         If there is an ActualNetDef, it will always have a copy of the
         various appropriate bits from its parent NetDef, and the
         virDomainGetActual* function will *always* return the data from the
         ActualNetDef, not from the NetDef.
      
      The reason for this effective-NOP patch is that a subsequent patch to
      change virDomainNetDefFormat will rely on the above rule.
      6d4ffae4
    • W
      rbd: Set timeout options for librados · 60f70542
      Wido den Hollander 提交于
      These timeout values make librados/librbd return -ETIMEDOUT when a
      operation is blocking due to a failing/unreachable Ceph cluster.
      
      By having the operations time out libvirt will not block.
      60f70542
    • W
      rbd: Include return statuses from librados/librbd in logging · 761491eb
      Wido den Hollander 提交于
      With this information it's easier for the user to debug what is
      going wrong.
      761491eb
    • J
      libxl: handle on_crash coredump actions · cfad607b
      Jim Fehlig 提交于
      Add support for coredump-{destroy,restart} actions of <on_crash> event.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      cfad607b
    • J
      libxl: add dump dir to libxlDriverConfig object · c2de456e
      Jim Fehlig 提交于
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      c2de456e
    • J
      libxl: honor domain lifecycle event configuration · 51b9b391
      Jim Fehlig 提交于
      The libxl driver was ignoring the <on_*> domain event configuration,
      causing e.g. a domain to be rebooted even when on_reboot is set to
      destroy.
      
      This patch honors the <on_*> configuration in the shutdown event
      handler.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      51b9b391
  2. 24 2月, 2014 6 次提交
  3. 21 2月, 2014 5 次提交
  4. 20 2月, 2014 20 次提交