Skip to content

WIP: Integrate VMM.Perf into the OpenVMM pipeline - #4184

Open
ayusharora221204 wants to merge 8 commits into
microsoft:mainfrom
ayusharora221204:user/ayusharora/vmmperf-pipeline
Open

WIP: Integrate VMM.Perf into the OpenVMM pipeline#4184
ayusharora221204 wants to merge 8 commits into
microsoft:mainfrom
ayusharora221204:user/ayusharora/vmmperf-pipeline

Conversation

@ayusharora221204

Copy link
Copy Markdown

Add VMM.Perf to the existing Petri and nextest VMM-test pipeline.

This change:

  • Adds FIO, IPERF3, and boot-time VMM.Perf profiles.
  • Downloads and caches the Linux x64 VMM.Perf runtime.
  • Runs profiles through VirtualClient using OpenVMM.
  • Collects benchmark results and diagnostics through existing VMM-test artifacts.
  • Enables VMM.Perf only in the GitHub CI x64-linux-amd-kvm job for now.

Add VMM.Perf to the existing VMM-test pipeline with Petri and nextest integration. Run the supported benchmark profiles on Linux x64 KVM and publish their results through the existing CI artifacts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e1b288be-8b12-4b27-9ab6-345919473d6d
Copilot AI lite review requested due to automatic review settings August 7, 2026 07:31
@github-actions github-actions Bot added the Guide label Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Integrates VMM.Perf profiles into the existing Petri/nextest-driven VMM test pipeline, including a new vmm_perf test binary, runtime artifact plumbing, and CI scheduling/nextest resource controls so the perf runs are isolated to the intended Linux x64 KVM job.

Changes:

  • Added a new Petri-based vmm_perf test binary that executes FIO, IPERF3, and boot-time profiles via VirtualClient and writes results into existing VMM-test artifacts.
  • Introduced a new “VMM.Perf runtime” blob artifact and extended artifact download plumbing to support artifacts coming from different Azure storage account/container pairs.
  • Updated nextest configuration and CI gate logic to give VMM.Perf exclusive host resources and to enable it only for x64-linux-amd-kvm in GitHub CI.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
vmm_tests/vmm_tests/tests/vmm_perf.rs New Petri/nextest test binary that extracts the VMM.Perf runtime, runs VirtualClient-driven profiles, and collects logs/results.
vmm_tests/vmm_tests/Cargo.toml Registers the new vmm_perf test binary with harness = false.
vmm_tests/vmm_test_images/src/lib.rs Adds VmmPerfRuntimeLinuxX64 and extends metadata to include per-artifact storage account/container.
vmm_tests/petri_artifacts_vmm_test/src/lib.rs Declares the VMM.Perf runtime blob artifact and adds a tag trait for that blob store.
Guide/src/dev_guide/dev_tools/xflowey.md Documents how to run VMM.Perf via cargo xflowey vmm-tests-run filters.
flowey/flowey_lib_hvlite/src/download_openvmm_vmm_tests_artifacts.rs Updates artifact download logic to group downloads by (storage account, container) and download each group separately.
flowey/flowey_hvlite/src/pipelines/vmm_tests_run.rs Maps the new runtime artifact ID into the download set for VMM test runs.
flowey/flowey_hvlite/src/pipelines/checkin_gates.rs Enables VMM.Perf only for the GitHub CI x64-linux-amd-kvm job and excludes it elsewhere.
.config/nextest.toml Adds per-binary overrides so vmm_perf requires all threads and gets extended slow timeouts.
Suppressed comments (1)

Guide/src/dev_guide/dev_tools/xflowey.md:29

  • This is a shell command example; per the Guide style guide, shell command fences should be labeled bash rather than text.
To run one profile, add its test name:

