Sheng Yang wrote:
msix_table_page is a page, and mmap allocate memory on page boundary. So
I use it.
Just wondering, would e.g. posix_memalign work here as well?
Um, I think it should work too.
I think qemu_malloc() would work just as well. The hardware never sees
the page, so it doesn't need to be aligned.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html