(#21604) Detect xen virtual fact on windows
(maint) Refactor windows virtual fact for readability
Merge branch 'pull-495'

This fixes GH-495