Move serial console to a QEMU tab and put QEMU console on stdio

This commit is contained in:
pjht 2024-09-16 13:53:23 -05:00
parent 18dd14d030
commit eb6cb8e22a
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -9,7 +9,9 @@ fn main() {
cmd.arg("--machine")
.arg("type=q35,accel=kvm,sata=false,smbus=false");
cmd.arg("-bios").arg(ovmf_prebuilt::ovmf_pure_efi());
cmd.arg("-serial").arg("mon:stdio");
cmd.arg("-serial").arg("vc");
cmd.arg("-monitor").arg("stdio");
//cmd.arg("-serial").arg("mon:stdio");
cmd.arg("-serial").arg("file:capture.pcapng");
cmd.arg("-device").arg("ahci,id=ahci");
cmd.arg("-device").arg("VGA");