1. 29 1月, 2016 1 次提交
  2. 24 7月, 2015 1 次提交
    • P
      framebuffer: set DIRTY_MEMORY_VGA on RAM that is used for the framebuffer · c1076c3e
      Paolo Bonzini 提交于
      The MemoryRegionSection contains enough information to access the
      RAM region underlying the framebuffer, and can be cached inside the
      display device.
      
      By doing this, the new framebuffer_update_memory_section function can
      enable dirty memory logging on the relevant RAM region.  The function
      must be called whenever the stride or base of the framebuffer changes;
      a simple way to cover these cases is to call it on every full frame
      invalidation, which is a rare case.
      
      framebuffer_update_display now works entirely on a MemoryRegionSection,
      without going through cpu_physical_memory_map/unmap.
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      c1076c3e
  3. 05 6月, 2015 1 次提交
    • P
      framebuffer: check memory_region_is_logging · d55d4207
      Paolo Bonzini 提交于
      framebuffer.c expects DIRTY_MEMORY_VGA logging to be always on, but that
      will not be the case soon.  Because framebuffer.c computes the memory
      region on the fly for every update (with memory_region_find), it cannot
      enable/disable logging by itself.
      
      Instead, always treat updates as invalidations if dirty logging is
      not enabled, assuming that the board will enable logging on the
      RAM region that includes the framebuffer.
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      d55d4207
  4. 04 7月, 2013 1 次提交
    • P
      memory: add ref/unref calls · dfde4e6e
      Paolo Bonzini 提交于
      Add ref/unref calls at the following places:
      
      - places where memory regions are stashed by a listener and
        used outside the BQL (including in Xen or KVM).
      
      - memory_region_find callsites
      
      - creation of aliases and containers (only the aliased/contained
        region gets a reference to avoid loops)
      
      - around calls to del_subregion/add_subregion, where the region
        could disappear after the first call
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      dfde4e6e
  5. 20 6月, 2013 1 次提交
    • P
      memory: make section size a 128-bit integer · 052e87b0
      Paolo Bonzini 提交于
      So far, the size of all regions passed to listeners could fit in 64 bits,
      because artificial regions (containers and aliases) are eliminated by
      the memory core, leaving only device regions which have reasonable sizes
      
      An IOMMU however cannot be eliminated by the memory core, and may have
      an artificial size, hence we may need 65 bits to represent its size.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      052e87b0
  6. 09 4月, 2013 2 次提交
  7. 18 3月, 2013 1 次提交
  8. 01 3月, 2013 1 次提交
    • P
      hw: include hw header files with full paths · 83c9f4ca
      Paolo Bonzini 提交于
      Done with this script:
      
      cd hw
      for i in `find . -name '*.h' | sed 's/^..//'`; do
        echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
      done | sed -i -f - `find . -type f`
      
      This is so that paths remain valid as files are moved.
      
      Instead, files in hw/dataplane are referenced with the relative path.
      We know they are not going to move to include/, and they are the only
      include files that are in subdirectories _and_ move.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      83c9f4ca
  9. 19 12月, 2012 1 次提交
  10. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  11. 05 10月, 2012 1 次提交
  12. 15 8月, 2012 1 次提交
  13. 11 2月, 2012 1 次提交
  14. 04 2月, 2012 1 次提交
  15. 14 1月, 2012 1 次提交
  16. 20 12月, 2011 2 次提交
  17. 05 7月, 2011 1 次提交
  18. 02 10月, 2009 2 次提交
  19. 22 5月, 2009 1 次提交
  20. 01 4月, 2009 1 次提交