diff options
author | Avi Kivity <avi@qumranet.com> | 2008-05-13 10:23:38 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-20 09:41:43 (GMT) |
commit | 4ecac3fd6dc2629ad76a658a486f081c44aef10e (patch) | |
tree | a078acb4c626432ac8cf887b911d912f4a316d06 /arch/mn10300/oprofile | |
parent | 1b7fcd3263e5f12dba43d27b64e1578bec070c28 (diff) | |
download | linux-4ecac3fd6dc2629ad76a658a486f081c44aef10e.tar.xz |
KVM: Handle virtualization instruction #UD faults during reboot
KVM turns off hardware virtualization extensions during reboot, in order
to disassociate the memory used by the virtualization extensions from the
processor, and in order to have the system in a consistent state.
Unfortunately virtual machines may still be running while this goes on,
and once virtualization extensions are turned off, any virtulization
instruction will #UD on execution.
Fix by adding an exception handler to virtualization instructions; if we get
an exception during reboot, we simply spin waiting for the reset to complete.
If it's a true exception, BUG() so we can have our stack trace.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/mn10300/oprofile')
0 files changed, 0 insertions, 0 deletions