<commit_before>static bool openvz_check(void)
{
	if (!access("/proc/vz/aquota", R_OK))
		return true;

	return false;
}

static struct test_impl openvz_impl = {
	.hv_name = "OpenVZ",
	.check = openvz_check,
};<commit_msg>openvz-detect: improve detection<commit_after>static bool openvz_check(void)
{
	if (!access("/proc/vz/vzaquota", R_OK))
		return true;

	if (!access("/proc/user_beancounters", R_OK))
		return true;

	return false;
}

static struct test_impl openvz_impl = {
	.hv_name = "OpenVZ",
	.check = openvz_check,
};
{'fraction_non_alphanumeric': 0.14638783269961977, 'fraction_numerical': 0.0, 'mean_word_length': 4.921348314606742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '865284', 'n_tokens_mistral': 219, 'n_tokens_neox': 213, 'n_words': 43}