From: Ian Campbell Subject: Re: [PATCH v2 RFC 2/4] x86/PV: support data breakpoint extension registers Date: Thu, 27 Mar 2014 17:29:31 +0000 Message-ID: <1395941371.22909.232.camel@kazak.uk.xensource.com> References: <532880230200007800125450@nat28.tlf.novell.com> <53296E90020000780012593B@nat28.tlf.novell.com> <53296E90020000780012593B@nat28.tlf.novell.com> <5332EE8F02000078000026BA@nat28.tlf.novell.com> <1395934132.22909.153.camel@kazak.uk.xensource.com> <533459C9020000780000306A@nat28.tlf.novell.com> <1395937402.22909.189.camel@kazak.uk.xensource.com> <5334638102000078000030E5@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WTE7U-0007Ul-Rk for xen-devel@lists.xenproject.org; Thu, 27 Mar 2014 17:29:37 +0000 In-Reply-To: <5334638102000078000030E5@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser , Ian Jackson , suravee.suthikulpanit@amd.com, Sherry Hurwitz List-Id: xen-devel@lists.xenproject.org On Thu, 2014-03-27 at 16:44 +0000, Jan Beulich wrote: > >>> On 27.03.14 at 17:23, wrote: > > On Thu, 2014-03-27 at 16:03 +0000, Jan Beulich wrote: > >> >>> On 27.03.14 at 16:28, wrote: > >> > Do the protocol docs in xg_save_restore need updating due to this > >> > change? > >> > >> Not sure about that - this doesn't seem to talk about what's inside > >> the "bodies". > > > > Is this extending the "VCPU context data"? or one of the XC_SAVE_ID_* > > things? I think it would be worth extending that to indicate the new > > "optional" data, where and what it is etc. > > Yeah, I could probably add a note to the "extv" thing, even if it > doesn't really fit. Sounds good, thanks. > >> > How does N->N+1 migration work out? > >> > >> Since the structure size grows, and that size is embedded in the > >> structure, input coming from N will be treated as not having any > >> MSRs. > > > > This is the size of the "extv" block in the header phase? > > No, the "size" member of struct xen_domctl_ext_vcpucontext. OK, that makes sense. Are you also breaking the 128b limit on the data returned by this struct? Ian.