mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-26 11:14:03 +00:00
dm: replace UUID with vmname.
The UUID has several usages before: 1, For HV to identify the static VM configuration of post-launched VM. 2, Seed virtualization. 3, Slightly prevent launching malicous VM from SOS as lack of secure boot. The UUID is confused to user, user don't understand what it is. And user don't know where to get/apply the UUID. The worst experience is user can't launch any VMs w/o re-compile the hv. Everything needs to be static decided in building phase. Now we decide to remove UUID and split each usage. For 1st usage, use vmname as the identifier of static VM configuration. For 2nd one, we will use --vseed as the new parameter. For 3rd one, will pretect by SOS's dm-verity. This patch will remove the UUID parameter and support 1st&3rd usages from DM part. For 2nd usage, another patch will be submitted later. Tracked-On: #6685 Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
@@ -32,11 +32,9 @@
|
||||
#include <stdbool.h>
|
||||
#include "types.h"
|
||||
#include "dm_string.h"
|
||||
|
||||
#define MAX_VMNAME_LEN 128U
|
||||
#include "acrn_common.h"
|
||||
|
||||
struct vmctx;
|
||||
extern char *guest_uuid_str;
|
||||
extern uint8_t trusty_enabled;
|
||||
extern char *vsbl_file_name;
|
||||
extern char *ovmf_file_name;
|
||||
|
Reference in New Issue
Block a user