Skip to content

Commit 0081e32

Browse files
committed
log ovmf firmware output
Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent 35e5ab7 commit 0081e32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xtask/src/qemu.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ pub fn run_qemu(arch: UefiArch, opt: &QemuOpt) -> Result<()> {
368368

369369
if arch == UefiArch::IA32 || arch == UefiArch::X86_64 {
370370
cmd.args(["-debugcon", "file:./integration-test-debugcon.log"]);
371+
cmd.args(["-chardev", "file,id=fw,path=./ovmf-firmware-debugcon.log"]);
372+
cmd.args(["-device", "isa-debugcon,chardev=fw,iobase=0x402"]);
371373
}
372374

373375
// Set the boot menu timeout to zero. On aarch64 in particular this speeds

0 commit comments

Comments
 (0)