-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vioscsi] Conditionally manage DVL copying #1210
base: master
Are you sure you want to change the base?
Conversation
Any idea what's happening here...? Also from the code review: Are you saying Win10 builds also need the Should it be the When |
These seem to be the same as previous PRs. Any idea why they're happening? Are they BSOD recoveries maybe? |
Yes. We have different DVL.XML for different Win10. Win10 1507-1809/Server 2019 required another DVL than Win10 2004-21H2/Server 2022. Also, Server 2016 required compact DVL.XML based on Server 2019 DVL (without CodeQL). 3 different DVL.XML for Windows 10. |
Please ignore the Flush Test results for now. This test was built for real hardware but we created some workaround for VMs. Currently, it is not so stable. |
Thanks for responding. Almost there... 8^d
And from your previous comment:
Ok, so this has been my understanding:
You have variously mentioned the COMPAT version is without checksum / CodeQL. However, I note the Titanium EWDK does create a DVL with ...it should be the following?
...Or something else...? |
Perhaps better posted in PR #1212... |
So I've confirmed with a Redstone 1 EWDK (1607, b14393 = Server2016) DVL build that there's no checksum section. So it should be: So we do: However, the Let me have a think about this and your comments above, including amongst other things, troubleshooting build and |
I understand the need to have the ability to create DVL from the local buildall.bat. But I don't want to change any thing related to DVL copy or manipulation for now. This is legacy stuff, with different manipulations for older OSes that works. Breaking it and debugging will be a headache. I prefer to remove all of it at some point in the future instead of trying to maintain it. |
Hold that thought...! I've redone most of this one and produced a The only functional change I made was to build the I also added logging for both the CustomBuildStep Command and also for the The former appears in This should greatly simplify any DVL troubleshooting for anyone, whether familiar with, or casual to, the build process. It also removes any ambiguity surrounding errors such as "The system cannot find the path specified." as a reason will be given as to why a DVL component might be missing. These errors are what prompted me to look into this in the first place. I propose I push the new commits and drop some screenshots here for your (re)consideration. EDIT: |
I've pushed those changes: Addendum to 7348ad4.
|
Addendum to da96c89. 1. Further changes to buildAll.bat a) Added @ prefix to FOR do commands b) Extended logging around creation of COMPAT (RS1/1607) DVL files c) Added SDV and Legacy DVL (DVL files created with legacy EWDKs) reporting. The latter queries the <PROJECT>.legacy_dvl_result.txt log file created by build\makeLegacyDVLs.bat and reports accordingly. Please see PR virtio-win#1210 for more information. d) Consolidates exiting function (whether success or fail) to :leave e) Creates a scheduled task to call build\clean_build_log.bat before leaving. 2. Created build\clean_build_log.bat to remove colour pallette artefacts from build_log.txt created during HCK/CI using Jenkins config. This script also deletes the scheduled task created in 1(d) above. Signed-off-by: benyamin-codez <[email protected]>
@YanVugenfirer @kostyanf14 @vrozenfe I believe this one is ready to go too. Promised pics follow... 8^d Some pics of logging from vioscsi build (implemented by this PR): Some pics of logging from main I didn't bother with screenshots for the scenario of no legacy DVL folders and no SDV, but it would show the combination of items above, i.e. SDV directory checking and DVL logged results, as would be logically expected. Let me know what you think. |
PR looks good. Squash all commits, force push branch, and set it ready for review. |
As we need DVL1903 in 3 drivers, please update viostor and NetKVM after this one PR will be merged. |
1. Refactors the CustomBuildStep Command to manage DVL file creation. We now create DVL files in the Project (driver) folder with version numbers in the file name for DVL files created with legacy EWDKs, and with the "latest" label for current EWDKs. These files are then copied to the relevant .\Install folders and renamed for extant WHCP submission operations. 2. New build\makeLegacyDVLs.bat now creates all legacy DVL files. This functionally replaces build\dvl1903.bat and extends it to service any legacy DVL build. It provides a framework to manage legacy DVL creation and a common place to lay out version-specific DVL operations and manipulations. Logging is also enabled to provide feedback when read at the tail of root\buildAll.bat. Please see PR virtio-win#1212 for details on these changes. 3. Enables Win10_SDV for local (vioscsi) buildAll.bat script. Signed-off-by: benyamin-codez <[email protected]>
cee4107
to
ba9d513
Compare
Thanks, Kostiantyn. That's now done.
Did you mean to wait for this to merge first? |
Sure, if you can do it in separate PRs |
a) Updates the CustomBuildStep Command to conditionally copy COMPAT and Win10 DVL files. This permits COMPAT DVLs with Checksums and Win10 SDV DVLs to be copied if available.
b) Enables Win10_SDV for local buildAll.bat script.