```text
cargo xflowey vmm-tests-run --filter "binary(vmm_perf) & test(fio)"
</details>

Comment thread vmm_tests/vmm_tests/tests/vmm_perf.rs Outdated
Comment on lines +358 to +362
let status = Command::new("tar")
.args(["-xf"])
.arg(archive)
.arg("-C")
.arg(&staging)
Comment thread vmm_tests/vmm_tests/tests/vmm_perf.rs Outdated
Comment on lines +323 to +326
let status = Command::new("sudo")
.args(["-n", "chown", "-R", "--"])
.arg(format!("{uid}:{gid}"))
.args(paths)
Comment thread vmm_tests/vmm_tests/tests/vmm_perf.rs Outdated
Comment on lines +388 to +390
if directory.join(virtual_client_name).is_file() {
candidates.push(directory.clone());
}

Run all Linux x64 VMM.Perf profiles with:

```text
Comment on lines +1708 to +1722
let vmm_perf_runtime = match (backend_hint, config, label) {
(
PipelineBackendHint::Github,
PipelineConfig::Ci,
"x64-linux-amd-kvm",
) => Some(VmmPerfRuntimeLinuxX64),
_ => None,
};

if let Some(runtime) = vmm_perf_runtime {
test_artifacts.push(runtime);
} else {
nextest_filter_expr =
format!("({nextest_filter_expr}) & !binary(vmm_perf)");
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This shouldn't be done as a match and modification after parameter declaration, it should be done in the parameters somehow.

Comment thread .config/nextest.toml Outdated
filter = 'package(~vmm_tests) and binary(vmm_perf)'
# Performance profiles must own the host while VirtualClient drives OpenVMM.
threads-required = "num-cpus"
slow-timeout = { period = "60m", terminate-after = 4 }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this is going to be running in CI on every commit then 4 hours feels way too long.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Agreed. The four-hour limit was a temporary setting used during initial profile validation. I have reduced it to a 15-minute slow period with termination after two periods.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Steven Malis (@smalis-msft) we will not be running this in PR pipeline, we will add it initially in PR pipeline to test it out, but before merge we want this to only run on CI merges.

Comment on lines +3 to +4

//! VMM.Perf profiles executed through the Petri/nextest test harness.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What gap does this solve that the burette crate doesn't? See here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Daman Mulye (@damanm24) we want to make this change so that we have a single harness across multiple VMMs, we have an internal initiative on it, we had some discussions around it, we could sync offline to discuss this more.

Limit each VMM.Perf profile to 30 minutes by marking it slow after 15 minutes and terminating it after two periods.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e1b288be-8b12-4b27-9ab6-345919473d6d
Copilot AI review requested due to automatic review settings August 7, 2026 15:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

Suppressed comments (5)

vmm_tests/vmm_test_images/src/lib.rs:153

  • container() is documented as returning the blob container, but for VMM.Perf the value is a container + prefix (e.g. vmmperf/latest). Please clarify the API contract in the doc comment so callers don’t treat this as a strict container name.
    /// Get the Azure Blob container containing the artifact.
    pub fn container(self) -> &'static str {
        self.meta().container
    }

Guide/src/dev_guide/dev_tools/xflowey.md:23

  • These are shell commands; using a bash code fence (instead of text) matches the Guide style guidance and improves readability/syntax highlighting. Suggested change: switch the fence from text to bash for this block.
