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_map_mem_type.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.trc-ioreq_server_map_mem_type.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 15 Jun 2023 08:43:23 +0000 Subject: trc ioreq_server_map_mem_type Signed-off-by: Olaf Hering <olaf@aepfle.de> --- xen/common/ioreq.c | 7 +++++++ 1 file changed, 7 insertions(+) --- a/xen/common/ioreq.c +++ b/xen/common/ioreq.c @@ -1147,24 +1147,31 @@ static int ioreq_server_unmap_io_range(struct domain *d, ioservid_t id, * Map or unmap an ioreq server to specific memory type. For now, only * HVMMEM_ioreq_server is supported, and in the future new types can be * introduced, e.g. HVMMEM_ioreq_serverX mapped to ioreq server X. And * currently, only write operations are to be forwarded to an ioreq server. * Support for the emulation of read operations can be added when an ioreq * server has such requirement in the future. */ int ioreq_server_map_mem_type(struct domain *d, ioservid_t id, uint32_t type, uint32_t flags) { struct ioreq_server *s; int rc; + trc_ioreq_server_map_mem_type_t trc = { + .d = d->domain_id, + .id = id, + .type = type, + .flags = flags, + }; + TRACE_trc(TRC_IOREQ_ioreq_server_map_mem_type); if ( type != HVMMEM_ioreq_server ) return -EINVAL; if ( flags & ~XEN_DMOP_IOREQ_MEM_ACCESS_WRITE ) return -EINVAL; rspin_lock(&d->ioreq_server.lock); s = get_ioreq_server(d, id); rc = -ENOENT;
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