Isaku Yamahata wrote:
> Yes, I also really want such a tool and I've thought of it.
> I want to prevent people from accidently breaking paravirtualization
> and only a way to do so would be by enforcing.
> I think it can be easily achived by CPP macro trick.
> At worst a simple .s (or .o) parser.
>
For what its worth, this hasn't been a problem on x86 at all. All the
"interesting" instructions are used via macros/inline functions, and
there have been no instances (that I know of, at least) of naked ones
appearing anywhere. And all the gatekeeper maintainers are definitely
aware of the paravirt constraints, so I don't think any would make it
past review.
J
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization