mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
bb38e4e599
Cloud Hypovrisor supports legacy serial device and virito console device for VMs. Using legacy serial device, CH can capture full VM console logs, but its implementation is based on KVM PIO emulation and has poor performance. Using the virtio console device, the VM console logs will be sent to CH through the virtio ring, the performance is better, but CH will only capture the VM console logs after the virtio console device is initialized, the VM early startup logs will be discarded. This patch provides a way to enable both the legacy serial device and the virtio console device as a TTY mode by setting the leagcy serial port as the VM's early printk device and setting the virtio console as the VM's main console device. Then CH can capture early boot logs from the legacy serial device and capture later logs from the virito console device with better performance. Signed-off-by: Yong He <alexyonghe@tencent.com> |
||
---|---|---|
.. | ||
api | ||
acpi.rs | ||
clone3.rs | ||
config.rs | ||
coredump.rs | ||
cpu.rs | ||
device_manager.rs | ||
device_tree.rs | ||
gdb.rs | ||
interrupt.rs | ||
lib.rs | ||
memory_manager.rs | ||
migration.rs | ||
pci_segment.rs | ||
seccomp_filters.rs | ||
serial_manager.rs | ||
sigwinch_listener.rs | ||
vm_config.rs | ||
vm.rs |