kernel-fxtec-pro1x/virt/kvm
Sheng Yang 6eb55818c0 KVM: Enable Function Level Reset for assigned device
Ideally, every assigned device should in a clear condition before and after
assignment, so that the former state of device won't affect later work.
Some devices provide a mechanism named Function Level Reset, which is
defined in PCI/PCI-e document. We should execute it before and after device
assignment.

(But sadly, the feature is new, and most device on the market now don't
support it. We are considering using D0/D3hot transmit to emulate it later,
but not that elegant and reliable as FLR itself.)

[Update: Reminded by Xiantao, execute FLR after we ensure that the device can
be assigned to the guest.]

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-12-31 16:51:49 +02:00
..
coalesced_mmio.c KVM: Add coalesced MMIO support (common part) 2008-07-20 12:42:31 +03:00
coalesced_mmio.h KVM: Add coalesced MMIO support (common part) 2008-07-20 12:42:31 +03:00
ioapic.c KVM: Kick NMI receiving VCPU 2008-12-31 16:51:42 +02:00
ioapic.h KVM: Move irqchip_in_kernel() from ioapic.h to irq.h 2008-10-15 14:25:36 +02:00
iodev.h KVM: kvm_io_device: extend in_range() to manage len and write attribute 2008-07-20 12:42:30 +03:00
irq_comm.c KVM: IRQ ACK notifier should be used with in-kernel irqchip 2008-12-31 16:51:47 +02:00
kvm_main.c KVM: Enable Function Level Reset for assigned device 2008-12-31 16:51:49 +02:00
kvm_trace.c KVM: kvmtrace: replace get_cycles with ktime_get v3 2008-10-15 10:15:15 +02:00
vtd.c KVM: Device Assignment: Move vtd.c from arch/x86/kvm/ to virt/kvm/ 2008-10-15 14:25:32 +02:00