|
@@ -352,7 +352,7 @@ static void set_mac(Object *obj, Visitor *v, const char *name, void *opaque,
|
|
|
return;
|
|
|
|
|
|
inval:
|
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, dev, prop, str);
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
g_free(str);
|
|
|
}
|
|
|
|
|
@@ -440,7 +440,7 @@ static void set_netdev(Object *obj, Visitor *v, const char *name,
|
|
|
peers_ptr->queues = queues;
|
|
|
|
|
|
out:
|
|
|
- error_set_from_qdev_prop_error(errp, err, dev, prop, str);
|
|
|
+ error_set_from_qdev_prop_error(errp, err, obj, prop, str);
|
|
|
g_free(str);
|
|
|
}
|
|
|
|
|
@@ -492,7 +492,7 @@ static void set_audiodev(Object *obj, Visitor *v, const char* name,
|
|
|
card->state = state;
|
|
|
|
|
|
out:
|
|
|
- error_set_from_qdev_prop_error(errp, err, dev, prop, str);
|
|
|
+ error_set_from_qdev_prop_error(errp, err, obj, prop, str);
|
|
|
g_free(str);
|
|
|
}
|
|
|
|
|
@@ -790,7 +790,7 @@ static void set_pci_devfn(Object *obj, Visitor *v, const char *name,
|
|
|
return;
|
|
|
|
|
|
invalid:
|
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, dev, prop, str);
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
g_free(str);
|
|
|
}
|
|
|
|
|
@@ -914,7 +914,7 @@ static void set_pci_host_devaddr(Object *obj, Visitor *v, const char *name,
|
|
|
return;
|
|
|
|
|
|
inval:
|
|
|
- error_set_from_qdev_prop_error(errp, EINVAL, dev, prop, str);
|
|
|
+ error_set_from_qdev_prop_error(errp, EINVAL, obj, prop, str);
|
|
|
g_free(str);
|
|
|
}
|
|
|
|