mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
qapi: Separate type QNull from QObject
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
df95f1a298
commit
006ca09f30
7 changed files with 28 additions and 22 deletions
|
@ -2442,7 +2442,7 @@ static QDict *x86_cpu_static_props(void)
|
|||
|
||||
d = qdict_new();
|
||||
for (i = 0; props[i]; i++) {
|
||||
qdict_put_obj(d, props[i], qnull());
|
||||
qdict_put(d, props[i], qnull());
|
||||
}
|
||||
|
||||
for (w = 0; w < FEATURE_WORDS; w++) {
|
||||
|
@ -2452,7 +2452,7 @@ static QDict *x86_cpu_static_props(void)
|
|||
if (!fi->feat_names[bit]) {
|
||||
continue;
|
||||
}
|
||||
qdict_put_obj(d, fi->feat_names[bit], qnull());
|
||||
qdict_put(d, fi->feat_names[bit], qnull());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue