diff options
| author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-04-21 16:36:56 +0200 |
|---|---|---|
| committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-05-08 10:36:02 +0200 |
| commit | fb846a094fdee7bb6a88b48aeed0d97a8080a20d (patch) | |
| tree | 7d1588aa40fae001b7f3521ac0b56d368b3ea1e1 /include/hw/qdev-core.h | |
| parent | 1fa755234e24697cc76f326782edbb09bd0a3a53 (diff) | |
| download | focaccia-qemu-fb846a094fdee7bb6a88b48aeed0d97a8080a20d.tar.gz focaccia-qemu-fb846a094fdee7bb6a88b48aeed0d97a8080a20d.zip | |
virtio-ccw: implement ->device_plugged
Let's move operations that are only valid after the backend has been realized to a ->device_plugged callback, just as virtio-pci does. Also reorder setting up the host feature bits to the sequence used by virtio-pci. While we're at it, also add a ->device_unplugged callback to stop ioeventfd, just to be on the safe side. Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Message-Id: <1429627016-30656-3-git-send-email-cornelia.huck@de.ibm.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions