1. 29 5月, 2013 2 次提交
  2. 25 5月, 2013 6 次提交
  3. 22 3月, 2013 1 次提交
    • H
      memory: fix a bug of detection of memory region collision · 2c7cfd65
      Hu Tao 提交于
      The collision reports before and after this patch are:
      
      before:
      
      warning: subregion collision cfc/4 (pci-conf-data) vs cf8/4 (pci-conf-idx)
      warning: subregion collision 8000000/f8000000 (pci-hole) vs 0/8000000 (ram-below-4g)
      warning: subregion collision 100000000/4000000000000000 (pci-hole64) vs 8000000/f8000000 (pci-hole)
      warning: subregion collision 4d1/1 (kvm-elcr) vs 4d0/1 (kvm-elcr)
      warning: subregion collision fec00000/1000 (kvm-ioapic) vs 8000000/f8000000 (pci-hole)
      warning: subregion collision 80/1 (ioport80) vs 7e/2 (kvmvapic)
      warning: subregion collision fed00000/400 (hpet) vs 8000000/f8000000 (pci-hole)
      warning: subregion collision 81/3 (dma-page) vs 80/1 (ioport80)
      warning: subregion collision 8/8 (dma-cont) vs 0/8 (dma-chan)
      warning: subregion collision d0/10 (dma-cont) vs c0/10 (dma-chan)
      warning: subregion collision 0/80 (ich9-pm) vs 8/8 (dma-cont)
      warning: subregion collision 0/80 (ich9-pm) vs 0/8 (dma-chan)
      warning: subregion collision 0/80 (ich9-pm) vs 64/1 (i8042-cmd)
      warning: subregion collision 0/80 (ich9-pm) vs 60/1 (i8042-data)
      warning: subregion collision 0/80 (ich9-pm) vs 61/1 (elcr)
      warning: subregion collision 0/80 (ich9-pm) vs 40/4 (kvm-pit)
      warning: subregion collision 0/80 (ich9-pm) vs 70/2 (rtc)
      warning: subregion collision 0/80 (ich9-pm) vs 20/2 (kvm-pic)
      warning: subregion collision 0/80 (ich9-pm) vs 7e/2 (kvmvapic)
      warning: subregion collision 4/2 (acpi-cnt) vs 0/4 (acpi-evt)
      warning: subregion collision 30/8 (apci-smi) vs 20/10 (apci-gpe0)
      warning: subregion collision b0000000/10000000 (pcie-mmcfg) vs 8000000/f8000000 (pci-hole)
      
      after:
      
      warning: subregion collision fec00000/1000 (kvm-ioapic) vs 8000000/f8000000 (pci-hole)
      warning: subregion collision fed00000/400 (hpet) vs 8000000/f8000000 (pci-hole)
      warning: subregion collision 0/80 (ich9-pm) vs 8/8 (dma-cont)
      warning: subregion collision 0/80 (ich9-pm) vs 0/8 (dma-chan)
      warning: subregion collision 0/80 (ich9-pm) vs 64/1 (i8042-cmd)
      warning: subregion collision 0/80 (ich9-pm) vs 60/1 (i8042-data)
      warning: subregion collision 0/80 (ich9-pm) vs 61/1 (elcr)
      warning: subregion collision 0/80 (ich9-pm) vs 40/4 (kvm-pit)
      warning: subregion collision 0/80 (ich9-pm) vs 70/2 (rtc)
      warning: subregion collision 0/80 (ich9-pm) vs 20/2 (kvm-pic)
      warning: subregion collision 0/80 (ich9-pm) vs 7e/2 (kvmvapic)
      warning: subregion collision b0000000/10000000 (pcie-mmcfg) vs 8000000/f8000000 (pci-hole)
      Signed-off-by: NHu Tao <hutao@cn.fujitsu.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      2c7cfd65
  4. 16 2月, 2013 1 次提交
  5. 03 2月, 2013 1 次提交
  6. 21 12月, 2012 1 次提交
  7. 19 12月, 2012 3 次提交
  8. 10 11月, 2012 2 次提交
  9. 30 10月, 2012 1 次提交
    • A
      memory: fix rendering of a region obscured by another · d26a8cae
      Avi Kivity 提交于
      The memory core drops regions that are hidden by another region (for example,
      during BAR sizing), but it doesn't do so correctly if the lower address of the
      existing range is below the lower address of the new range.
      
      Example (qemu-system-mips -M malta -kernel vmlinux-2.6.32-5-4kc-malta
               -append "console=ttyS0"  -nographic -vga cirrus):
      
      Existing range: 10000000-107fffff
      New range:      100a0000-100bffff
      
      Correct behaviour: drop new range
      Incorrect behaviour: add new range
      
      Fix by taking this case into account (previously we only considered
      equal lower boundaries).
      Tested-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d26a8cae
  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. 22 10月, 2012 5 次提交
  12. 17 10月, 2012 2 次提交
    • A
      memory: abort if a memory region is destroyed during a transaction · 2be0e25f
      Avi Kivity 提交于
      Destroying a memory region is illegal within a transaction, as until
      the transaction is committed, the memory core may hold references to
      the region.  Add an assert to check for violations of this rule.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      2be0e25f
    • A
      memory: Make eventfd adhere to device endianness · 28f362be
      Alexander Graf 提交于
      Our memory API MMIO regions know the concept of device endianness. This
      is used to automatically swap endianness between devices and host CPU,
      depending on whether buses in between would swizzle the bits.
      
      The ioeventfd value comparison does not adhere to that semantic though.
      Probably because nobody has been running ioeventfd on a BE platform and
      the only device implementing ioeventfd right now is LE (PCI) based.
      
      So add swizzling to ioeventfd registration / deletion to make the rest
      of the code as consistent as possible.
      
      Thanks a lot to Michael Tsirkin to point me towards the right direction.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      28f362be
  13. 15 10月, 2012 5 次提交
  14. 12 9月, 2012 4 次提交
  15. 29 8月, 2012 1 次提交
  16. 12 7月, 2012 1 次提交
  17. 05 4月, 2012 1 次提交
  18. 19 3月, 2012 1 次提交
  19. 09 3月, 2012 1 次提交