]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Implement EVTCHNOP_close
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 13 Dec 2022 13:57:44 +0000 (13:57 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 30 Jan 2023 19:50:54 +0000 (19:50 +0000)
commitcfe5f3fadca2b9dc5dbb562edc32afc43f08b77c
treee407eca1bf066d4df7c170b62e69a6d408ac7778
parent08662f27ce1bd0ac62c5bcdab5116edd8e7bdb21
hw/xen: Implement EVTCHNOP_close

It calls an internal close_port() helper which will also be used from
EVTCHNOP_reset and will actually do the work to disconnect/unbind a port
once any of that is actually implemented in the first place.

That in turn calls a free_port() internal function which will be in
error paths after allocation.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h
target/i386/kvm/xen-emu.c