mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-19 14:31:16 +00:00
tests: Send systemd journal to console
This will aid debugging of test issues especially those for critical services during the boot. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
5881809126
commit
ba7864e111
@ -97,7 +97,8 @@ mod tests {
|
|||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
const FOCAL_IMAGE_NAME_QCOW2: &str = "focal-server-cloudimg-amd64-custom-20210106-1.qcow2";
|
const FOCAL_IMAGE_NAME_QCOW2: &str = "focal-server-cloudimg-amd64-custom-20210106-1.qcow2";
|
||||||
|
|
||||||
const DIRECT_KERNEL_BOOT_CMDLINE: &str = "root=/dev/vda1 console=hvc0 rw";
|
const DIRECT_KERNEL_BOOT_CMDLINE: &str =
|
||||||
|
"root=/dev/vda1 console=hvc0 rw systemd.journald.forward_to_console=1";
|
||||||
|
|
||||||
const PIPE_SIZE: i32 = 32 << 20;
|
const PIPE_SIZE: i32 = 32 << 20;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user