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_add_vcpu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.trc-ioreq_server_add_vcpu.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 15 Jun 2023 08:41:46 +0000 Subject: trc ioreq_server_add_vcpu 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 @@ -454,26 +454,33 @@ static void ioreq_server_update_evtchn(struct ioreq_server *s, { ioreq_t *p = get_ioreq(s, sv->vcpu); p->vp_eport = sv->ioreq_evtchn; } } static int ioreq_server_add_vcpu(struct ioreq_server *s, struct vcpu *v) { struct ioreq_vcpu *sv; int rc; + trc_ioreq_server_add_vcpu_t trc = { + .d = v->domain->domain_id, + .v = v->vcpu_id, + .s = TRC_ePTR(s), + }; sv = xzalloc(struct ioreq_vcpu); + trc.sv = TRC_ePTR(sv); + TRACE_trc(TRC_IOREQ_ioreq_server_add_vcpu); rc = -ENOMEM; if ( !sv ) goto fail1; spin_lock(&s->lock); rc = alloc_unbound_xen_event_channel(v->domain, v->vcpu_id, s->emulator->domain_id, NULL); if ( rc < 0 ) goto fail2;
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