ivshmem: Define POOL_NX_OPTIN=1
Defining the macro makes ExAllocatePoolWithTag allocate non-executable memory
and eliminates this warning:
"C:\kvm-guest-drivers-windows\ivshmem\ivshmem.vcxproj" (default target) (1) ->
(RunNativeCodeAnalysis target) ->
c:\kvm-guest-drivers-windows\ivshmem\device.c(93): warning C30030: Warning: Allocating executable POOL_TYPE memory [C:\kvm-guest-drivers-windows\ivshmem\ivshmem.vcxproj]
<OutDir>$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|Win32'">
<ClCompile>
<WppEnabled>false</WppEnabled>
