TIL: macOS Serial Console Login

When using Virtualization.framework to virtualize macOS VMs, I occasionally have no use for the GUI, and even get frustrated at the slowness (especially when scrolling in Terminal.app). Since Virtualization.framework supports adding a VirtIO serial device, I decided to try doing that, but when I booted the VM, nothing showed up. After some searching, I found that I needed to modify /etc/gettytab and add a file to LaunchDaemons to start a getty on the serial console from this answer....