qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] pciinit: fix overflow when bar allocation


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH 0/2] pciinit: fix overflow when bar allocation
Date: Mon, 18 Oct 2010 18:34:21 +0900

This patch set fixes PCI bar allocation when bar overflow occured.
I checked if pmm_alloc facility can be used, but it doesn't suit for
pci bar allocation. So I resulted in new API, pci_region which
encapsulates region allocation and overflow checks.
The first patch introduces pci_region, and the second patch fixes
the overflow case with pci_region.

Isaku Yamahata (2):
  pci: introduce pci_region to manage pci io/memory/prefmemory regions.
  pciinit: use pci_region functions.

 Makefile         |    3 +-
 src/pci_region.c |   70 +++++++++++++++++++++++++++++++
 src/pciinit.c    |  122 ++++++++++++++++++++++++++---------------------------
 src/util.h       |   15 +++++++
 4 files changed, 147 insertions(+), 63 deletions(-)
 create mode 100644 src/pci_region.c




reply via email to

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