1. 03 2月, 2009 2 次提交
  2. 31 1月, 2009 9 次提交
  3. 30 1月, 2009 8 次提交
  4. 29 1月, 2009 6 次提交
  5. 28 1月, 2009 2 次提交
  6. 27 1月, 2009 5 次提交
    • J
      virterror.c: don't read beyond end of buffer upon OOM · f03d3439
      Jim Meyering 提交于
      * src/virterror.c (virReportSystemErrorFull): Fix typo in
      my previous change.  Patch by Daniel P. Berrange.
      f03d3439
    • M
      kvm/virtio: Set IFF_VNET_HDR when setting up tap fds · b4f62abb
      Mark McLoughlin 提交于
      IFF_VNET_HDR is a tun/tap flag that allows you to send and receive
      large (i.e. GSO) packets and packets with partial checksums. Setting
      the flag means that every packet is proceeded by the same header which
      virtio uses to communicate GSO/csum metadata.
      
      By enabling this flag on the tap fds we create, we greatly increase
      the achievable throughput with virtio_net.
      
      However, we need to be careful to only set the flag when a) QEMU has
      support for this ABI and b) the value of the flag is queryable using
      the TUNGETIFF ioctl.
      
      It's nearly five months since kvm-74 - the first KVM release with this
      feature - was released. Up until now, we've not added libvirt support
      because there is no clean way to detect support for this in QEMU at
      runtime. A brief attempt to add a "info capabilities" monitor command
      to QEMU floundered. Perfect is the enemy of good enough. Probing the
      KVM version will suffice for now.
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      b4f62abb
    • J
      fix errors in virReportSystemErrorFull · e15147c1
      Jim Meyering 提交于
      * src/virterror.c (virStrerror): New function.
      (virReportSystemErrorFull): Don't leak "combined".
      In fact, don't even attempt allocation.
      Do include the result of formatted print in final diagnostic.
      e15147c1
    • J
      build: avoid format warnings · 339cc9d9
      Jim Meyering 提交于
      * src/proxy_internal.c (xenProxyCommand): Mark a diagnostic.
      * src/xen_unified.c (xenUnifiedOpen, xenUnifiedAddDomainInfo):
      Fix unmarked diagnostics by removing the diagnostic altogether:
      replace each xenUnifiedError(...,VIR_ERR_NO_MEMORY call with a
      call to virReportOOMError.
      339cc9d9
    • J
      69d947eb
  7. 24 1月, 2009 2 次提交
  8. 23 1月, 2009 6 次提交