1. 26 6月, 2020 3 次提交
  2. 18 6月, 2020 3 次提交
  3. 16 6月, 2020 1 次提交
  4. 04 6月, 2020 1 次提交
    • M
      Use more of VIR_XPATH_NODE_AUTORESTORE · d3a7479c
      Michal Privoznik 提交于
      This is convenience macro, use it more. This commit was generated
      using the following spatch:
      
        @@
        symbol node;
        identifier old;
        identifier ctxt;
        type xmlNodePtr;
        @@
        - xmlNodePtr old;
        + VIR_XPATH_NODE_AUTORESTORE(ctxt);
          ...
        - old = ctxt->node;
          ... when != old
        - ctxt->node = old;
      
        @@
        symbol node;
        identifier old;
        identifier ctxt;
        type xmlNodePtr;
        @@
        - xmlNodePtr old = ctxt->node;
        + VIR_XPATH_NODE_AUTORESTORE(ctxt);
          ... when != old
        - ctxt->node = old;
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      d3a7479c
  5. 03 6月, 2020 2 次提交
  6. 05 5月, 2020 1 次提交
  7. 23 4月, 2020 1 次提交
  8. 07 4月, 2020 1 次提交
  9. 03 4月, 2020 2 次提交
  10. 18 3月, 2020 3 次提交
  11. 14 3月, 2020 1 次提交
  12. 05 3月, 2020 2 次提交
  13. 27 2月, 2020 1 次提交
    • P
      daemon: set default memlock limit for systemd service · b379fee1
      Pavel Hrdina 提交于
      The default memlock limit is 64k which is not enough to start a single
      VM. The requirements for one VM are 12k, 8k for eBPF map and 4k for eBPF
      program, however, it fails to create eBPF map and program with 64k limit.
      By testing I figured out that the minimal limit is 80k to start a single
      VM with functional eBPF and if I add 12k I can start another one.
      
      This leads into following calculation:
      
      80k as memlock limit worked to start a VM with eBPF which means there
      is 68k of lock memory that I was not able to figure out what was using
      it.  So to get a number for 4096 VMs:
      
              68 + 12 * 4096 = 49220
      
      If we round it up we will get 64M of memory lock limit to support 4096
      VMs with default map size which can hold 64 entries for devices.
      
      This should be good enough as a sane default and users can change it if
      the need to.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1807090Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      b379fee1
  14. 26 2月, 2020 1 次提交
  15. 25 2月, 2020 4 次提交
  16. 23 2月, 2020 12 次提交
  17. 21 2月, 2020 1 次提交