Commit ff56002 ("kvm tools: Use the Gitish freamwork to run the virtual machine") broken SysRq-P support in the hypervisor. Fix that up. Cc: Asias He <asias.hejun@xxxxxxxxx> Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Prasad Joshi <prasadjoshi124@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/kvm-run.c | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/tools/kvm/kvm-run.c b/tools/kvm/kvm-run.c index 5670b1d..189d629 100644 --- a/tools/kvm/kvm-run.c +++ b/tools/kvm/kvm-run.c @@ -42,14 +42,7 @@ static void handle_sigint(int sig) static void handle_sigquit(int sig) { - kvm_cpu__show_registers(current_cpu); - kvm_cpu__show_code(current_cpu); - kvm_cpu__show_page_tables(current_cpu); - - kvm_cpu__delete(current_cpu); - kvm__delete(kvm); - - exit(1); + serial8250__inject_sysrq(kvm); } static void handle_sigalrm(int sig) -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html