mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 06:51:15 +00:00
The integration test validating that --serial off works correctly was not properly written as it was using the FW, which by default would use the kernel command line found in the EFI partition. Unfortunately, this kernel command line was including "console=ttyS0", which causes the kernel to try to write to the serial port, even if there's no serial port being emulated. The problem is, when no emulation of the serial port is provided, the default value returned on 0x3f8 is 0, which makes the guest kernel think that some data needs to be read. The only way to avoid all this is by ensuring we can control the kernel command line by removing any occurence of "console=ttyS0" from it. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
integration.rs |