Skip to content

SNP Integration Test: Improve Clarity #1621

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

Merged
merged 11 commits into from
Jun 2, 2025
Next Next commit
xtask: explicitly set MAC address of QEMU net device
This helps to identify the network interface in integration tests.
  • Loading branch information
phip1611 committed May 31, 2025
commit 0a90b89cc0bed1f2f63239ec3ac2d967552928f8
3 changes: 2 additions & 1 deletion xtask/src/qemu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@ pub fn run_qemu(arch: UefiArch, opt: &QemuOpt) -> Result<()> {
"-netdev",
"user,id=net0,net=192.168.17.0/24,tftp=uefi-test-runner/tftp/,bootfile=fake-boot-file",
"-device",
"virtio-net-pci,netdev=net0",
// Some integration tests depend on this specific MAC.
"virtio-net-pci,netdev=net0,mac=52:54:00:00:00:01",
]);
Some(net::EchoService::start())
} else {
Expand Down