tandasat / MiniVisorPkg

The research UEFI hypervisor that supports booting an operating system.
https://standa-note.blogspot.com/2020/03/introduction-and-design-considerations.html
MIT License
556 stars 88 forks source link

Serial logs not being printed #9

Closed SoftCrush closed 3 years ago

SoftCrush commented 3 years ago

Hi,

I'm trying to build MiniVisor with serial logging enabled but I can't get anything to print. I've followed your serial logging documentation and everything works and is exactly as displayed in your picture except nothing is being printed to PuTTY.

I'm using VMware Workstation 16 Pro.

Any ideas? Thanks.

tandasat commented 3 years ago

Do you happen to configure serial connection with the port 2? Please check if the serial device for logging is in the first port (COM0) from the VMX file.

serial0.fileType = ...
serial0.fileName = ...
serial0.present = "TRUE"
SoftCrush commented 3 years ago

Seems like this was the issue. By default VMware would configure the first serial port to connect to a printer. Replacing this with the serial port I added fixed this. Thanks!