1. 24 6月, 2015 1 次提交
    • S
      Revert "xen-hvm: increase maxmem before calling xc_domain_populate_physmap" · ffffbb36
      Stefano Stabellini 提交于
      This reverts commit c1d322e6.
      
      The original commit fixes a bug when assigning a large number of
      devices which require option roms to a guest.  (One known
      configuration that needs extra memory is having more than 4 emulated
      NICs assigned.  Three or fewer NICs seems to work without this
      functionality.)
      
      However, by unilaterally increasing maxmem, it introduces two
      problems.
      
      First, now libxl's calculation of the required maxmem during migration
      is broken -- any guest which exercised this functionality will fail on
      migration.  (Guests which have the default number of devices are not
      affected.)
      
      Secondly, it makes it impossible for a higher-level toolstack or
      administer to predict how much memory a VM will actually use, making
      it much more difficult to effectively use all of the memory on a
      machine.
      Signed-off-by: NGeorge Dunlap <george.dunlap@eu.citrix.com>
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      ffffbb36
  2. 05 6月, 2015 2 次提交
    • P
      memory: prepare for multiple bits in the dirty log mask · b2dfd71c
      Paolo Bonzini 提交于
      When the dirty log mask will also cover other bits than DIRTY_MEMORY_VGA,
      some listeners may be interested in the overall zero/non-zero value of
      the dirty log mask; others may be interested in the value of single bits.
      
      For this reason, always call log_start/log_stop if bits have respectively
      appeared or disappeared, and pass the old and new values of the dirty log
      mask so that listeners can distinguish the kinds of change.
      
      For example, KVM checks if dirty logging used to be completely disabled
      (in log_start) or is now completely disabled (in log_stop).  On the
      other hand, Xen has to check manually if DIRTY_MEMORY_VGA changed,
      since that is the only bit it cares about.
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      b2dfd71c
    • P
      memory: differentiate memory_region_is_logging and memory_region_get_dirty_log_mask · 2d1a35be
      Paolo Bonzini 提交于
      For now memory regions only track DIRTY_MEMORY_VGA individually, but
      this will change soon.  To support this, split memory_region_is_logging
      in two functions: one that returns a given bit from dirty_log_mask,
      and one that returns the entire mask.  memory_region_is_logging gets an
      extra parameter so that the compiler flags misuse.
      
      While VGA-specific users (including the Xen listener!) will want to keep
      checking that bit, KVM and vhost check for "any bit except migration"
      (because migration is handled via the global start/stop listener
      callbacks).
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      2d1a35be
  3. 20 1月, 2015 1 次提交
  4. 14 1月, 2015 1 次提交
  5. 11 11月, 2014 1 次提交
  6. 30 10月, 2014 1 次提交
  7. 20 9月, 2014 1 次提交
  8. 09 9月, 2014 1 次提交
  9. 28 8月, 2014 2 次提交
  10. 01 8月, 2014 1 次提交
  11. 18 7月, 2014 1 次提交
  12. 07 7月, 2014 1 次提交
  13. 23 6月, 2014 2 次提交
  14. 11 6月, 2014 1 次提交
  15. 08 5月, 2014 2 次提交
  16. 06 5月, 2014 1 次提交
  17. 05 3月, 2014 1 次提交
  18. 02 12月, 2013 1 次提交
  19. 10 10月, 2013 1 次提交
  20. 26 9月, 2013 2 次提交
  21. 10 9月, 2013 1 次提交
  22. 23 8月, 2013 1 次提交
  23. 04 7月, 2013 2 次提交
  24. 25 6月, 2013 1 次提交
  25. 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
  26. 12 6月, 2013 1 次提交
  27. 03 6月, 2013 2 次提交
  28. 16 4月, 2013 1 次提交
  29. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  30. 12 3月, 2013 1 次提交
  31. 15 1月, 2013 1 次提交
  32. 22 12月, 2012 1 次提交
  33. 19 12月, 2012 1 次提交