[PATCH 1/5] KVM: selftests: Factor code out of demand_paging_test