diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-07-15 13:59:22 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 08:39:29 -0500 |
commit | 05cb5fe442dd9574895427f8ea02aec73550b6db (patch) | |
tree | a87e65427c77f24a720bcf8ab806a48f14361e2d /hw/qdev.h | |
parent | 95747581341443e337cb0b485d96432bb414be8f (diff) |
qdev/prop: add pci devfn property
So we can parse "$slot.$fn" strings into devfn numbers.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r-- | hw/qdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ extern PropertyInfo qdev_prop_hex32; extern PropertyInfo qdev_prop_hex64; extern PropertyInfo qdev_prop_ptr; extern PropertyInfo qdev_prop_macaddr; +extern PropertyInfo qdev_prop_pci_devfn; /* Set properties between creation and init. */ void *qdev_get_prop_ptr(DeviceState *dev, Property *prop); |