summary refs log tree commit diff stats
path: root/hw/usb/dev-hub.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2015-04-21 16:36:55 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-05-08 10:36:02 +0200
commit1fa755234e24697cc76f326782edbb09bd0a3a53 (patch)
treedf89f5737993aeb9268dc60f9b0322e83b633493 /hw/usb/dev-hub.c
parent77ae0b2a6e731ab7b97e9fae401c579397edb31c (diff)
downloadfocaccia-qemu-1fa755234e24697cc76f326782edbb09bd0a3a53.tar.gz
focaccia-qemu-1fa755234e24697cc76f326782edbb09bd0a3a53.zip
virtio-ccw: change realization sequence
virtio-ccw has an odd sequence of realizing devices: first the
device-specific relization (net, block, ...), then the generic
realization. It feels less odd to have the generic realization
callback trigger the device-specific realization instead (and this
also matches what virtio-pci does).

One thing to note: We need to defer initializing the cu model in the
sense id data until after the device-specific realization has been
performed, as we need to refer to the virtio device's device_id.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-Id: <1429627016-30656-2-git-send-email-cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions