Skip to content
Snippets Groups Projects
  1. Dec 18, 2017
  2. Oct 18, 2017
  3. Oct 12, 2017
  4. Sep 21, 2017
  5. Sep 19, 2017
  6. Aug 01, 2017
    • Jay Zhou's avatar
      migration: optimize the downtime · 19310760
      Jay Zhou authored
      
      Qemu_savevm_state_cleanup takes about 300ms in my ram migration tests
      with a 8U24G vm(20G is really occupied), the main cost comes from
      KVM_SET_USER_MEMORY_REGION ioctl when mem.memory_size = 0 in
      kvm_set_user_memory_region. In kmod, the main cost is
      kvm_zap_obsolete_pages, which traverses the active_mmu_pages list to
      zap the unsync sptes.
      
      It can be optimized by delaying memory_global_dirty_log_stop to the next
      vm_start.
      
      Changes v2->v3:
       - NULL VMChangeStateHandler if it is deleted and protect the scenario
         of nested invocations of memory_global_dirty_log_start/stop [Paolo]
      
      Changes v1->v2:
       - create a VMChangeStateHandler in memory.c to reduce the coupling [Paolo]
      
      Signed-off-by: default avatarJay Zhou <jianjay.zhou@huawei.com>
      Message-Id: <1501237733-2736-1-git-send-email-jianjay.zhou@huawei.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      19310760
  7. Jul 14, 2017
  8. Jun 27, 2017
  9. Jun 15, 2017
  10. May 25, 2017
  11. Apr 24, 2017
    • Gerd Hoffmann's avatar
      memory: add support getting and using a dirty bitmap copy. · 8deaf12c
      Gerd Hoffmann authored
      
      This patch adds support for getting and using a local copy of the dirty
      bitmap.
      
      memory_region_snapshot_and_clear_dirty() will create a snapshot of the
      dirty bitmap for the specified range, clear the dirty bitmap and return
      the copy.  The returned bitmap can be a bit larger than requested, the
      range is expanded so the code can copy unsigned longs from the bitmap
      and avoid atomic bit update operations.
      
      memory_region_snapshot_get_dirty() will return the dirty status of
      pages, pretty much like memory_region_get_dirty(), but using the copy
      returned by memory_region_copy_and_clear_dirty().
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20170421091632.30900-3-kraxel@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      8deaf12c
  12. Apr 20, 2017
Loading