There are ways to detect this in a VM, yes. It is my understanding that Windows looks at the video card driver. lspci should give enough info for this. Eg with the 'vmvga' and 'cirrus' kvm drivers (there are others that can be added):
$ lspci | grep VGA
00:02.0 VGA compatible controller: VMware SVGA II Adapter
There are ways to detect this in a VM, yes. It is my understanding that Windows looks at the video card driver. lspci should give enough info for this. Eg with the 'vmvga' and 'cirrus' kvm drivers (there are others that can be added):
$ lspci | grep VGA
00:02.0 VGA compatible controller: VMware SVGA II Adapter
$ lspci | grep VGA
00:02.0 VGA compatible controller: Cirrus Logic GD 5446