[LTP] [PATCH v2 1/1] lib/tst_virt: support IBM/Z LPAR and z/VM virtualization environments
Alexander Egorenkov
egorenar@linux.ibm.com
Mon Nov 9 16:13:45 CET 2020
Cyril Hrubis <chrubis@suse.cz> writes:
> Hi!
> Actually we can simplify the code like this:
>
> +static int is_ibmz(int virt_type)
> +{
> + FILE *sysinfo;
> + char line[64];
> + int found_lpar, found_zvm;
> +
> + if (virt_type != VIRT_IBMZ_LPAR && virt_type != VIRT_IBMZ_ZVM)
> + return 0;
Missed VIRT_IBMZ.
Otherwise is good.
Shall i create a new patch ?
Regards
Alex
More information about the ltp
mailing list