Expand description
A crate providing the qemu_print and qemu_println macros to print strings to the
console using QEMU’s serial port support.
§Usage
Add -serial stdio to the QEMU’s commandline parameters.
qemu-system-x86_64 -serial stdio /* other parameters... */Invoke macros like as print! and println!.
use qemu_print::qemu_println;
qemu_println!("This string will be printed to the console.");
let x = 3;
qemu_println!("x = {}", x);Macros§
- qemu_
print - Print a string to the console.
- qemu_
println - Print a string with newline to the console.