Skip to content

mshv: add a testcase for mshvtrace #3909

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

praveen-pk
Copy link
Contributor

  1. Add a testcase for mshvtrace
  2. fix logfile size detection for mshvlog

@praveen-pk praveen-pk force-pushed the mshvtrace branch 3 times, most recently from ba7fb95 to 2d48369 Compare July 7, 2025 16:16
@LiliDeng LiliDeng requested a review from pupacha July 8, 2025 03:00
pupacha
pupacha previously approved these changes Jul 9, 2025
Copy link
Collaborator

@pupacha pupacha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just minor comments.

@praveen-pk praveen-pk force-pushed the mshvtrace branch 2 times, most recently from 256943d to 40a5411 Compare July 9, 2025 16:36
pupacha
pupacha previously approved these changes Jul 9, 2025
fix the file path for mshvlog's log file. Check for non-zero logfile
size for 10 seconds.

The mshvlog_logfile is of the node and not local machine.

Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
Co-authored-by: Purna Pavan Chandra Aekkaladevi <paekkaladevi@microsoft.com>

mshv: fix: Check the file size in the node

The mshvlog_logfile is of the node and not local machine.
Fixes: microsoft#3869
This testcase runs mshvtrace and checks the size of the output file.

Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
@squirrelsc
Copy link
Member

@LiliDeng LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants