diff options
author | qi zhou <atmgnd@outlook.com> | 2023-02-14 04:19:34 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2023-02-14 11:05:13 +0000 |
commit | 459536ecb9b2df9656277b9bbd8b155b04b6ed01 (patch) | |
tree | 178e207c66657330dd1bac66892370c162c193ca | |
parent | 64a9d73b103d19ecee43963a9d66cce311b95c21 (diff) |
In Windows guest, if we trigger a bluescreen, Windows will reset GPU to VGA
mode, otherwise the bluescreen will not shown.
Signed-off-by: Qi Zhou <atmgnd@outlook.com>
-rwxr-xr-x | qxldod/QxlDod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index f498115..25b9af6 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -3869,7 +3869,7 @@ void QxlDevice::ResetDevice(void) {
DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
m_RamHdr->int_mask = ~0;
- WRITE_PORT_UCHAR(m_IoBase + QXL_IO_MEMSLOT_ADD, 0);
+ WRITE_PORT_UCHAR(m_IoBase + QXL_IO_RESET, 0);
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
}
|