```text
cargo xflowey vmm-tests-run --filter "binary(vmm_perf)"
**Guide/src/dev_guide/dev_tools/xflowey.md:29**
* Same as above: this block is a shell command, so a `bash` code fence is more appropriate than `text`. Suggested change: replace the opening fence language `text` with `bash`.
cargo xflowey vmm-tests-run --filter "binary(vmm_perf) & test(fio)"
**vmm_tests/vmm_test_images/src/lib.rs:119**
* `vmm_perf_meta` hard-codes a different storage account/container path than the rest of the VMM test images. However, at least some fallback download paths still assume the global `STORAGE_ACCOUNT`/`CONTAINER` (e.g. `xtask guest-test download-image` and `OpenvmmKnownPathsTestArtifactResolver`’s MissingCommand). If `VmmPerfRuntimeLinuxX64` isn’t already present in the cache, those code paths will try to fetch it from the wrong location and fail.

Consider updating the shared download helpers to use `KnownTestArtifacts::storage_account()` / `container()` when resolving *any* `KnownTestArtifacts`, so non-HvLite-hosted artifacts work end-to-end.
    download_name: T::DOWNLOAD_NAME,
    supports_blob_disk: false,
    storage_account: "vmmperf",
    container: "vmmperf/latest",
}
**vmm_tests/vmm_test_images/src/lib.rs:148**
* The `storage_account()` doc comment implies a single Azure Storage account “containing the artifact”, but the code now supports multiple sources. It would be clearer to document that this value is the storage account name used by download tooling for this specific artifact.

This issue also appears on line 150 of the same file.
/// Get the Azure Storage account containing the artifact.
pub fn storage_account(self) -> &'static str {
    self.meta().storage_account
}
</details>


declare_blob_artifacts! {
/// VMM.Perf runtime for Linux x86_64 hosts.
RUNTIME_LINUX_X64,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We ship the linux arm64 bin as well can you add that as well?

Comment thread vmm_tests/vmm_tests/tests/vmm_perf.rs Outdated
.stderr(Stdio::from(stderr))
.status()
.with_context(|| {
format!(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we make a VirtualClientCommandBuilder here which will provide abstraction over these?

VirtualClientCommandBuilder::new()
.profile(Enum)
.parameter(..)
.parameter(...)
.logger()
.log_to_file(true)
.... etc.

Comment thread vmm_tests/vmm_tests/tests/vmm_perf.rs Outdated
Comment on lines +85 to +202
fn run_profile(
params: petri::PetriTestParams<'_>,
artifacts: VmmPerfArtifacts,
profile: Profile,
) -> anyhow::Result<()> {
validate_host()?;

let openvmm = artifacts.openvmm.get();
let firmware = artifacts.firmware.get();
let runtime_archive = artifacts.runtime_archive.get();
let output_dir = artifacts.log_dir.get();
ensure_file(openvmm, "OpenVMM executable")?;
ensure_file(firmware, "MSVM firmware")?;
ensure_file(runtime_archive, "VMM.Perf runtime archive")?;
fs_err::create_dir_all(output_dir)?;

let virtual_client_name = "VirtualClient";
let runtime_dir = prepare_runtime(runtime_archive, virtual_client_name)?;
register_package_file(&runtime_dir, "openvmm", "openvmm", openvmm)?;
register_package_file(
&runtime_dir,
"msvm-firmware",
Path::new("FV").join("MSVM.fd"),
firmware,
)?;
ensure_runtime_executables(&runtime_dir, virtual_client_name)?;

let profile_path = runtime_dir.join("profiles").join(profile.file);
ensure_file(&profile_path, "VMM.Perf profile")?;

let work_parent = std::env::var_os("VMM_PERF_WORK_DIR")
.map(PathBuf::from)
.unwrap_or_else(std::env::temp_dir);
fs_err::create_dir_all(&work_parent)?;
let work = tempfile::Builder::new()
.prefix(&format!("vmm-perf-{}-", profile.name))
.tempdir_in(work_parent)?;
let data_dir = work.path().join("data");
let temp_dir = work.path().join("temp");
let control_dir = work.path().join("control");
fs_err::create_dir_all(&data_dir)?;
fs_err::create_dir_all(&temp_dir)?;
fs_err::create_dir_all(&control_dir)?;

let patched_profile = control_dir.join(profile.file);
patch_profile_work_dir(&profile_path, &patched_profile, &data_dir)?;

let virtual_client_logs = output_dir.join("virtual-client");
let results_dir = output_dir.join("results");
let openvmm_logs_dir = output_dir.join("openvmm-logs");
fs_err::create_dir_all(&virtual_client_logs)?;
fs_err::create_dir_all(&results_dir)?;
fs_err::create_dir_all(&openvmm_logs_dir)?;

let runtime_logs = runtime_dir.join("logs");
if runtime_logs.exists() {
fs_err::remove_dir_all(&runtime_logs)?;
}

let experiment_id = format!(
"{}-{}",
profile.name,
SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis()
);
let console_log_path = output_dir.join("console.log");
let console_log = File::create(&console_log_path)?;
let started = Instant::now();
let status = run_virtual_client(
&runtime_dir,
virtual_client_name,
&patched_profile,
&data_dir,
&temp_dir,
&virtual_client_logs,
&experiment_id,
console_log,
)?;
let duration_ms = started.elapsed().as_millis().min(u64::MAX as u128) as u64;

copy_profile_diagnostics(
[("data", data_dir.as_path()), ("temp", temp_dir.as_path())],
output_dir,
)?;
if runtime_logs.exists() {
copy_directory(&runtime_logs, &virtual_client_logs.join("runtime"))?;
}

let exit_code = status.code().unwrap_or(-1);
fs_err::write(
output_dir.join("run-summary.json"),
serde_json::to_vec_pretty(&serde_json::json!({
"profile": profile.file,
"success": status.success(),
"exit_code": exit_code,
"experiment_id": experiment_id,
"duration_ms": duration_ms,
"runtime_rid": "linux-x64",
"runtime_version": "3.0.21",
"runtime_source": "public-blob",
}))?,
)?;

tracing::info!(
test = params.test_name,
profile = profile.file,
exit_code,
duration_ms,
"VMM.Perf profile completed"
);

anyhow::ensure!(
status.success(),
"VMM.Perf profile {} failed with exit code {}",
profile.file,
exit_code
);
Ok(())
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add a light state machine like abstraction to this? We may benefit from some smaller module and structs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would think treat this module as the vmm test orchestrator which invokes into the VirtualClient Lifecycle.

Ayush Arora added 2 commits August 11, 2026 20:56
Add VMM.Perf runtime integration, configurable VM shapes, host validation, diagnostic collection, and metrics publication for Linux KVM and MSHV PR jobs.
Copilot AI review requested due to automatic review settings August 11, 2026 15:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Suppressed comments (2)

flowey/flowey_hvlite/src/pipelines/checkin_gates.rs:1680

  • The PR description says VMM.Perf is enabled only in the GitHub CI x64-linux-amd-kvm job for now, but this change also enables it for x64-linux-intel-mshv via pr_vmm_perf_filter/pr_vmm_perf_artifacts in this job definition.
                nextest_filter_expr: pr_vmm_perf_filter(format!(
                    "{standard_filter} & !test(pcat_x64)"
                )),
                test_artifacts: pr_vmm_perf_artifacts(standard_x64_test_artifacts.clone()),

vmm_tests/vmm_tests/tests/vmm_perf/virtual_client.rs:96

  • WorkDir can be overridden via configuration parameters, and profile_work_dir is resolved/validated from that parameter, but the VC_VMM_WORK_DIR environment passed to VirtualClient is still hard-coded to directories.data_dir. This means a custom WorkDir is validated but not actually used by VirtualClient, which is likely to break non-default setups.
                .log_to_file(true)
                .work_dir(&directories.data_dir)
                .temp_dir(&directories.temp_dir);

Comment on lines +151 to +155
self.runtime.root(),
&directories.data_dir,
&directories.temp_dir,
&directories.config_output_dir,
&directories.profile_work_dir,
Copilot AI review requested due to automatic review settings August 12, 2026 05:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Suppressed comments (5)

flowey/flowey_hvlite/src/pipelines/checkin_gates.rs:1679

  • The PR description says VMM.Perf is enabled only for the GitHub CI x64-linux-amd-kvm job, but this job block also applies the VMM.Perf-enabling filter/artifact logic to x64-linux-intel-mshv. This expands CI scope (and downloads the runtime) beyond what the PR description states.
                // - No legal way to obtain gen1 pcat blobs on non-msft linux machines
                nextest_filter_expr: pr_vmm_perf_filter(format!(
                    "{standard_filter} & !test(pcat_x64)"
                )),
                test_artifacts: pr_vmm_perf_artifacts(standard_x64_test_artifacts.clone()),
                prep_steps_variants: standard_x64_prep_variants.clone(),

flowey/flowey_hvlite/src/pipelines/vmm_tests_run.rs:528

  • parse_parameter_set trims parameter names but not values. This makes common inputs like CpuCount=2, MemoryMB=4096 (note the space after the comma) serialize values with leading whitespace, which then fail later numeric parsing in the VMM.Perf runner/config logic. Trimming (and rejecting empty) values here would make the CLI more robust.
        anyhow::ensure!(
            parameters
                .insert(name.to_owned(), value.to_owned())
                .is_none(),

vmm_tests/vmm_tests/tests/vmm_perf/config.rs:153

  • stringify_parameters clones the name string even though it can be moved into the result after computing the value string. Avoiding the clone removes an allocation per parameter (and should satisfy clippy in this hot-ish parsing path).
            anyhow::ensure!(
                !name.trim().is_empty(),
                "{context} contains an empty parameter name"
            );
            Ok((name.clone(), scalar_to_string(&name, &value)?))

vmm_tests/vmm_tests/tests/vmm_perf/virtual_client.rs:345

  • experiment_id uses the current time truncated to milliseconds. When running multiple configurations back-to-back, it’s plausible for two runs to be prepared within the same millisecond, producing identical experiment IDs and potentially colliding/overwriting VirtualClient outputs for those runs.
    Ok(format!(
        "{}-{config_name}-{}",
        profile.name(),
        SystemTime::now().duration_since(UNIX_EPOCH)?.as_millis()
    ))

vmm_tests/vmm_test_images/src/lib.rs:157

  • KnownTestArtifacts::container() is documented as returning the Azure Blob container, but some artifacts (e.g. VMM.Perf) appear to encode a container plus virtual-directory prefix (e.g. perfpackage/latest). This doc comment is misleading and may cause future callers to use it with az storage blob ... --container-name, which would fail.
    /// Get the Azure Blob container containing the artifact.
    pub fn container(self) -> &'static str {
        self.meta().container

Comment on lines +86 to +90
let status = Command::new("tar")
.args(["-xf"])
.arg(archive)
.arg("-C")
.arg(&staging)
@ayusharora221204
ayusharora221204 marked this pull request as ready for review August 12, 2026 06:52
@ayusharora221204
ayusharora221204 requested review from a team as code owners August 12, 2026 06:52
Copilot AI review requested due to automatic review settings August 12, 2026 07:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated no new comments.

Suppressed comments (3)

vmm_tests/vmm_tests/tests/vmm_perf/runtime.rs:93

  • tar extraction of an externally downloaded runtime archive should avoid restoring ownership/permissions (especially if the test ever runs as root) and should reject absolute paths. Adding defensive tar flags reduces the risk of a malicious or corrupted archive writing unexpected metadata or paths during extraction.
    let status = Command::new("tar")
        .args(["-xf"])
        .arg(archive)
        .arg("-C")
        .arg(&staging)
        .status()
        .context("failed to launch tar for VMM.Perf runtime extraction")?;
    anyhow::ensure!(status.success(), "failed to extract VMM.Perf runtime");

vmm_tests/vmm_tests/tests/vmm_perf/virtual_client.rs:103

  • When a config supplies a custom "WorkDir" (used as the base directory), directories.profile_work_dir can differ from directories.data_dir, but VirtualClientCommandBuilder::work_dir is currently set to data_dir while the WorkDir parameter is set to profile_work_dir. This mismatch means VirtualClient/OpenVMM may write to different locations, and diagnostics collection (which reads profile_work_dir) can miss data when an explicit WorkDir base is used.
                .logger("csv")
                .logger("summary")
                .log_to_file(true)
                .work_dir(&directories.data_dir)
                .temp_dir(&directories.temp_dir);

vmm_tests/vmm_test_images/src/lib.rs:154

  • KnownTestArtifacts::container() is documented as returning the Azure Blob container, but for VMM.Perf it is set to "perfpackage/latest" (container path + virtual directory prefix). This doc comment is misleading given how the value is used to build blob URLs.
    /// Get the Azure Blob container containing the artifact.

Copilot AI review requested due to automatic review settings August 12, 2026 08:13
@microsoft-github-policy-service

Copy link
Copy Markdown

ayusharora221204 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement

Contribution License Agreement

This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

  1. Definitions.
    “Code” means the computer software code, whether in human-readable or machine-executable form,
    that is delivered by You to Microsoft under this Agreement.
    “Project” means any of the projects owned or managed by Microsoft and offered under a license
    approved by the Open Source Initiative (www.opensource.org).
    “Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
    Project, including but not limited to communication on electronic mailing lists, source code control
    systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
    discussing and improving that Project, but excluding communication that is conspicuously marked or
    otherwise designated in writing by You as “Not a Submission.”
    “Submission” means the Code and any other copyrightable material Submitted by You, including any
    associated comments and documentation.
  2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
    Project. This Agreement covers any and all Submissions that You, now or in the future (except as
    described in Section 4 below), Submit to any Project.
  3. Originality of Work. You represent that each of Your Submissions is entirely Your original work.
    Should You wish to Submit materials that are not Your original work, You may Submit them separately
    to the Project if You (a) retain all copyright and license information that was in the materials as You
    received them, (b) in the description accompanying Your Submission, include the phrase “Submission
    containing materials of a third party:” followed by the names of the third party and any licenses or other
    restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
    guidelines concerning Submissions.
  4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
    for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
    Submission is made in the course of Your work for an employer or Your employer has intellectual
    property rights in Your Submission by contract or applicable law, You must secure permission from Your
    employer to make the Submission before signing this Agreement. In that case, the term “You” in this
    Agreement will refer to You and the employer collectively. If You change employers in the future and
    desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
    and secure permission from the new employer before Submitting those Submissions.
  5. Licenses.
  • Copyright License. You grant Microsoft, and those who receive the Submission directly or
    indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
    Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
    the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
    parties.
  • Patent License. You grant Microsoft, and those who receive the Submission directly or
    indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
    Your patent claims that are necessarily infringed by the Submission or the combination of the
    Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
    import or otherwise dispose of the Submission alone or with the Project.
  • Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
    No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
    granted by implication, exhaustion, estoppel or otherwise.
  1. Representations and Warranties. You represent that You are legally entitled to grant the above
    licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
    have disclosed under Section 3). You represent that You have secured permission from Your employer to
    make the Submission in cases where Your Submission is made in the course of Your work for Your
    employer or Your employer has intellectual property rights in Your Submission by contract or applicable
    law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
    have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
    You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
    REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
    EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
    PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
    NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
  2. Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
    You later become aware that would make Your representations in this Agreement inaccurate in any
    respect.
  3. Information about Submissions. You agree that contributions to Projects and information about
    contributions may be maintained indefinitely and disclosed publicly, including Your name and other
    information that You submit with Your Submission.
  4. Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
    the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
    Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
    exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
    defenses of lack of personal jurisdiction and forum non-conveniens.
  5. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
    supersedes any and all prior agreements, understandings or communications, written or oral, between
    the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Suppressed comments (3)

Guide/src/dev_guide/dev_tools/xflowey.md:38

  • These blocks are shell commands; using a bash-labeled code fence improves readability and matches the repo doc style expectations for command snippets (instead of text).
```text
cargo xflowey vmm-tests-run --filter "binary(vmm_perf)"

To run one profile, add its test name:

cargo xflowey vmm-tests-run --filter "binary(vmm_perf) & test(fio)"

To run explicit VM sizes:

cargo xflowey vmm-tests-run \
  --filter "binary(vmm_perf) & test(fio)" \
  --vmm-perf-vmsizes 'CpuCount=2,MemoryMB=4096' \
  --vmm-perf-vmsizes 'CpuCount=8,MemoryMB=16384'
**vmm_tests/vmm_tests/tests/vmm_perf/virtual_client.rs:103**
* When a custom WorkDir base is provided, `profile_work_dir` may differ from `data_dir`, but `VC_VMM_WORK_DIR` is currently set from `data_dir`. This means the selected/validated WorkDir can be ignored and host disk-space validation may be checking the wrong directory.
            .log_to_file(true)
            .work_dir(&directories.data_dir)
            .temp_dir(&directories.temp_dir);
**flowey/flowey_hvlite/src/pipelines/checkin_gates.rs:1678**
* The PR description says VMM.Perf is enabled only in the GitHub CI `x64-linux-amd-kvm` job for now, but this job configuration also enables it for `x64-linux-intel-mshv` via `pr_vmm_perf_filter`/`pr_vmm_perf_artifacts`. If this should stay kvm-only, exclude `binary(vmm_perf)` and don’t add the runtime artifact for the mshv job.
            nextest_filter_expr: pr_vmm_perf_filter(format!(
                "{standard_filter} & !test(pcat_x64)"
            )),
            test_artifacts: pr_vmm_perf_artifacts(standard_x64_test_artifacts.clone()),
</details>

}

fn prepare(request: VirtualClientRunRequest<'a>) -> anyhow::Result<Self> {
let mut custom_parameters = request.config.parameters;
@github-actions

Copy link
Copy Markdown

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ec48d4d4-a0ec-4ddb-958e-e2646e09f96d
@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants