summaryrefslogtreecommitdiffstats
path: root/hw/virtio-serial-bus.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2011-03-19 18:28:19 +0100
committerMichael S. Tsirkin2011-03-28 18:34:23 +0200
commit89c473fd82daf7dddad8162a683bcd0ef671ecda (patch)
tree0f45eeb0e9a37a2413d7ae960240f21cc19482a5 /hw/virtio-serial-bus.c
parentpci: use uint8_t for devfn_min (diff)
downloadqemu-89c473fd82daf7dddad8162a683bcd0ef671ecda.tar.gz
qemu-89c473fd82daf7dddad8162a683bcd0ef671ecda.tar.xz
qemu-89c473fd82daf7dddad8162a683bcd0ef671ecda.zip
virtio-pci: fix bus master work around on load
Commit c81131db15dd1844d0db1d51f3cd7a105cfd2cf3 detects old guests by comparing virtio and PCI status. It attempts to do this on load, as well, but load_config callback in a binding is invoked too early and so the virtio status isn't set yet. We could add yet another callback to the binding, to invoke after load, but it seems easier to reuse the existing vmstate callback. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Cc: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/virtio-serial-bus.c')
0 files changed, 0 insertions, 0 deletions