By the way Marcelo, it would be polite to provide these stubs yourself to avoid breaking the build on other architectures.
It looks like IA64 is still broken because of this. -- Hollis Blanchard IBM Linux Technology Center On Wednesday 16 April 2008 09:06:34 Carsten Otte wrote: > From: Christian Borntraeger <[EMAIL PROTECTED]> > > Since > > commit ded6fb24fb694bcc5f308a02ec504d45fbc8aaa6 > Author: Marcelo Tosatti <[EMAIL PROTECTED]> > Date: Fri Apr 11 13:24:45 2008 -0300 > KVM: add ioctls to save/store mpstate > > kvm does not compile on s390. > This patch provides ioctl stubs for s390 to make kvm.git compile again. > As migration is not yet supported, the ioctl definitions are empty. > > Signed-off-by: Christian Borntraeger <[EMAIL PROTECTED]> > Signed-off-by: Carsten Otte <[EMAIL PROTECTED]> > --- > arch/s390/kvm/kvm-s390.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > Index: kvm/arch/s390/kvm/kvm-s390.c > =================================================================== > --- kvm.orig/arch/s390/kvm/kvm-s390.c > +++ kvm/arch/s390/kvm/kvm-s390.c > @@ -414,6 +414,18 @@ int kvm_arch_vcpu_ioctl_debug_guest(stru > return -EINVAL; /* not implemented yet */ > } > > +int kvm_arch_vcpu_ioctl_get_mpstate(struct kvm_vcpu *vcpu, > + struct kvm_mp_state *mp_state) > +{ > + return -EINVAL; /* not implemented yet */ > +} > + > +int kvm_arch_vcpu_ioctl_set_mpstate(struct kvm_vcpu *vcpu, > + struct kvm_mp_state *mp_state) > +{ > + return -EINVAL; /* not implemented yet */ > +} > + > static void __vcpu_run(struct kvm_vcpu *vcpu) > { > memcpy(&vcpu->arch.sie_block->gg14, &vcpu->arch.guest_gprs[14], 16); > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel