This would be my bad. Things kept changing and I didn't put these back into libkvm.h.
On Thu, 2007-11-08 at 00:34 -0600, Carlo Marcelo Arenas Belon wrote: > This patch partially reverts 9105435f46ca4e110237eae57272e4f5deaf8dd6 so that > kvm_msr_list, kvm_get_msrs and kvm_set_msrs are again public and visible in > userspace for x86 as they are used by qemu-kvm > > Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> > --- > libkvm/kvm-x86.h | 4 ---- > libkvm/libkvm.h | 6 ++++++ > 2 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/libkvm/kvm-x86.h b/libkvm/kvm-x86.h > index b531a3b..bcc6981 100644 > --- a/libkvm/kvm-x86.h > +++ b/libkvm/kvm-x86.h > @@ -42,8 +42,4 @@ int kvm_run_abi10(kvm_context_t kvm, int vcpu); > > void kvm_show_code(kvm_context_t kvm, int vcpu); > > -struct kvm_msr_list *kvm_get_msr_list(kvm_context_t); > -int kvm_get_msrs(kvm_context_t, int vcpu, struct kvm_msr_entry *msrs, int n); > -int kvm_set_msrs(kvm_context_t, int vcpu, struct kvm_msr_entry *msrs, int n); > - > #endif > diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h > index b00d658..8a41df7 100644 > --- a/libkvm/libkvm.h > +++ b/libkvm/libkvm.h > @@ -19,6 +19,12 @@ struct kvm_context; > > typedef struct kvm_context *kvm_context_t; > > +#if defined(__x86_64__) || defined(__i386__) > +struct kvm_msr_list *kvm_get_msr_list(kvm_context_t); > +int kvm_get_msrs(kvm_context_t, int vcpu, struct kvm_msr_entry *msrs, int n); > +int kvm_set_msrs(kvm_context_t, int vcpu, struct kvm_msr_entry *msrs, int n); > +#endif > + > /*! > * \brief KVM callbacks structure > * ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel