|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 1/1] xen-hvm.c: Add support for Xen access to vmport |
Date: | Tue, 30 Sep 2014 10:14:25 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Il 30/09/2014 03:05, Don Slutz ha scritto: > > Basically current_cpu is NULL here, and I think that no CPU objects > have been created for Xen. So there is no VCPU object to select. CPU objects are created for Xen HVM, though not for PV. You would have to visit the list of CPUs and fill in an array in XenIOState (e.g. "X86CPU **cpu_by_ioreq_id" array in XenIOState). Then you can set current_cpu = state->cpu_by_ioreq_id[state->send_vcpu]; handle_ioreq(req); current_cpu = NULL; in cpu_handle_ioreq. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |