|
@@ -354,7 +354,7 @@ static void set_mac(Object *obj, Visitor *v, const char *name, void *opaque,
|
|
return;
|
|
return;
|
|
|
|
|
|
inval:
|
|
inval:
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, name, str);
|
|
g_free(str);
|
|
g_free(str);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -442,7 +442,7 @@ static void set_netdev(Object *obj, Visitor *v, const char *name,
|
|
peers_ptr->queues = queues;
|
|
peers_ptr->queues = queues;
|
|
|
|
|
|
out:
|
|
out:
|
|
- error_set_from_qdev_prop_error(errp, err, obj, prop, str);
|
|
|
|
|
|
+ error_set_from_qdev_prop_error(errp, err, obj, name, str);
|
|
g_free(str);
|
|
g_free(str);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -494,7 +494,7 @@ static void set_audiodev(Object *obj, Visitor *v, const char* name,
|
|
card->state = state;
|
|
card->state = state;
|
|
|
|
|
|
out:
|
|
out:
|
|
- error_set_from_qdev_prop_error(errp, err, obj, prop, str);
|
|
|
|
|
|
+ error_set_from_qdev_prop_error(errp, err, obj, name, str);
|
|
g_free(str);
|
|
g_free(str);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -792,7 +792,7 @@ static void set_pci_devfn(Object *obj, Visitor *v, const char *name,
|
|
return;
|
|
return;
|
|
|
|
|
|
invalid:
|
|
invalid:
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, name, str);
|
|
g_free(str);
|
|
g_free(str);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -916,7 +916,7 @@ static void set_pci_host_devaddr(Object *obj, Visitor *v, const char *name,
|
|
return;
|
|
return;
|
|
|
|
|
|
inval:
|
|
inval:
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, name, str);
|
|
g_free(str);
|
|
g_free(str);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1146,7 +1146,7 @@ static void set_uuid(Object *obj, Visitor *v, const char *name, void *opaque,
|
|
if (!strcmp(str, UUID_VALUE_AUTO)) {
|
|
if (!strcmp(str, UUID_VALUE_AUTO)) {
|
|
qemu_uuid_generate(uuid);
|
|
qemu_uuid_generate(uuid);
|
|
} else if (qemu_uuid_parse(str, uuid) < 0) {
|
|
} else if (qemu_uuid_parse(str, uuid) < 0) {
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, name, str);
|
|
}
|
|
}
|
|
g_free(str);
|
|
g_free(str);
|
|
}
|
|
}
|