Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-unstable
xen
xen.trc-ioreq_server_deinit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.trc-ioreq_server_deinit.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 15 Jun 2023 08:42:44 +0000 Subject: trc ioreq_server_deinit Signed-off-by: Olaf Hering <olaf@aepfle.de> --- xen/common/ioreq.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/xen/common/ioreq.c +++ b/xen/common/ioreq.c @@ -762,24 +762,29 @@ static int ioreq_server_init(struct ioreq_server *s, fail_add: ioreq_server_remove_all_vcpus(s); arch_ioreq_server_unmap_pages(s); ioreq_server_free_rangesets(s); put_domain(s->emulator); return rc; } static void ioreq_server_deinit(struct ioreq_server *s) { + trc_ioreq_server_deinit_t trc = { + .s = TRC_ePTR(s), + .enabled = s->enabled, + }; + TRACE_trc(TRC_IOREQ_ioreq_server_deinit); ASSERT(!s->enabled); ioreq_server_remove_all_vcpus(s); /* * NOTE: It is safe to call both arch_ioreq_server_unmap_pages() and * ioreq_server_free_pages() in that order. * This is because the former will do nothing if the pages * are not mapped, leaving the page to be freed by the latter. * However if the pages are mapped then the former will set * the page_info pointer to NULL, meaning the latter will do * nothing. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor