Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
memory: temporarily suppress the subregion collision warning
Browse files Browse the repository at this point in the history
After 312b423, the APIC and PCI devices are colliding with each other.  This
is harmless in practice because the APIC accesses are special cased and never
make there way onto the bus.

Avi is working on a proper fix, but until that's ready, avoid printing the
warning.

Signed-off-by: Anthony Liguori <[email protected]>
  • Loading branch information
Anthony Liguori committed Aug 22, 2011
1 parent ae0a546 commit a5e1cbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,11 +1191,13 @@ static void memory_region_add_subregion_common(MemoryRegion *mr,
|| offset + subregion->size <= other->offset) {
continue;
}
#if 0
printf("warning: subregion collision %llx/%llx vs %llx/%llx\n",
(unsigned long long)offset,
(unsigned long long)subregion->size,
(unsigned long long)other->offset,
(unsigned long long)other->size);
#endif
}
QTAILQ_FOREACH(other, &mr->subregions, subregions_link) {
if (subregion->priority >= other->priority) {
Expand Down

0 comments on commit a5e1cbc

Please sign in to comment.