Reset QXL to VGA mode
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>
This commit is contained in:
parent
64a9d73b10
commit
459536ecb9
@ -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__));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user