]> 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>
Thu, 5 Jan 2023 11:41:10 +0000 (11:41 +0000)
commit5d36a8a01481b0717fdcacf723838cc685dd261b
tree141723db64db90c4cdd86d7c50315e516113c1e3
parent8cc84f63505565b11effd1d0d0aa268d3fa2ae3f
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