(#21604) Detect xen virtual fact on windows
(maint) Refactor windows virtual fact for readability