cleanup of IPConfig2/Http Protocol PR

This commit is contained in:
Philipp Schuster
2025-04-19 12:06:41 +02:00
parent 2e1df6a1a8
commit 3b664361ab
2 changed files with 9 additions and 14 deletions
+1
View File
@@ -6,3 +6,4 @@
# Integration test output by QEMU.
integration-test-debugcon.log
ovmf-firmware-debugcon.log
+8 -14
View File
@@ -332,12 +332,6 @@ pub fn run_qemu(arch: UefiArch, opt: &QemuOpt) -> Result<()> {
cmd.args(["-device", "virtio-rng-pci"]);
if arch == UefiArch::IA32 || arch == UefiArch::X86_64 {
cmd.args(["-debugcon", "file:./integration-test-debugcon.log"]);
cmd.args(["-chardev", "file,id=fw,path=./ovmf-firmware-debugcon.log"]);
cmd.args(["-device", "isa-debugcon,chardev=fw,iobase=0x402"]);
}
// Set the boot menu timeout to zero. On aarch64 in particular this speeds
// up the boot a lot. Note that we have to enable the menu here even though
// we are skipping right past it, otherwise `splash-time` is ignored in
@@ -394,14 +388,14 @@ pub fn run_qemu(arch: UefiArch, opt: &QemuOpt) -> Result<()> {
// Map the QEMU exit signal to port f4.
cmd.args(["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04"]);
// OVMF debug builds can output information to a serial `debugcon`.
// Only enable when debugging UEFI boot.
// cmd.args([
// "-debugcon",
// "file:debug.log",
// "-global",
// "isa-debugcon.iobase=0x402",
// ]);
// We also add a debugcon logger next to the serial one, as
// it simplifies debugging in some cases.
cmd.args(["-debugcon", "file:./integration-test-debugcon.log"]);
// Debugging messages from the OVMF firmware.
// More info: https://github.com/tianocore/edk2/blob/62390a89c5eb477594b74b5e1911d65998a8abe2/OvmfPkg/README#L90
cmd.args(["-chardev", "file,id=fw,path=./ovmf-firmware-debugcon.log"]);
cmd.args(["-device", "isa-debugcon,chardev=fw,iobase=0x402"]);
}
}