mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
HV: return bool in sanitize_vm_config
Return true if vm configs is sanitized successfully, otherwise return false; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
6071234337
commit
cb10dc7e73
@@ -198,7 +198,7 @@ void init_cpu_post(uint16_t pcpu_id)
|
||||
panic("hardware not support!");
|
||||
}
|
||||
|
||||
if (sanitize_vm_config() != 0) {
|
||||
if (!sanitize_vm_config()) {
|
||||
panic("VM Configuration Error!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user