Re: [Qemu-devel] [PATCH] pseries: Don't try to munmap() a malloc()ed TCE table

2012-03-10 Thread Andreas Färber
Am 08.02.2012 06:53, schrieb David Gibson: > For the pseries machine, TCE (IOMMU) tables can either be directly > malloc()ed in qemu or, when running on a KVM which supports it, mmap()ed > from a KVM ioctl. The latter option is used when available, because it > allows the (frequent bottlenext) H_P

[Qemu-devel] [PATCH] pseries: Don't try to munmap() a malloc()ed TCE table

2012-02-07 Thread David Gibson
For the pseries machine, TCE (IOMMU) tables can either be directly malloc()ed in qemu or, when running on a KVM which supports it, mmap()ed from a KVM ioctl. The latter option is used when available, because it allows the (frequent bottlenext) H_PUT_TCE hypercall to be KVM accelerated. However, ev