Hollis Blanchard wrote: > > Don't compile kvm_*_pit() on architectures whose currently supported > platforms do not contain a PIT. > > Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]> > > diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h > --- a/libkvm/libkvm.h > +++ b/libkvm/libkvm.h > @@ -539,6 +539,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm) > > #ifdef KVM_CAP_PIT > > +#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__) > /*! > * \brief Get in kernel PIT of the virtual domain > * > @@ -562,6 +563,8 @@ int kvm_set_pit(kvm_context_t kvm, struc > > #endif > > +#endif > + > #ifdef KVM_CAP_VAPIC
ia64 doesn't have an in-kernel pit? (yet?) -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel