mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-22 01:21:53 -06:00
char: rename CharDriverState Chardev
Pick a uniform chardev type name. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d5cafc733d
commit
0ec7b3e7f2
80 changed files with 727 additions and 724 deletions
|
@ -179,7 +179,7 @@ static void set_chr(Object *obj, Visitor *v, const char *name, void *opaque,
|
|||
Error *local_err = NULL;
|
||||
Property *prop = opaque;
|
||||
CharBackend *be = qdev_get_prop_ptr(dev, prop);
|
||||
CharDriverState *s;
|
||||
Chardev *s;
|
||||
char *str;
|
||||
|
||||
if (dev->realized) {
|
||||
|
@ -411,7 +411,7 @@ void qdev_prop_set_drive(DeviceState *dev, const char *name,
|
|||
}
|
||||
|
||||
void qdev_prop_set_chr(DeviceState *dev, const char *name,
|
||||
CharDriverState *value)
|
||||
Chardev *value)
|
||||
{
|
||||
assert(!value || value->label);
|
||||
object_property_set_str(OBJECT(dev),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue