]> 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>
Wed, 15 Feb 2023 15:16:57 +0000 (16:16 +0100)
commitcc33e8f7bbf35e7aef8c82777fa7a0943d32456b
tree689c12546fe0d615bea83c0edead5d2812e315ea
parent800c1db1d8fce4dd6752340dcc1f5b947c7fcbc4
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>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/kvm/xen_evtchn.c
hw/i386/kvm/xen_evtchn.h
target/i386/kvm/xen-emu.c