From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: bug fix patch Date: Sun, 17 Apr 2005 19:37:02 -0700 Message-ID: Reply-To: Kip Macy Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org The following patch fixes 3 recent regressions and works around a 4th. - when debugger trap entry was re-factored the new code neglected to clear the trace bit in eflags on a trace trap, xc_ptrace now does that in user-land before continuing - a merge somewhere along the line removed a validation of the info pointer in xc_domain_getfullinfo thus causing a seg fault when called without info (xc_ptrace only wants the cpu context) - the page not validated case in get_page_type needs to be last, in the shadow mode code merge it was moved before the general type checking case - when one tried to do an L2 pin on a page with a self-reference xen would spin forever in cpu_relax. This patch returns it to the last case. - xen has started to use anonymous unions - this is not c99 compliant. As a workaround freebsd is no longer compiled with -std=3Dc99 http://www.fsmware.com/xen/patches/050417/fixes