irqbypass: Disallow NULL token
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 5 May 2016 17:58:29 +0000 (11:58 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 May 2016 20:37:54 +0000 (22:37 +0200)
commitb52f3ed02221252d8ee2c7d756e76fad4a5e84f6
tree614388b0b562cc9fbc5c0a8598c9a7e7762f1e89
parent0b1b1dfd52a67f4f09a18cb82337199bc90ad7fb
irqbypass: Disallow NULL token

A NULL token is meaningless and can only lead to unintended problems.
Error on registration with a NULL token, ignore de-registrations with
a NULL token.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/irqbypass.h
virt/lib/irqbypass.c