I am learning the Kernel mode. If I run the below assembly sequence in the kernel mode of my Windows 7 x64 bit machine running in the VMWare Workstation virtual machine:
xor eax, eax
mov ax, gs
mov gs, ax ; this line
Then that last line
mov gs, ax instruction immediately causes my VM to crash with the below shown pop-up message:
A fault has occurred causing a virtual CPU to enter the shutdown state. If this fault had occurred outside of a virtual machine, it would have caused the physical machine to restart. The shutdown state can be reached by incorrectly configuring the virtual machine, a bug in the guest operating system, or a problem in VMWare Workstation.
How to fix this issue?