aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/xen/xen_pvdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/xen/xen_pvdevice.c')
-rw-r--r--hw/i386/xen/xen_pvdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/xen/xen_pvdevice.c b/hw/i386/xen/xen_pvdevice.c
index 27f646da06..ee2610c7a0 100644
--- a/hw/i386/xen/xen_pvdevice.c
+++ b/hw/i386/xen/xen_pvdevice.c
@@ -131,7 +131,7 @@ static void xen_pv_class_init(ObjectClass *klass, void *data)
k->realize = xen_pv_realize;
k->class_id = PCI_CLASS_SYSTEM_OTHER;
dc->desc = "Xen PV Device";
- dc->props = xen_pv_props;
+ device_class_set_props(dc, xen_pv_props);
dc->vmsd = &vmstate_xen_pvdevice;
}