SVM's maximum valid event type is 4. This appears to be a straigth copy and
paste error in c/s
e94e3f210a62, as VT-x's maximum is 6.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
if ( c->pending_valid )
{
- if ( (c->pending_type == 1) || (c->pending_type > 6) ||
+ if ( (c->pending_type == 1) || (c->pending_type > 4) ||
(c->pending_reserved != 0) )
{
dprintk(XENLOG_ERR, "%pv: Invalid pending event %#"PRIx32"\n",