1. 14 6月, 2013 3 次提交
    • P
      remote: Forbid default "/session" connections when using ssh transport · 22d81ceb
      Peter Krempa 提交于
      Without the socket path explicitly specified, the remote driver tried to
      connect to the "/system" instance socket even if "/session" was
      specified in the uri. With this patch this configuration now produces an
      error.
      
      It is still possible to initiate a session connection with specifying
      the path to the socket manually and also manually starting the session
      daemon. This was also possible prior to this patch,
      
      This is a minimal fix. We may decide to support remote session
      connections using ssh but this will require changes to the remote driver
      code so this fix shouldn't cause regressions in the case we decide to do
      that.
      22d81ceb
    • F
      Implement dispose method for libxlDomainObjPrivate · d58ce136
      Frediano Ziglio 提交于
      When creating a timer/event handler reference counting is used. So it could
      be possible (in theory) that libxlDomainObjPrivateFree is called with
      reference counting >1. The problem is that libxlDomainObjPrivateFree leave
      the object in an invalid state with ctx freed (but still having dandling
      pointer). This can lead timer/event handler to core.
      
      This patch implements a dispose method for libxlDomainObjPrivate, and moves
      freeing the libxl ctx to the dispose method, ensuring the ctx is valid while
      the object's reference count is > 0.
      Signed-off-by: NFrediano Ziglio <frediano.ziglio@citrix.com>
      d58ce136
    • M
      libxl: allow only 'ethernet' and 'bridge' interfaces, allow script there · 29031975
      Marek Marczykowski-Górecki 提交于
      Actually only those interface types are handled correctly so reject
      others instead of ignoring settings (i.e. treating as bridge/ethernet
      anyway).
      Also allow <script/> in 'ethernet' (which should be the only
      script-allowing type). Keep <script/> allowed in bridge to be compatible
      with legacy 'xen' driver.
      Signed-off-by: NMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
      29031975
  2. 13 6月, 2013 1 次提交
  3. 12 6月, 2013 6 次提交
  4. 11 6月, 2013 5 次提交
  5. 10 6月, 2013 4 次提交
  6. 09 6月, 2013 1 次提交
    • C
      spec: Drop Requires: vbox · db459dbd
      Cole Robinson 提交于
      Since this package isn't provided by any stock RH based distro. The
      upstream RPMs are called VirtualBox anyways.
      db459dbd
  7. 08 6月, 2013 1 次提交
    • R
      Fix ordering of file open in virProcessGetNamespaces · 68eea850
      Richard Weinberger 提交于
      virProcessGetNamespaces() opens files in /proc/XXX/ns/ which will
      later be passed to setns(). We have to make sure that the file
      descriptors in the array are in the correct order. In particular
      the 'user' namespace must be first otherwise setns() may fail
      for other namespaces.
      
      The order has been taken from util-linux's sys-utils/nsenter.c
      
      Also we must ignore EINVAL in setns() which occurs if the
      namespace associated with the fd, matches the calling process'
      current namespace.
      Signed-off-by: NRichard Weinberger <richard@nod.at>
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      68eea850
  8. 07 6月, 2013 14 次提交
  9. 06 6月, 2013 5 次提交