Daniel Godás wrote:
Hello,
if you compile the kernel with KVM activated and without PCI support
you get the following crash:
CC arch/x86/kvm/../../../virt/kvm/kvm_main.o
arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function
'kvm_free_assigned_device':
arch/x86/kvm/../../../virt/kvm/kvm_main.c:155: error: implicit
declaration of function 'pci_reset_function'
make[1]: *** [arch/x86/kvm/../../../virt/kvm/kvm_main.o] Error 1
make: *** [arch/x86/kvm] Error 2
This can be reproduced by using the attached config file. Obviously
the pci_reset_function should not be called when PCI support is
disabled. These changes fix the issue:
I made KVM/x86 depend on PCI. If someone wants to run kvm on a non-pci
x86 host, we (they) can refactor it.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html