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