diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-11-19 16:31:27 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-11-19 16:31:27 +0000 |
| commit | 06b43e082c6bdbd5b261b57d5c8e1fe5db6807a9 (patch) | |
| tree | 448b1ec00a472622d19df6903a3f22477a1ff5a1 /docs | |
| parent | 4b8be65ec5b42027b9b0587955643646d015f2ee (diff) | |
| parent | 7a3e29b12f5afe0106a5713bb4db6e23dc66ef91 (diff) | |
| download | focaccia-qemu-06b43e082c6bdbd5b261b57d5c8e1fe5db6807a9.tar.gz focaccia-qemu-06b43e082c6bdbd5b261b57d5c8e1fe5db6807a9.zip | |
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
* microvm docs and fixes (Sergio, Liam) * New processor features for Intel errata (myself, Pawan) * Kconfig fixes (myself, Thomas) * Revert mc146818rtc change (myself) * Deprecate scsi-disk (myself) * RTC fix (myself, Marcelo) # gpg: Signature made Tue 19 Nov 2019 09:03:49 GMT # gpg: using RSA key BFFBD25F78C7AE83 # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full] # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" [full] # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * remotes/bonzini/tags/for-upstream: mc146818rtc: fix timer interrupt reinjection again Revert "mc146818rtc: fix timer interrupt reinjection" scsi: deprecate scsi-disk hw/i386: Move save_tsc_khz from PCMachineClass to X86MachineClass docs/microvm.rst: add instructions for shutting down the guest docs/microvm.rst: fix alignment in "Limitations" vfio: vfio-pci requires EDID hw/i386: Fix compiler warning when CONFIG_IDE_ISA is disabled target/i386: Export TAA_NO bit to guests target/i386: add PSCHANGE_NO bit for the ARCH_CAPABILITIES MSR microvm: fix memory leak in microvm_fix_kernel_cmdline scripts: Detect git worktrees for get_maintainer.pl --git Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/microvm.rst | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/docs/microvm.rst b/docs/microvm.rst index aae811a922..fcf41fc1f6 100644 --- a/docs/microvm.rst +++ b/docs/microvm.rst @@ -33,9 +33,9 @@ Limitations Currently, microvm does *not* support the following features: - - PCI-only devices. - - Hotplug of any kind. - - Live migration across QEMU versions. +- PCI-only devices. +- Hotplug of any kind. +- Live migration across QEMU versions. Using the microvm machine type @@ -106,3 +106,24 @@ disabled:: -device virtio-blk-device,drive=test \ -netdev tap,id=tap0,script=no,downscript=no \ -device virtio-net-device,netdev=tap0 + + +Triggering a guest-initiated shut down +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +As the microvm machine type includes just a small set of system +devices, some x86 mechanisms for rebooting or shutting down the +system, like sending a key sequence to the keyboard or writing to an +ACPI register, doesn't have any effect in the VM. + +The recommended way to trigger a guest-initiated shut down is by +generating a ``triple-fault``, which will cause the VM to initiate a +reboot. Additionally, if the ``-no-reboot`` argument is present in the +command line, QEMU will detect this event and terminate its own +execution gracefully. + +Linux does support this mechanism, but by default will only be used +after other options have been tried and failed, causing the reboot to +be delayed by a small number of seconds. It's possible to instruct it +to try the triple-fault mechanism first, by adding ``reboot=t`` to the +kernel's command line. |