diff options
author | Fam Zheng <famz@redhat.com> | 2017-07-14 10:15:08 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 12:04:43 +0200 |
commit | c7e002c55acd82c8b7f512d52fe3fb6f94c1939e (patch) | |
tree | ed40a2500b184c241905bc84603e7aaa7a8c141e /qom | |
parent | e4934bb39c76bd86cccae384f2b5ef414d6f2dcb (diff) |
cpu: Convert to DEFINE_PROP_LINK
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-20-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qom')
-rw-r--r-- | qom/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -458,6 +458,7 @@ static void cpu_class_init(ObjectClass *klass, void *data) set_bit(DEVICE_CATEGORY_CPU, dc->categories); dc->realize = cpu_common_realizefn; dc->unrealize = cpu_common_unrealizefn; + dc->props = cpu_common_props; /* * Reason: CPUs still need special care by board code: wiring up * IRQs, adding reset handlers, halting non-first CPUs, ... |