1. 12 3月, 2013 1 次提交
  2. 16 2月, 2013 1 次提交
  3. 28 1月, 2013 1 次提交
  4. 27 1月, 2013 1 次提交
  5. 16 1月, 2013 1 次提交
  6. 15 1月, 2013 2 次提交
  7. 19 12月, 2012 8 次提交
  8. 17 12月, 2012 2 次提交
  9. 27 11月, 2012 1 次提交
    • A
      kvm: fix incorrect length in a loop over kvm dirty pages map · 752ced04
      Alexey Kardashevskiy 提交于
      QEMU allocates a map enough for 4k pages. However the system page size
      can be 64K (for example on POWER) and the host kernel uses only a small
      part of it as one big stores a dirty flag for 16 pages 4K each,
      the hpratio variable stores this ratio and
      the kvm_get_dirty_pages_log_range function handles it correctly.
      
      However kvm_get_dirty_pages_log_range still goes beyond the data
      provided by the host kernel which is not correct. It does not cause
      errors at the moment as the whole bitmap is zeroed before doing KVM ioctl.
      
      The patch reduces number of iterations over the map.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      752ced04
  10. 15 11月, 2012 1 次提交
  11. 31 10月, 2012 3 次提交
  12. 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
  13. 22 10月, 2012 2 次提交
  14. 15 10月, 2012 2 次提交
  15. 14 9月, 2012 1 次提交
  16. 12 9月, 2012 3 次提交
  17. 10 9月, 2012 2 次提交
  18. 09 9月, 2012 2 次提交
    • J
      kvm: Clean up irqfd API · b131c74a
      Jan Kiszka 提交于
      No need to expose the fd-based interface, everyone will already be fine
      with the more handy EventNotifier variant. Rename the latter to clarify
      that we are still talking about irqfds here.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Acked-by: NAlex Williamson <alex.williamson@redhat.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      b131c74a
    • C
      qemu: Use valgrind annotations to mark kvm guest memory as defined · 62fe8331
      Christian Borntraeger 提交于
      valgrind with kvm produces a big amount of false positives regarding
      "Conditional jump or move depends on uninitialised value(s)". This
      happens because the guest memory is allocated with qemu_vmalloc which
      boils down posix_memalign etc. This function is (correctly) considered
      by valgrind as returning undefined memory.
      
      Since valgrind is based on jitting code, it will not be able to see
      changes made by the guest to guest memory if this is done by KVM_RUN,
      thus keeping most of the guest memory undefined.
      
      Now lots of places in qemu will then use guest memory to change behaviour.
      To avoid the flood of these messages, lets declare the whole guest
      memory as defined. This will reduce the noise and allows us to see real
      problems.
      
      In the future we might want to make this conditional, since there
      is actually something that we can use those false positives for:
      These messages will point to code that depends on guest memory, so
      we can use these backtraces to actually make an audit that is focussed
      only at those code places. For normal development we dont want to
      see those messages, though.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      62fe8331
  19. 09 8月, 2012 5 次提交