2020-07-17 09:16:44 +08:00
|
|
|
/*
|
2022-04-05 18:59:24 +08:00
|
|
|
* Copyright (C) 2020 Intel Corporation.
|
2020-07-17 09:16:44 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
#include <hv_prebuild.h>
|
|
|
|
|
|
|
|
int32_t main(void)
|
|
|
|
{
|
|
|
|
int32_t ret = 0;
|
|
|
|
|
|
|
|
if (!sanitize_vm_config()) {
|
|
|
|
printf("VM configuration check fail!\n");
|
|
|
|
ret = -1;
|
|
|
|
} else {
|
|
|
|
printf("VM configuration check pass!\n");
|
|
|
|
ret = 0;
|
|
|
|
}
|
|
|
|
return ret;
|
|
|
|
}
|