On Wed, Jul 18, 2012 at 7:29 PM, Michael S. Tsirkin <m...@redhat.com> wrote: > On Wed, Jul 18, 2012 at 04:07:33PM +0100, Stefan Hajnoczi wrote: >> Support >4 GB physical memory accesses. >> >> Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com> > > Need some sane APIs, this is just too scary.
Yes, this prototype has (at least) two layering violations: 1. Bypassing QEMU's memory subsystem because it isn't thread-safe. 2. Bypassing block layer and extracting the underlying fd out of a raw-posix file, allowing us to do our own Linux AIO. Stefan