1. 08 2月, 2019 12 次提交
  2. 04 2月, 2019 4 次提交
  3. 01 2月, 2019 2 次提交
  4. 25 1月, 2019 1 次提交
  5. 22 1月, 2019 3 次提交
  6. 02 1月, 2019 7 次提交
  7. 13 12月, 2018 1 次提交
    • M
      qemu: Don't use -mem-prealloc among with .prealloc=yes · c658764d
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1624223
      
      There are two ways to request memory preallocation on cmd line:
      -mem-prealloc and .prealloc attribute for a memory-backend-file.
      However, as it turns out it's not safe to use both at the same
      time. If -mem-prealloc is used then qemu will fully allocate the
      memory (this is done by actually touching every page that has
      been allocated). Then, if .prealloc=yes is specified,
      mbind(flags = MPOL_MF_STRICT | MPOL_MF_MOVE) is called which:
      
      a) has to (possibly) move the memory to a different NUMA node,
      b) can have no effect when hugepages are in play (thus ignoring user
      request to place memory on desired NUMA nodes).
      
      Prefer -mem-prealloc as it is more backward compatible
      compared to switching to "-numa node,memdev=  + -object
      memory-backend-file".
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      c658764d
  8. 06 12月, 2018 1 次提交
  9. 03 12月, 2018 3 次提交
  10. 28 11月, 2018 2 次提交
  11. 16 11月, 2018 1 次提交
    • M
      qemu: add memfd source type · 24b74d18
      Marc-André Lureau 提交于
      Add a new memoryBacking source type "memfd", supported by QEMU (when
      the capability is available).
      
      A memfd is a specialized anonymous memory kind. As such, an anonymous
      source type could be automatically using a memfd. However, there are
      some complications when migrating from different memory backends in
      qemu (mainly due to the internal object naming at this point, but
      there could be more). For now, it is simpler and safer to simply
      introduce a new source type "memfd". Eventually, the "anonymous" type
      could learn to use memfd transparently in a separate change.
      
      The main benefits are that it doesn't need to create filesystem files,
      and it also enforces sealing, providing a bit more safety.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      24b74d18
  12. 15 11月, 2018 3 次提交