H. Peter Anvin wrote: > > It seems to me that perhaps this is the way to do it: > > - Add cpuid_everything, rdmsr_everything and wrmsr_everything > entrypoints; Yes, although I think we can omit rdmsr / wrmsr. > > - Provide compatibility wrappers that simply invoke the cpuid, rdmsr, > and wrmsr entrypoints with appropriate parameter marshalling; > > - On hardware, point them to the functions which invoke setgpr_wrapper. > > What do you think? Well it is more work than the hack, but it is more maintainable and makes for less assembly code - we could do all the parameter juggling in C for the paravirt-ops case. Zach _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization