1. 24 7月, 2016 1 次提交
  2. 07 7月, 2016 2 次提交
  3. 17 6月, 2016 1 次提交
  4. 10 6月, 2016 5 次提交
  5. 08 6月, 2016 9 次提交
  6. 07 6月, 2016 2 次提交
  7. 03 6月, 2016 1 次提交
    • M
      Fix building with -Og · 3470cd86
      Martin Kletzander 提交于
      When building using -Og, gcc sees that some variables can be used
      uninitialized  It can be debatable whether it is possible with our
      codeflow, but functions should be self-contained and initializations are
      always good.  The return instead of goto is due to actualType being used
      in the cleanup.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      3470cd86
  8. 27 5月, 2016 1 次提交
  9. 25 5月, 2016 2 次提交
    • J
      lxc: Fix lxcDomainDestroyFlags endjob processing · cb0159df
      John Ferlan 提交于
      Commit id '15ccb0db' added job functions for the lxc driver; however,
      for shutdown and nonpersistent path, the vm was removed from the domain
      object list and the vm pointer cleared before the endjob.
      
      Adjust the code to perform the endjob first and then perform the
      ObjListRemove as long as the vm wasn't NULL. This follows more closely
      models from qemu and libxl
      
      Found by Coverity (FORWARD_NULL)
      cb0159df
    • L
      lxc: support <interface type='ethernet'> · 002b7704
      Laine Stump 提交于
      This is identical to type='bridge', but without the "connect to a
      bridge" part, so it can be handled by using the same functions (and
      often even the same cases in switch statements), after renaming
      virLXCProcessSetupInterfaceBridged() to virLXCProcessInterfaceTap()
      and enhancing it to skip bridge-related items when brname == NULL.
      
      To be truly useful, we need to support setting the ip address on the
      host side veth as well as guest side veth (already supported for
      type='bridge'), as well as setting the peer address for both.
      
      The <script> element (supported by type='ethernet' in qemu) isn't
      supported in this patch. An error is logged at domain start time if it
      is encountered. This may be changed in a later patch.
      002b7704
  10. 24 5月, 2016 2 次提交
  11. 20 5月, 2016 7 次提交
  12. 09 5月, 2016 1 次提交
    • P
      lxc: Fix wrong error message on disk hotplug · 5e9d56f8
      Peter Krempa 提交于
      Commit 36025c55 tried to improve error reporting for <disk type="lun">
      but reused the code in LXC which doesn't care about the actual disk
      type. The error messages would then contain a bogous hint that the
      config for the 'lun' device is invalid which might not be the case.
      
      Re-do the relevant portion of the commit with the original message.
      5e9d56f8
  13. 19 4月, 2016 1 次提交
  14. 04 3月, 2016 1 次提交
  15. 17 2月, 2016 1 次提交
    • P
      util: cgroup: Allow ignoring EACCES in virCgroup(Allow|Deny)DevicePath · cf113e8d
      Peter Krempa 提交于
      When adding disk images to ACL we may call those functions on NFS
      shares. In that case we might get an EACCES, which isn't really relevant
      since NFS would not hold a block device. This patch adds a flag that
      allows to stop reporting an error on EACCES to avoid spaming logs.
      
      Currently there's no functional change.
      cf113e8d
  16. 08 2月, 2016 1 次提交
  17. 05 2月, 2016 1 次提交
  18. 04 2月, 2016 1 次提交
    • J
      conf: add caps to virDomainSaveConfig · cd57b7c7
      Joao Martins 提交于
      virDomainSaveConfig calls virDomainDefFormat which was setting the caps
      to NULL, thus keeping the old behaviour (i.e. not looking at
      netprefix). This patch adds the virCapsPtr to the function and allows
      the configuration to be saved and skipping interface names that were
      registered with virCapabilitiesSetNetPrefix().
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      cd57b7c7