summary refs log tree commit diff stats
path: root/hw/cuda.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cuda.c')
-rw-r--r--hw/cuda.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/cuda.c b/hw/cuda.c
index 7312bbddc9..9a05aebb5f 100644
--- a/hw/cuda.c
+++ b/hw/cuda.c
@@ -557,6 +557,12 @@ static void cuda_receive_packet(CUDAState *s,
         cuda_send_packet_to_host(s, obuf, 2);
 	qemu_system_shutdown_request();
 	break;
+    case CUDA_RESET_SYSTEM:
+        obuf[0] = CUDA_PACKET;
+        obuf[1] = 0;
+        cuda_send_packet_to_host(s, obuf, 2);
+        qemu_system_reset_request();
+        break;
     default:
         break;
     }