Hi,
I dabbled in KMDF during my days at Razer, but I have not done any development recently.
I highly recommend not using instead of a virtual machine, use a separate computer connected with your development computer. Although in theory, the virtual machine should be convenient, hardware connections may get screwed. At this point, I am assuming you are writing a driver or a filter driver, and not a service.
Regards,
Safi