mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qdev: Rename qdev_prop_check_global() to qdev_prop_check_globals()
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
08ac80cd61
commit
d828c430eb
4 changed files with 4 additions and 4 deletions
|
@ -955,7 +955,7 @@ void qdev_prop_register_global_list(GlobalProperty *props)
|
|||
}
|
||||
}
|
||||
|
||||
int qdev_prop_check_global(void)
|
||||
int qdev_prop_check_globals(void)
|
||||
{
|
||||
GlobalProperty *prop;
|
||||
int ret = 0;
|
||||
|
|
|
@ -177,7 +177,7 @@ void qdev_prop_set_ptr(DeviceState *dev, const char *name, void *value);
|
|||
|
||||
void qdev_prop_register_global(GlobalProperty *prop);
|
||||
void qdev_prop_register_global_list(GlobalProperty *props);
|
||||
int qdev_prop_check_global(void);
|
||||
int qdev_prop_check_globals(void);
|
||||
void qdev_prop_set_globals(DeviceState *dev, Error **errp);
|
||||
void qdev_prop_set_globals_for_type(DeviceState *dev, const char *typename,
|
||||
Error **errp);
|
||||
|
|
|
@ -224,7 +224,7 @@ static void test_dynamic_globalprop_subprocess(void)
|
|||
|
||||
g_assert_cmpuint(mt->prop1, ==, 101);
|
||||
g_assert_cmpuint(mt->prop2, ==, 102);
|
||||
all_used = qdev_prop_check_global();
|
||||
all_used = qdev_prop_check_globals();
|
||||
g_assert_cmpuint(all_used, ==, 1);
|
||||
g_assert(!props[0].not_used);
|
||||
g_assert(!props[1].not_used);
|
||||
|
|
2
vl.c
2
vl.c
|
@ -4541,7 +4541,7 @@ int main(int argc, char **argv, char **envp)
|
|||
}
|
||||
}
|
||||
|
||||
qdev_prop_check_global();
|
||||
qdev_prop_check_globals();
|
||||
if (vmstate_dump_file) {
|
||||
/* dump and exit */
|
||||
dump_vmstate_json_to_file(vmstate_dump_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue