On Thu, May 05, 2022 at 01:20:04AM -0300, Leonardo Bras Soares Passos wrote: > (2) is already implemented in v11, but I have no issue implementing > (1) for v12 if it's ok to create this 'global' define.
Dan's suggestion in the other thread sounds good to me with current approach, on having CONFIG_LINUX to wrap the defines. But note that it's still prone to change in the future, e.g., when other qemu modules start to use MSG_ZEROCOPY, we'll probably at least move the defines into some other headers. We could probably need to clean things up when it happens. But I won't strongly ask for that - we can leave that for later. Thanks, -- Peter Xu