KVM: x86/xen: Simplify eventfd IOCTLs
authorMichal Luczaj <mhal@rbox.co>
Mon, 26 Dec 2022 12:03:18 +0000 (12:03 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Dec 2022 11:01:49 +0000 (06:01 -0500)
commit1c14faa5087db0a098c3ab1e183f2b5df4b0d3f2
tree5591e4cce5089e214c171f55ebe9128f739fe962
parent70eae03087a3101493d9a1cf60c86c5f65600822
KVM: x86/xen: Simplify eventfd IOCTLs

Port number is validated in kvm_xen_setattr_evtchn().
Remove superfluous checks in kvm_xen_eventfd_assign() and
kvm_xen_eventfd_update().

Signed-off-by: Michal Luczaj <mhal@rbox.co>
Message-Id: <20221222203021.1944101-3-mhal@rbox.co>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20221226120320.1125390-4-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/xen.c