mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Remove the acpi bool parameter and internal guest and kernel setup from _test_power_button. The function now accepts a Guest reference and uses default_kernel_cmdline() instead of hardcoded kernel paths. Update test_power_button in common_parallel to create a regular guest via GuestFactory. Update test_power_button_acpi in aarch64_acpi to use with_kernel_path(edk2_path()) for ACPI firmware support. Add with_kernel_path() builder method on Guest in test_infra to allow overriding the kernel path after guest creation. Signed-off-by: Muminul Islam <muislam@microsoft.com>