1. 18 5月, 2018 2 次提交
  2. 16 5月, 2018 10 次提交
  3. 15 5月, 2018 2 次提交
  4. 14 5月, 2018 1 次提交
    • M
      qemu: Implement memoryBacking/discard · 2c4affd5
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1480668
      
      QEMU has this new feature memory-backend-file.discard-data=yes
      which is a nifty optimization. Basically, when qemu is quitting
      or on memory hotplug it calls munmap() and close() on the file
      that is backing the memory. However, this does not mean kernel
      won't stop touching that part of memory. It still might. With
      this feature enabled we tell kernel: "we don't need this memory
      nor data stored in it". This makes kernel drop the memory
      immediately without trying to sync memory with the mapped file.
      
      Unfortunately, this cannot be turned on by default because we
      can't be sure when users really don't care about what happens to
      data after qemu dies. So it has to be opt-in. As usual, there are
      three places where one can configure memory attributes. This
      patch adds the feature to all of them.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      2c4affd5
  5. 11 5月, 2018 1 次提交
    • M
      qemu: Generate pr cmd line at startup · 13fe558f
      Michal Privoznik 提交于
      For command line we need two things:
      
      1) -object pr-manager-helper,id=$alias,path=$socketPath
      2) -drive file.pr-manager=$alias
      
      In -object pr-manager-helper we tell qemu which socket to connect
      to, then in -drive file-pr-manager we just reference the object
      the drive in question should use.
      
      For managed PR helper the alias is always "pr-helper0" and socket
      path "${vm->priv->libDir}/pr-helper0.sock".
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      13fe558f
  6. 09 5月, 2018 1 次提交
  7. 07 5月, 2018 6 次提交
  8. 04 5月, 2018 1 次提交
  9. 03 5月, 2018 1 次提交
  10. 23 4月, 2018 1 次提交
  11. 19 4月, 2018 1 次提交
  12. 18 4月, 2018 6 次提交
  13. 17 4月, 2018 7 次提交