Re: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated guests
From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-21 01:47:53
Also in:
lkml, netdev
From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-01-21 01:47:53
Also in:
lkml, netdev
On Tue, 19 Jan 2021 18:58:41 +0100 Andrea Parri (Microsoft) wrote:
Restrict the NVSP protocol version(s) that will be negotiated with the host to be NVSP_PROTOCOL_VERSION_61 or greater if the guest is running isolated. Moreover, do not advertise the SR-IOV capability and ignore NVSP_MSG_4_TYPE_SEND_VF_ASSOCIATION messages in isolated guests, which are not supposed to support SR-IOV. This reduces the footprint of the code that will be exercised by Confidential VMs and hence the exposure to bugs and vulnerabilities. Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: netdev@vger.kernel.org
Nothing exciting here from networking perspective, so: Acked-by: Jakub Kicinski <kuba@kernel.org>