[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 4/3] x86/HVM: hvm_map_guest_frame_rw() should respect p2m_ioreq_server
> -----Original Message----- > From: Jan Beulich [mailto:JBeulich@xxxxxxxx] > Sent: 13 November 2018 10:47 > To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>; Jan Beulich > <JBeulich@xxxxxxxx> > Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>; Paul Durrant > <Paul.Durrant@xxxxxxxxxx>; Wei Liu <wei.liu2@xxxxxxxxxx> > Subject: [PATCH 4/3] x86/HVM: hvm_map_guest_frame_rw() should respect > p2m_ioreq_server > > Writes to such pages would need to be handed to the emulator, which we're > not prepared to do at this point. > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Patch #4 out of 3? :-) Reviewed-by: Paul Durrant <paul.durrant@xxxxxxxxxx> > > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -2556,7 +2556,8 @@ static void *_hvm_map_guest_frame(unsign > > if ( writable ) > { > - if ( unlikely(p2m_is_discard_write(p2mt)) ) > + if ( unlikely(p2m_is_discard_write(p2mt)) || > + unlikely(p2mt == p2m_ioreq_server) ) > *writable = 0; > else if ( !permanent ) > paging_mark_pfn_dirty(d, _pfn(gfn)); > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |