1. 04 1月, 2012 3 次提交
    • A
      memory: remove MemoryRegion::backend_registered · 26a83ad0
      Avi Kivity 提交于
      backend_registered was used to lazify the process of registering an
      mmio region, since the it is different for the I/O address space and
      the memory address space.  However, it also makes registration dependent
      on the region being visible in the address space.  This is not the case
      for "fake" regions, like watchpoints or IO_MEM_UNASSIGNED.
      
      Remove backend_registered and always initialize the region.  If it turns
      out to be part of the I/O address space, we've wasted an I/O slot, but
      that's not too bad.  In any case this will be optimized later on.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      26a83ad0
    • A
      vmstate, memory: decouple vmstate from memory API · c5705a77
      Avi Kivity 提交于
      Currently creating a memory region automatically registers it for
      live migration.  This differs from other state (which is enumerated
      in a VMStateDescription structure) and ties the live migration code
      into the memory core.
      
      Decouple the two by introducing a separate API, vmstate_register_ram(),
      for registering a RAM block for migration.  Currently the same
      implementation is reused, but later it can be moved into a separate list,
      and registrations can be moved to VMStateDescription blocks.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      c5705a77
    • A
      memory: introduce memory_region_name() · 8991c79b
      Avi Kivity 提交于
      Trivial accessor for the name attribute.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      8991c79b
  2. 20 12月, 2011 7 次提交
  3. 06 12月, 2011 1 次提交
  4. 05 12月, 2011 3 次提交
  5. 25 11月, 2011 1 次提交
  6. 16 10月, 2011 1 次提交
  7. 02 10月, 2011 1 次提交
  8. 25 9月, 2011 1 次提交
  9. 26 8月, 2011 1 次提交
  10. 12 8月, 2011 2 次提交
  11. 08 8月, 2011 1 次提交
  12. 29 7月, 2011 9 次提交