summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMarkus Armbruster2017-06-26 13:52:24 +0200
committerMarkus Armbruster2017-07-24 13:35:11 +0200
commit006ca09f3027d86346fce707e9295975c6558f42 (patch)
tree1c06825264666d09ea76e3e4e2673fc089027b65 /target
parentMerge remote-tracking branch 'remotes/sstabellini/tags/xen-20170721-tag' into... (diff)
downloadqemu-006ca09f3027d86346fce707e9295975c6558f42.tar.gz
qemu-006ca09f3027d86346fce707e9295975c6558f42.tar.xz
qemu-006ca09f3027d86346fce707e9295975c6558f42.zip
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>
Diffstat (limited to 'target')
-rw-r--r--target/i386/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 0bbda76323..89f5fb7a3f 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -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());
}
}