diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-02 17:12:19 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-07 13:52:41 +0100 |
| commit | b403298adb54ca683b895ebddd412dcb092cb780 (patch) | |
| tree | 546444904ff3f774b1cd0968e4a900e6098aeefc /hw/qdev.c | |
| parent | e39e5d60c9a65f36946454ddf8c9be9c582ffef8 (diff) | |
| download | focaccia-qemu-b403298adb54ca683b895ebddd412dcb092cb780.tar.gz focaccia-qemu-b403298adb54ca683b895ebddd412dcb092cb780.zip | |
qdev: make the non-legacy pci address property accept an integer
PCI addresses are set with qdev_prop_uint32. Thus we make the QOM property accept a device and function encoded in an 8-bit integer, instead of the magic dd.f hex string. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions