]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Thu, 12 Apr 2018 10:31:11 +0000 (12:31 +0200)
commit3ca4e49e9be732841ea5fd44ce90db18e9855f65
tree75792c3858b7812e253d5db38fb8364cc257abc2
parentf0e9997e06a5f1feb4a896568d4da6fe006a023c
uio_hv_generic: check that host supports monitor page

[ Upstream commit 06028d15177a1b406b7b075ea47c6a352732f23a ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_hv_generic.c