firecracker: SendCtrAltDel command line cannot close VMs.

I’m found an issues after use command call API SendCtrAltDel on server. Currently instance use Linux version.

Linux firework-vm01 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux

Linux run under the VMWare ESXi version 6.5. This is log from console.

$sudo curl --unix-socket /tmp/firecracker.socket -i \
>     -X PUT "http://localhost/actions" \
>     -H  "accept: application/json" \
>     -H  "Content-Type: application/json" \
>     -d "{
>              \"action_type\": \"SendCtrlAltDel\"
>     }"
HTTP/1.1 204 No Content
Date: Tue, 14 May 2019 12:16:55 GMT

Console prints result as below.

2019-05-14T05:16:55.790607760 [anonymous-instance:WARN:devices/src/legacy/i8042.rs:146] Failed to trigger i8042 kbd interrupt (disabled by guest OS)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

@mhhajeer SendCtrlAltDel works by sending keyboard events (i.e. key presses) to the guest. Keyboard events in the guest are handled by the keyboard driver. That means you need a guest kernel with the i8042 and atkbd drivers. One such kernel is used by our integration tests.

Check out the docs section for more details.