uio_hv_generic: check that host supports monitor page
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 9 Jan 2018 20:57:31 +0000 (12:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2018 16:40:53 +0000 (17:40 +0100)
commit06028d15177a1b406b7b075ea47c6a352732f23a
treeef624623dd24296dade2411e85376cfa29d93ab7
parente7d214642a19b8e0e7ecda39184c2ab98ba4801f
uio_hv_generic: check that host supports monitor page

In order for userspace application to signal host, it needs the
host to support the monitor page property. Check for the flag
and fail if this is not supported.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_hv_generic.c