1. 23 3月, 2010 17 次提交
  2. 22 3月, 2010 3 次提交
  3. 20 3月, 2010 12 次提交
  4. 19 3月, 2010 4 次提交
    • L
      Support vhost-net mode at qemu startup for virtio network devices · 598a0c00
      Laine Stump 提交于
      Attempt to turn on vhost-net mode for devices of type NETWORK, BRIDGE,
      and DIRECT (macvtap).
      
      * src/qemu/qemu_conf.h: add vhostfd to qemuBuildHostNetStr prototype
        add qemudOpenVhostNet prototype new flag to set when :,vhost=" found in
        qemu help
      * src/qemu/qemu_conf.c: * set QEMUD_CMD_FLAG_VNET_HOST is ",vhost=" found
        in qemu help
         - qemudOpenVhostNet - opens /dev/vhost-net to pass to qemu if everything
           is in place to use it.
         - qemuBuildHostNetStr - add vhostfd to commandline if it's not empty
           (higher levels decide whether or not to fill it in)
         - qemudBuildCommandLine - if /dev/vhost-net is successfully opened, add
           its fd to tapfds array so it isn't closed on qemu exec, and populate
           vhostfd_name to be passed in to commandline builder.
      * src/qemu/qemu_driver.c: add filler 0 for new arg to qemuBuildHostNetStr,
        along with a note that this must be implemented in order for hot-plug of
        vhost-net virtio devices to work properly (once qemu "netdev_add" monitor
        command is implemented).
      598a0c00
    • M
      qemu: Fix FD leak in qemudStartVMDaemon · caad0a87
      Matthias Bolte 提交于
      The logfile FD is dup2'ed in __virExec in the child. The FD needs to
      be closed in the parent, otherwise it leaks.
      caad0a87
    • E
      util: ensure virMutexInit is not recursive · 336fd879
      Eric Blake 提交于
      POSIX states that creation of a mutex with default attributes
      is unspecified whether the mutex is recursive or non-recursive.
      We specifically want non-recursive (deadlock is desirable in
      flushing out coding bugs that used our mutex incorrectly).
      
      * src/util/threads-pthread.c (virMutexInit): Specifically request
      non-recursive mutex, rather than relying on unspecified default.
      336fd879
    • E
      maint: enforce recent copyright style · fc148ca1
      Eric Blake 提交于
      * cfg.mk (sc_copyright_format): New rule.
      fc148ca1
  5. 18 3月, 2010 4 次提交
    • E
      maint: make Red Hat copyright notices consistent · 0a336335
      Eric Blake 提交于
      Spell out 'Red Hat, Inc.':
       git grep -i 'Copyright.*Red Hat' | grep -v Inc
      
      Include (C) consistently:
       git grep -i 'Copyright [^(].*Red Hat'
      
      * src/lxc/lxc_container.c: Update copyright formatting.
      * src/node_device/node_device_udev.c: Likewise.
      * src/node_device/node_device_udev.h: Likewise.
      * src/xen/xend_internal.h: Likewise.
      * src/xen/xm_internal.c: Likewise.
      * src/xen/xm_internal.h: Likewise.
      * tests/xmconfigtest.c: Likewise.
      * tests/object-locking.ml: Likewise.
      * tools/virt-pki-validate.in: Likewise.
      * tools/virt-xml-validate.in: Likewise.
      0a336335
    • E
      maint: fix typo · 257d90f3
      Eric Blake 提交于
      * cfg.mk (sc_prohibit_gettext_noop): Fix typo
      257d90f3
    • E
      maint: enforce recent N_ usage · bc3f582b
      Eric Blake 提交于
      * cfg.mk (sc_prohibit_gettext_noop): New rule applied in "make syntax-check"
      bc3f582b
    • D
      Fix logroate rpm build breakage · e7d29e23
      Daniel Veillard 提交于
      related to fix of bug https://bugzilla.redhat.com/show_bug.cgi?id=547514
      e7d29e23