From e0af402c1653b91f61a7c55678cc376d7b33e22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 9 Mar 2017 02:06:11 +0100 Subject: [PATCH] tools/qvm-kill: don't use deprecated force_shutdown method QubesOS/qubes-issues#853 --- qubesmgmt/tools/qvm_kill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmgmt/tools/qvm_kill.py b/qubesmgmt/tools/qvm_kill.py index 7a8d895..d62076e 100644 --- a/qubesmgmt/tools/qvm_kill.py +++ b/qubesmgmt/tools/qvm_kill.py @@ -41,7 +41,7 @@ def main(args=None, app=None): exit_code = 0 for domain in args.domains: try: - domain.force_shutdown() + domain.kill() except (IOError, OSError, qubesmgmt.exc.QubesException) as e: exit_code = 1 parser.print_error(str(e))