1. 23 10月, 2012 2 次提交
  2. 22 10月, 2012 6 次提交
  3. 20 10月, 2012 5 次提交
  4. 18 10月, 2012 1 次提交
  5. 15 10月, 2012 2 次提交
  6. 05 10月, 2012 1 次提交
  7. 03 10月, 2012 2 次提交
  8. 22 9月, 2012 2 次提交
  9. 17 9月, 2012 2 次提交
    • D
      cpu_physical_memory_write_rom() needs to do TB invalidates · 0b57e287
      David Gibson 提交于
      cpu_physical_memory_write_rom(), despite the name, can also be used to
      write images into RAM - and will often be used that way if the machine
      uses load_image_targphys() into RAM addresses.
      
      However, cpu_physical_memory_write_rom(), unlike cpu_physical_memory_rw()
      doesn't invalidate any cached TBs which might be affected by the region
      written.
      
      This was breaking reset (under full emu) on the pseries machine - we loaded
      our firmware image into RAM, and while executing it rewrite the code at
      the entry point (correctly causing a TB invalidate/refresh).  When we
      reset the firmware image was reloaded, but the TB from the rewrite was
      still active and caused us to get an illegal instruction trap.
      
      This patch fixes the bug by duplicating the tb invalidate code from
      cpu_physical_memory_rw() in cpu_physical_memory_write_rom().
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0b57e287
    • L
      add -machine mem-merge=on|off option · 8490fc78
      Luiz Capitulino 提交于
      It allows to disable memory merge support (KSM on Linux), which is
      enabled by default otherwise.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8490fc78
  10. 17 8月, 2012 1 次提交
    • J
      memory: add -machine dump-guest-core=on|off · ddb97f1d
      Jason Baron 提交于
      Add a new '[,dump-guest-core=on|off]' option to the '-machine' option. When
      'dump-guest-core=off' is specified, guest memory is omitted from the core dump.
      The default behavior continues to be to include guest memory when a core dump is
      triggered. In my testing, this brought the core dump size down from 384MB to 6MB
      on a 2GB guest.
      
      Is anything additional required to preserve this setting for migration or
      savevm? I don't believe so.
      
      Changelog:
      v3:
          Eliminate globals as per Anthony's suggestion
          set no dump from qemu_ram_remap() as well
      v2:
          move the option from -m to -machine, rename option dump -> dump-guest-core
      Signed-off-by: NJason Baron <jbaron@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ddb97f1d
  11. 11 8月, 2012 1 次提交
    • I
      exec.c: fix dirty bitmap reallocation · 5fda043f
      Igor Mitsyanko 提交于
      For each newly created RAM block, dirty bitmap is reallocated with g_realloc, which doesn't
      make any promises on initial content of new extra data in returned buffer. In theory,
      we initialize this new data with cpu_physical_memory_set_dirty_range() call. The
      problem is, cpu_physical_memory_set_dirty_range() has a side effect of incrementing
      ram_list.dirty_pages variable, but only for pages which are not already dirty. And
      page "cleanliness" is determined using the same not yet uninitialized dirty bitmap
      we've just reallocated. This results in inconsistency between real dirty page number
      and value in ram_list.dirty_pages variable, which in turn could (and will) result
      in errors during VM migration.
      Zero initialize new dirty bitmap bytes to fix this problem.
      Signed-off-by: NIgor Mitsyanko <i.mitsyanko@samsung.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      5fda043f
  12. 03 8月, 2012 3 次提交
  13. 12 7月, 2012 1 次提交
  14. 11 7月, 2012 1 次提交
  15. 29 6月, 2012 2 次提交
  16. 22 6月, 2012 1 次提交
  17. 18 6月, 2012 1 次提交
  18. 09 6月, 2012 1 次提交
  19. 08 6月, 2012 1 次提交
  20. 05 6月, 2012 1 次提交
  21. 19 5月, 2012 1 次提交
  22. 01 5月, 2012 2 次提交