Ensure evaluation of the virtual grain for Xen

Cherry-pick from #13536 to develop