mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
tools:acrn-crashlog: request resources of SOS in crashlog
Dispatch the new event id and log directory in one place. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <xiaojing.liu@intel.com> Acked-by: Chen, Gang <gang.c.chen@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
901ce53971
commit
728a480693
@@ -72,6 +72,8 @@ int vmrecord_mark(struct vmrecord_t *vmrecord, const char *vmkey,
|
||||
memcpy(tag, VMRECORD_TAG_WAITING_SYNC, VMRECORD_TAG_LEN);
|
||||
else if (type == ON_GOING)
|
||||
memcpy(tag, VMRECORD_TAG_ON_GOING, VMRECORD_TAG_LEN);
|
||||
else if (type == NO_RESRC)
|
||||
memcpy(tag, VMRECORD_TAG_NO_RESOURCE, VMRECORD_TAG_LEN);
|
||||
else
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user