-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use qemu's virtconsole for the serial console
edk2 now has a virtio serial driver so let's switch to virtconsole for the serial console as it's significantly faster compared to the old ISA serial console.
- Loading branch information
1 parent
5279498
commit c236c9f
Showing
5 changed files
with
10 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -323,14 +323,10 @@ def configure_autologin(context: Context) -> None: | |
"--noclear --keep-baud console 115200,38400,9600") | ||
configure_autologin_service(context, "[email protected]", | ||
"--noclear -") | ||
configure_autologin_service(context, "[email protected]", | ||
configure_autologin_service(context, | ||
"[email protected]", | ||
"--keep-baud 115200,57600,38400,9600 -") | ||
|
||
if context.config.architecture.default_serial_tty() != "ttyS0": | ||
configure_autologin_service(context, | ||
f"serial-getty@{context.config.architecture.default_serial_tty()}.service", | ||
"--keep-baud 115200,57600,38400,9600 -") | ||
|
||
|
||
@contextlib.contextmanager | ||
def mount_cache_overlay(context: Context, cached: bool) -> Iterator[None]: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters