Gleb Natapov <gleb@xxxxxxxxxx> wrote on 09/04/2013 02:05:07 PM: > > +static inline bool vmcs12_write_any(struct kvm_vcpu *vcpu, > > + unsigned long field, u64 field_value){ > > + short offset = vmcs_field_to_offset(field); > > + char *p = ((char *) get_vmcs12(vcpu)) + offset; > > + if (offset < 0) > > + return 0; > The function returns bool, so use true/false please. Will change to return true/false. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html