|
@@ -82,6 +82,8 @@ void add_boot_device_path(int32_t bootindex, DeviceState *dev,
|
|
|
|
|
|
assert(dev != NULL || suffix != NULL);
|
|
assert(dev != NULL || suffix != NULL);
|
|
|
|
|
|
|
|
+ del_boot_device_path(dev, suffix);
|
|
|
|
+
|
|
node = g_malloc0(sizeof(FWBootEntry));
|
|
node = g_malloc0(sizeof(FWBootEntry));
|
|
node->bootindex = bootindex;
|
|
node->bootindex = bootindex;
|
|
node->suffix = g_strdup(suffix);
|
|
node->suffix = g_strdup(suffix);
|