On 08/06/2012 10:33 AM, Rusty Russell wrote: > This uses a fixed feature bitmap for simplicity: 224 features should > be enough for anyone! > > QEMU now needs to explicitly state what CPU a guest vcpu has, and what > optional features (currently, none are defined, but this could be used > to suppress VFP, debug, etc). > > Once we know the target (which currently must be 0xCOF), we do the > vcpu reset; trying to run without that will -ENOEXEC. > > Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx> > > diff --git a/arch/arm/include/asm/kvm.h b/arch/arm/include/asm/kvm.h > index 54f301d..6513059 100644 > --- a/arch/arm/include/asm/kvm.h > +++ b/arch/arm/include/asm/kvm.h > @@ -68,6 +68,14 @@ struct kvm_regs { > > }; > > +/* Supported Processor Types */ > +#define KVM_ARM_TARGET_CORTEX_A15 (0xC0F) > + > +struct kvm_vcpu_init { > + __u32 target; > + __u32 features[7]; > +}; > + Needs an entry in Documentation/virtual/kvm/api.txt. Are there other arm-specific interfaces that want documenting? -- error compiling committee.c: too many arguments to function _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm