Skip to contentSkip to conversation

bug fix patch

DISCUSSION Kip Macy 1 participant 1 message Apr 18, 2005

lore
Share & tools
lore

Kip Macy

author
#0 lore raw

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=c99

http://www.fsmware.com/xen/patches/050417/fixes