pci: don't use bus number in migration, stub out
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 14 Dec 2010 12:24:53 +0000 (14:24 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 19 Dec 2010 12:06:17 +0000 (14:06 +0200)
commit227848571dd644ef575d6c9a4f31776d5978262a
tree0576efda5752fe9b5865cdf45ee93a95e13af28c
parent4be0359fe41f244a1995698e2dd7010f1d3f6f5e
pci: don't use bus number in migration, stub out

Using bus numbers in migration is clearly wrong as
they are guest assigned. Not really sure what the
right thing to do is, for now stick 0 in there so things
keep working for non-nested setups, add a TODO.

We also probably have to mark nested bridges as non-migrateable
until this is fixed?

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
hw/pci.c