I 100% think that VMX and SVM should share the bulk of the
code. Improvements to VMX almost always apply in some way to SVM, and vice
versa.
IMO, after debugging a few times, associating
error_code with the event being injected is second nature. Prepending
intr_info_ would just add extra characters and slow down mental processing.
of course both it and intr_info are VMX specific).
Not really, SVM has the exact same fields with slightly different names.