1. 26 2月, 2016 1 次提交
  2. 05 2月, 2016 1 次提交
  3. 16 1月, 2016 2 次提交
  4. 10 1月, 2016 1 次提交
  5. 10 11月, 2015 3 次提交
  6. 04 11月, 2015 1 次提交
  7. 29 9月, 2015 1 次提交
  8. 28 7月, 2015 1 次提交
  9. 07 7月, 2015 1 次提交
  10. 24 6月, 2015 1 次提交
  11. 12 6月, 2015 2 次提交
  12. 09 3月, 2015 1 次提交
  13. 10 2月, 2015 1 次提交
  14. 06 2月, 2015 1 次提交
    • A
      migration: Append JSON description of migration stream · 8118f095
      Alexander Graf 提交于
      One of the annoyances of the current migration format is the fact that
      it's not self-describing. In fact, it's not properly describing at all.
      Some code randomly scattered throughout QEMU elaborates roughly how to
      read and write a stream of bytes.
      
      We discussed an idea during KVM Forum 2013 to add a JSON description of
      the migration protocol itself to the migration stream. This patch
      adds a section after the VM_END migration end marker that contains
      description data on what the device sections of the stream are composed of.
      
      This approach is backwards compatible with any QEMU version reading the
      stream, because QEMU just stops reading after the VM_END marker and ignores
      any data following it.
      
      With an additional external program this allows us to decipher the
      contents of any migration stream and hopefully make migration bugs easier
      to track down.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      8118f095
  15. 26 1月, 2015 2 次提交
  16. 16 1月, 2015 1 次提交
  17. 14 10月, 2014 1 次提交
  18. 27 6月, 2014 1 次提交
    • A
      vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag) · f32935ea
      Alexey Kardashevskiy 提交于
      There are few helpers already to support array migration. However they all
      require the destination side to preallocate arrays before migration which
      is not always possible due to unknown array size as it might be some
      sort of dynamic state. One of the examples is an array of MSIX-enabled
      devices in SPAPR PHB - this array may vary from 0 to 65536 entries and
      its size depends on guest's ability to enable MSIX or do PCI hotplug.
      
      This adds new VMSTATE_VARRAY_STRUCT_ALLOC macro which is pretty similar to
      VMSTATE_STRUCT_VARRAY_POINTER_INT32 but it can alloc memory for migratign
      array on the destination side.
      
      This defines VMS_ALLOC flag for a field.
      
      This changes vmstate_base_addr() to do the allocation when receiving
      migration.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Reviewed-by: NJuan Quintela <quintela@redhat.com>
      [agraf: drop g_malloc_n usage]
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      f32935ea
  19. 24 6月, 2014 1 次提交
  20. 19 6月, 2014 2 次提交
  21. 06 5月, 2014 1 次提交
  22. 05 5月, 2014 2 次提交
  23. 14 3月, 2014 1 次提交
  24. 08 2月, 2014 1 次提交
  25. 04 2月, 2014 1 次提交
  26. 18 12月, 2013 1 次提交
  27. 24 9月, 2013 1 次提交
  28. 28 6月, 2013 1 次提交
  29. 05 4月, 2013 2 次提交
  30. 26 3月, 2013 3 次提交