aboutsummaryrefslogtreecommitdiff
path: root/check-qstring.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-02-09 09:53:32 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-02-22 08:31:24 +0100
commit768a9ebe188bd0a6172a9a4e64777d21fff7f014 (patch)
tree54ab3af677bc62835d7d5db7dd3e2f6465205552 /check-qstring.c
parentb2cd7dee86f27b6307b4bd411133bfb6ebc2be66 (diff)
qdev: accept both strings and integers for PCI addresses
Visitors allow a limited form of polymorphism. Exploit it to support setting the non-legacy PCI address property both as a DD.F string and as an 8-bit integer. The 8-bit integer form is just too clumsy, it is unlikely that we will ever drop it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'check-qstring.c')
0 files changed, 0 insertions, 0 deletions