]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: Save/restore state of assigned PCI device
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 16 Nov 2010 21:30:05 +0000 (22:30 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:22 +0000 (11:29 +0200)
commited78661f2614d3c9f69c23e280db3bafdabdf5bb
tree7344bdb2ae1ca07dcb2c4bf76e4618c1c65d47a9
parent1e001d49f9f9a0e3eb72939ad49d9a2c7754e9c1
KVM: Save/restore state of assigned PCI device

The guest may change states that pci_reset_function does not touch. So
we better save/restore the assigned device across guest usage.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/assigned-dev.c