Skip to content
Snippets Groups Projects
Commit 89c473fd authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio-pci: fix bus master work around on load


Commit c81131db
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: default avatarMichael S. Tsirkin <mst@redhat.com>
Cc: Alexander Graf <agraf@suse.de>
parent 6f3279b5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment