1. 20 3月, 2010 10 次提交
  2. 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
  3. 18 3月, 2010 9 次提交
    • 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
    • D
      Fix LSB compliance of init script · 1216398d
      Daniel Veillard 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=538701
      
      * daemon/libvirtd.init.in: daemon/libvirtd.init.in were not mentionned
        in the usage message and if a missing or wrong argument is given it
        should return 2, not 1
      1216398d
    • M
      docs: <pre> cannot be nested in <p> · b62cab6e
      Matthias Bolte 提交于
      xsltproc complained about this.
      b62cab6e
    • 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
    • C
      0ef58c31
    • C
      Fix make dist with XenAPI changes · 89d8cdfc
      Cole Robinson 提交于
      89d8cdfc
  4. 17 3月, 2010 9 次提交
  5. 16 3月, 2010 7 次提交
  6. 15 3月, 2010 1 次提交