console=hvc0 casuses linux vm boot freeze with apple virtualization framework
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
Ubuntu vm with apple virtualization is freezed upon booting if console=hvc0 kernel parameter is set.
**Configuration**
* UTM Version: 4.16, 4.2.2
* macOS Version: Ventura 13.2.1
* Mac Chip (Intel, M1, ...): Apple M1 Pro
Steps to reproduce:
* Create a ubuntu vm with apple virtulization option.
* Add pseudo tty device.
* Change the line in /etc/grub/default as GRUB_CMDLINE_LINUX="console=tty0 console=hvc0" && update-grub
* Power off the vm
* Power on the vm. Now boot is freezed right after grub (show grub menu and change default timeout to 5 secs to observe)
* Connect ttysx (ie with screen /dev/ttysx)
* Boot is resumed.
Rebooting the vm does not reproduce the issue. Vm does not freeze to boot. However powering off and powering ON with UTM triggers the issue.
Contributor guide
Assessment
This issue has not been assessed yet.