Bug 1556868
| Summary: | Make sure all drivers have WPP integrated and enabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sameeh Jubran <sjubran> | ||||
| Component: | virtio-win | Assignee: | Amnon Ilan <ailan> | ||||
| virtio-win sub component: | virtio-win-prewhql | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Status: | CLOSED ERRATA | Docs Contact: | |||||
| Severity: | medium | ||||||
| Priority: | medium | CC: | jherrman, lijin, michen, mtessun, phou, sjubran, virt-bugs, vrozenfe, wyu, xiagao | ||||
| Version: | 7.6 | Keywords: | FutureFeature | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: |
The Windows software trace preprocessor (WPP) feature is now supported by the virtio-win drivers. As a result, on virtual machines using Windows 7 and later, it is now possible to use WPP software tracing to log real-time binary messages. For more information about WPP, see https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/wpp-software-tracing
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-10-30 16:21:50 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1558125, 1558351 | ||||||
| Attachments: |
|
||||||
|
Description
Sameeh Jubran
2018-03-15 11:56:58 UTC
Commits that enabled WPP by deafult for all the drivers that support it have been merged into upstream in the following Pull request: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/262 This pull request however rearranges documentation along with some minor issues: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/263 However up until now it hasn't been merged, but should be soon. We need the cooperation of the QA team with testing the WPP feature for all of the drivers that support it along with feedback on the documentation which would be awesome. Hi Sameeh Jubran, I tried balloon,netkvm,pvpanic,vioinput,viorng,vioserial on win8.1 guest. I can trace some information with these drivers (build150). But I found that some drivers' name in the log is not correct, it shows "sys" not drivers' name. Is it a bug or not? (screenshot refer to attachment) driver name balloon input rng pvpanic vioser netkvm shows in log sys sys viorng pvpanic sys NetKVM BTW, which tracing level we should set when testing? default level is "Error". Is that OK? Thanks Yu Wang Created attachment 1423461 [details]
screenshot-virtioinput
(In reply to Yu Wang from comment #6) > Hi Sameeh Jubran, > > I tried balloon,netkvm,pvpanic,vioinput,viorng,vioserial on win8.1 guest. > I can trace some information with these drivers (build150). > > But I found that some drivers' name in the log is not correct, it shows > "sys" not drivers' name. Is it a bug or not? (screenshot refer to attachment) > > driver name balloon input rng pvpanic vioser netkvm > shows in log sys sys viorng pvpanic sys NetKVM > > BTW, which tracing level we should set when testing? default level is > "Error". Is that OK? > > > Thanks > Yu Wang Yes this is actually a bug and it is fixed in the following PR: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/278 (In reply to Sameeh Jubran from comment #9) > (In reply to Yu Wang from comment #6) > > Hi Sameeh Jubran, > > > > I tried balloon,netkvm,pvpanic,vioinput,viorng,vioserial on win8.1 guest. > > I can trace some information with these drivers (build150). > > > > But I found that some drivers' name in the log is not correct, it shows > > "sys" not drivers' name. Is it a bug or not? (screenshot refer to attachment) > > > > driver name balloon input rng pvpanic vioser netkvm > > shows in log sys sys viorng pvpanic sys NetKVM > > > Yes this is actually a bug and it is fixed in the following PR: > https://github.com/virtio-win/kvm-guest-drivers-windows/pull/278 Hi Vadim, Is this commit included in 153 build? Thanks (In reply to lijin from comment #13) > (In reply to Sameeh Jubran from comment #9) > > (In reply to Yu Wang from comment #6) > > > Hi Sameeh Jubran, > > > > > > I tried balloon,netkvm,pvpanic,vioinput,viorng,vioserial on win8.1 guest. > > > I can trace some information with these drivers (build150). > > > > > > But I found that some drivers' name in the log is not correct, it shows > > > "sys" not drivers' name. Is it a bug or not? (screenshot refer to attachment) > > > > > > driver name balloon input rng pvpanic vioser netkvm > > > shows in log sys sys viorng pvpanic sys NetKVM > > > > > > Yes this is actually a bug and it is fixed in the following PR: > > https://github.com/virtio-win/kvm-guest-drivers-windows/pull/278 > > Hi Vadim, > > Is this commit included in 153 build? > > Thanks Not yet. It will be included into the next build which should be done in next several days. Vadim. *** Bug 1554090 has been marked as a duplicate of this bug. *** (In reply to Vadim Rozenfeld from comment #14) > (In reply to lijin from comment #13) > > (In reply to Sameeh Jubran from comment #9) > > > (In reply to Yu Wang from comment #6) > > > > Hi Sameeh Jubran, > > > > > > > > I tried balloon,netkvm,pvpanic,vioinput,viorng,vioserial on win8.1 guest. > > > > I can trace some information with these drivers (build150). > > > > > > > > But I found that some drivers' name in the log is not correct, it shows > > > > "sys" not drivers' name. Is it a bug or not? (screenshot refer to attachment) > > > > > > > > driver name balloon input rng pvpanic vioser netkvm > > > > shows in log sys sys viorng pvpanic sys NetKVM > > > > > > > > > Yes this is actually a bug and it is fixed in the following PR: > > > https://github.com/virtio-win/kvm-guest-drivers-windows/pull/278 > > > > Hi Vadim, > > > > Is this commit included in 153 build? > > > > Thanks > > Not yet. > It will be included into the next build which should be done in next several > days. What's the current status? We're at the very end of the RHEL-7.6 development phase and might need exception+ for this. Please provide a plan and ETA otherwise we should defer or close it. (In reply to Ademar Reis from comment #16) > (In reply to Vadim Rozenfeld from comment #14) > > (In reply to lijin from comment #13) > > > (In reply to Sameeh Jubran from comment #9) > > > > (In reply to Yu Wang from comment #6) > > > > > Hi Sameeh Jubran, > > > > > > > > > > I tried balloon,netkvm,pvpanic,vioinput,viorng,vioserial on win8.1 guest. > > > > > I can trace some information with these drivers (build150). > > > > > > > > > > But I found that some drivers' name in the log is not correct, it shows > > > > > "sys" not drivers' name. Is it a bug or not? (screenshot refer to attachment) > > > > > > > > > > driver name balloon input rng pvpanic vioser netkvm > > > > > shows in log sys sys viorng pvpanic sys NetKVM > > > > > > > > > > > > Yes this is actually a bug and it is fixed in the following PR: > > > > https://github.com/virtio-win/kvm-guest-drivers-windows/pull/278 > > > > > > Hi Vadim, > > > > > > Is this commit included in 153 build? > > > > > > Thanks > > > > Not yet. > > It will be included into the next build which should be done in next several > > days. > > What's the current status? We're at the very end of the RHEL-7.6 development > phase and might need exception+ for this. Please provide a plan and ETA > otherwise we should defer or close it. WPP for both storage drivers (viostor and vioscsi) is in. Firstly introduced in build 154 and ready for testing. Tested on all the drivers (balloon/input/rng/pvpanic/vioser/netkvm/viostor/vioscsi), can trace info by trace view and all the driver names are correct. But still have a doubt, when setting level to None on TraceView, it can still trace info with netkvm/viostor/vioscsi, is this normal? If yes, I will change status to verified. Thanks Yu Wang For NetKVM this behavior is okay as the way to turn on and off the NetKVM prints if from the driver advanced tap (registry settings). It is configured this way in order to keep this aligned with the old style debugging function using kdprint. Thanks, Sameeh Jubran. Hi Vadim, Could you help to check comment#18, is this behavior okay? Thanks Yu Wang (In reply to Yu Wang from comment #20) > Thanks, Sameeh Jubran. > > Hi Vadim, > > Could you help to check comment#18, is this behavior okay? > > Thanks > Yu Wang Hi Yu Wang, Level has no meaning for viostor and vioscsi, only flags are important. Enabling Flag "TRACE_LEVEL_NONE" only should stop logging new trace records, but we have to remember that TraceView reads and prints trace information from some sort of in-memory ring buffers, which means that we can expect delay (sometimes several minutes long) between toggling a flag and its visible effect in TraceView. Best, Vadim. (In reply to Vadim Rozenfeld from comment #21) > (In reply to Yu Wang from comment #20) > > Thanks, Sameeh Jubran. > > > > Hi Vadim, > > > > Could you help to check comment#18, is this behavior okay? > > > > Thanks > > Yu Wang > > Hi Yu Wang, > > Level has no meaning for viostor and vioscsi, only flags are important. > Enabling Flag "TRACE_LEVEL_NONE" only should stop logging new trace records, > but we have to remember that TraceView reads and prints trace information > from > some sort of in-memory ring buffers, which means that we can expect delay > (sometimes several minutes long) between toggling a flag and its visible > effect > in TraceView. Get it, thanks a lot. according to comment#20 and comment#21, change status to verified > > Best, > Vadim. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3413 |