qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] ps: memhp: enforce gaps between DIMMs


From: Igor Mammedov
Subject: [Qemu-devel] [PATCH 0/2] ps: memhp: enforce gaps between DIMMs
Date: Fri, 25 Sep 2015 15:53:10 +0200

it's a simplier way suggested by Michael S. Tsirkin
to workaround virtio bug reported earlier:
http://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg00522.html
where virtio can't handle buffer that crosses border
between 2 DIMM's (i.e. 2 MemoryRegions).

idea is to leave gaps between DIMMs, making their GPAs
non contiguous, which effectively forces kmalloc
to not use DIMM if buffer doesn't fit inside of it.

Igor Mammedov (2):
  memhp: extend address auto assignment to support gaps
  pc: memhp: force gaps between DIMM's GPA

 hw/i386/pc.c             |  4 +++-
 hw/i386/pc_piix.c        |  3 +++
 hw/i386/pc_q35.c         |  3 +++
 hw/mem/pc-dimm.c         | 13 +++++++------
 hw/ppc/spapr.c           |  2 +-
 include/hw/i386/pc.h     |  2 ++
 include/hw/mem/pc-dimm.h |  7 ++++---
 7 files changed, 23 insertions(+), 11 deletions(-)

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]