Avoid Linux to stay stucked in an infinite loop when requesting a reboot.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3187 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
caa4039ced
commit
0686970f81
|
@ -557,6 +557,12 @@ static void cuda_receive_packet(CUDAState *s,
|
||||||
cuda_send_packet_to_host(s, obuf, 2);
|
cuda_send_packet_to_host(s, obuf, 2);
|
||||||
qemu_system_shutdown_request();
|
qemu_system_shutdown_request();
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue