|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 3/8] ioreq-server: create basic ioreq server abstraction.
On 04/03/2014 04:43 PM, Paul Durrant wrote: -----Original Message----- From: dunlapg@xxxxxxxxx [mailto:dunlapg@xxxxxxxxx] On Behalf Of George Dunlap Sent: 03 April 2014 15:50 To: Paul Durrant Cc: xen-devel@xxxxxxxxxxxxx; Keir (Xen.org); Jan Beulich Subject: Re: [Xen-devel] [PATCH v4 3/8] ioreq-server: create basic ioreq server abstraction. On Wed, Apr 2, 2014 at 4:11 PM, Paul Durrant <paul.durrant@xxxxxxxxxx> wrote:Collect together data structures concerning device emulation together into a new struct hvm_ioreq_server. Code that deals with the shared and buffered ioreq pages is extracted from functions such as hvm_domain_initialise, hvm_vcpu_initialise anddo_hvm_opand consolidated into a set of hvm_ioreq_server manipulation functions.Thelock in the hvm_ioreq_page served two different purposes and has been replaced by separate locks in the hvm_ioreq_server. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> Cc: Keir Fraser <keir@xxxxxxx> Cc: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 406 ++++++++++++++++++++++++++------------ Sure, but is there a risk of two different invocations of the "code that modifies" happening at the same time? (Perhaps, for instance, because of a buggy toolstack that makes two calls on the same ioreq server?) -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |