File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed
tests/integration_tests/functional Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ and this project adheres to
2121
2222### Fixed
2323
24+ - #\[ [ 5074] ( https://github.com/firecracker-microvm/firecracker/pull/5074 ) \] Fix
25+ the ` SendCtrlAltDel ` command not working for ACPI-enabled guest kernels, by
26+ dropping the i8042.nopnp argument from the default kernel command line
27+ Firecracker constructs.
28+
2429## [ 1.11.0]
2530
2631### Added
Original file line number Diff line number Diff line change @@ -14,10 +14,9 @@ use serde::{Deserialize, Serialize};
1414/// - `8250.nr_uarts=0` disable 8250 serial interface;
1515/// - `i8042.noaux` do not probe the i8042 controller for an attached mouse (save boot time);
1616/// - `i8042.nomux` do not probe i8042 for a multiplexing controller (save boot time);
17- /// - `i8042.nopnp` do not use ACPIPnP to discover KBD/AUX controllers (save boot time);
1817/// - `i8042.dumbkbd` do not attempt to control kbd state via the i8042 (save boot time).
19- pub const DEFAULT_KERNEL_CMDLINE : & str = "reboot=k panic=1 pci=off nomodule 8250.nr_uarts=0 \
20- i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd";
18+ pub const DEFAULT_KERNEL_CMDLINE : & str =
19+ "reboot=k panic=1 pci=off nomodule 8250.nr_uarts=0 i8042.noaux i8042.nomux i8042.dumbkbd";
2120
2221/// Strongly typed data structure used to configure the boot source of the
2322/// microvm.
Original file line number Diff line number Diff line change @@ -767,24 +767,14 @@ def test_send_ctrl_alt_del(uvm_plain_any):
767767 test_microvm .spawn ()
768768
769769 test_microvm .basic_config ()
770+ test_microvm .add_net_iface ()
770771 test_microvm .start ()
771772
772- # Wait around for the guest to boot up and initialize the user space
773- time .sleep (2 )
774-
775773 test_microvm .api .actions .put (action_type = "SendCtrlAltDel" )
776774
777- firecracker_pid = test_microvm .firecracker_pid
778-
779775 # If everything goes as expected, the guest OS will issue a reboot,
780776 # causing Firecracker to exit.
781- # waitpid should block until the Firecracker process has exited. If
782- # it has already exited by the time we call waitpid, WNOHANG causes
783- # waitpid to raise a ChildProcessError exception.
784- try :
785- os .waitpid (firecracker_pid , os .WNOHANG )
786- except ChildProcessError :
787- pass
777+ test_microvm .mark_killed ()
788778
789779
790780def _drive_patch (test_microvm , io_engine ):
You can’t perform that action at this time.
0 commit comments