[CI-NO-BUILD] [vioscsi] Raise NTDDI version#1309
[CI-NO-BUILD] [vioscsi] Raise NTDDI version#1309benyamin-codez wants to merge 1 commit intovirtio-win:masterfrom
Conversation
|
Waiting on PR #1228 to merge before rebasing and review. |
| <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">true</WppEnabled> | ||
| <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">true</WppEnabled> | ||
| <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64' And '$(DisableTracing)'!='true' And '$(UseDebugTracing)'!='true'">true</WppEnabled> | ||
| <WppEnabled Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64' And '$(DisableTracing)'!='true' And '$(UseDebugTracing)'!='true'">true</WppEnabled> | ||
| <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile> | ||
| <WppGenerateUsingTemplateFile Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">{km-StorDefault.tpl}*.tmh</WppGenerateUsingTemplateFile> | ||
| <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">trace.h</WppScanConfigurationData> | ||
| <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64'">trace.h</WppScanConfigurationData> | ||
| <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64' And '$(LimitPathsWPP)'=='WPPColdPathOnly'">wpp_cold_path.h</WppScanConfigurationData> | ||
| <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64' And '$(LimitPathsWPP)'!='WPPColdPathOnly'">wpp_all_paths.h</WppScanConfigurationData> | ||
| <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64' And '$(LimitPathsWPP)'=='WPPColdPathOnly'">wpp_cold_path.h</WppScanConfigurationData> | ||
| <WppScanConfigurationData Condition="'$(Configuration)|$(Platform)'=='Win11 Release|x64' And '$(LimitPathsWPP)'!='WPPColdPathOnly'">wpp_all_paths.h</WppScanConfigurationData> |
There was a problem hiding this comment.
Looks like you merged part of other PR into this commit.
There was a problem hiding this comment.
Yeah, I hope it will merge with PR #1228 and then vanish when I rebase... 8^d
| <PreprocessorDefinitions Condition="'$(DisableTracing)'=='true'">%(PreprocessorDefinitions);RUN_UNCHECKED=1</PreprocessorDefinitions> | ||
| <PreprocessorDefinitions Condition="'$(LimitPathsWPP)'=='WPPColdPathOnly'">%(PreprocessorDefinitions);RUN_COLD_PATH_ONLY=1</PreprocessorDefinitions> | ||
| <PreprocessorDefinitions Condition="'$(UseDebugTracing)'!='true'">%(PreprocessorDefinitions);EVENT_TRACING=1</PreprocessorDefinitions> | ||
| <PreprocessorDefinitions>%(PreprocessorDefinitions);NTDDI_VERSION=NTDDI_WIN10_CO</PreprocessorDefinitions> |
There was a problem hiding this comment.
Please write in the commit message NTDDI_WINTHRESHOLD and NTDDI_WIN10_CO with a human-readable version name like Windows 11 21H2
There was a problem hiding this comment.
Just to be clear, they are actual NTDDI versions.
I've amended the commit message with some descriptions and pushed it.
I trust that change is sufficient... 8^d
There was a problem hiding this comment.
Also updated the OP with commit message change.
| <PreprocessorDefinitions Condition="'$(DisableTracing)'=='true'">%(PreprocessorDefinitions);RUN_UNCHECKED=1</PreprocessorDefinitions> | ||
| <PreprocessorDefinitions Condition="'$(LimitPathsWPP)'=='WPPColdPathOnly'">%(PreprocessorDefinitions);RUN_COLD_PATH_ONLY=1</PreprocessorDefinitions> | ||
| <PreprocessorDefinitions Condition="'$(UseDebugTracing)'!='true'">%(PreprocessorDefinitions);EVENT_TRACING=1</PreprocessorDefinitions> |
There was a problem hiding this comment.
Looks like you merged part of other PR into this commit.
There was a problem hiding this comment.
Yeah, I hope it will merge with PR #1228 and then vanish when I rebase... 8^d
I could clean it up this PR and let it merge first and then rebase the other PR... |
Background:
The NTDDI_VERSION has not historically been set in the vioscsi.vcxproj file
as PreprocessorDefinitions. Both the Win10 Release and Win11 Release targets
are presently compiling with NTDDI_VERSION=NTDDI_WINTHRESHOLD, which is
equivalent to Windows 10, version 1507, build 10240, dev codename Threshold 1.
This PR refactors vioscsi.vcxproj to specify:
1. The preferred NTDDI_VERSION as PreprocessorDefinitions, where we are using
(a) NTDDI_WINTHRESHOLD (equiv. Windows 10, version 1507, build 10240,
dev codename Threshold 1) for Win10 Release targets; and
(b) NTDDI_WIN10_CO (equiv. Windows 10/11, version 21H2, build 19044/22000
dev codename Cobalt) for Win11 Release targets.
Signed-off-by: benyamin-codez <115509179+benyamin-codez@users.noreply.github.com>
eba74b9 to
e97d8ac
Compare
|
Also should point out I had previously asked:
|
|
[Jenkins CI]: Can one of the admins verify this patch? |
Background:
The
NTDDI_VERSIONhas not historically been set in thevioscsi.vcxprojfile asPreprocessorDefinitions. Both theWin10 ReleaseandWin11 Releasetargets are presently compiling withNTDDI_VERSION=NTDDI_WINTHRESHOLD, which is equivalent to Windows 10, version 1507, build 10240, dev codename Threshold 1.This PR refactors
vioscsi.vcxprojto specify:NTDDI_VERSIONasPreprocessorDefinitions, where we are using:(a)
NTDDI_WINTHRESHOLD(equiv. Windows 10, version 1507, build 10240, dev codename Threshold 1) forWin10 Releasetargets; and(b)
NTDDI_WIN10_CO(equiv. Windows 10/11, version 21H2, build 19044/22000, dev codename Cobalt) forWin11 Releasetargets.