Print warning when trying to register CR0 events on Xen 4.2-4.4

Also fix the last remnant of the XENEVENT41 definition.
It's already in staging so it will be most likely be included in 4.5. Also
note, there is only 410, 420 and 450 definitions at the moment, so even if
it is included in 450, there won't be a need to change it to > 410 < 450.


On Mon, Jul 28, 2014 at 9:36 PM, Antony Saba <notifications@github.com>
wrote:

> In libvmi/driver/xen_events.c:
>
> > @@ -961,6 +961,11 @@ status_t xen_set_reg_access(vmi_instance_t vmi, reg_event_t event)
> >
> >      switch(event.reg){
> >          case CR0:
> > +#if XEN_EVENTS_VERSION == 420
>
> Any idea if the fix will make into 4.5 so this can be changed to XEN_EVENTS_VERSION
> > 410 && XEN_EVENTS_VERSION < 450?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/bdpayne/libvmi/pull/193/files#r15485045>.
>