Hi Matt,
Based on the history of the changes, I can tell that Windows 2012 R2 should work just fine even on 5.1.0 GA. Of course, it's best to use the latest available 5.1.x version.
Note that there is no separate guest OS ID for it, so the VM should be set as Windows 2012.
Best Regards,
Andrii