[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] xm dump-core and an XP HVM

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Ryan Persaud" <ryan.persaud@xxxxxxxxx>
  • Date: Wed, 27 Feb 2008 16:43:01 -0500
  • Delivery-date: Wed, 27 Feb 2008 13:43:25 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=eybjzGSrcFqcpgIqiGHInvwGwxN0Ii+2dY1Moa771efaddsbxjBOFRoECsAcBGnXDT11AEZEzhC+dXxRzc+kCsf2HVQ1Cw17cDMjhR9JTZQl3zhY0p/7FYkIdXqwqbCTC1SqvpScDbR203mwy80qUHzTyxfzh/BFc+886sRGKVs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


I am interested in obtaining a raw physical dump of memory from a running Windows XP HVM.  I am running Xen 3.1, and the dump-core tool produces an ELF formatted file.  To produce a raw dump, I commented out all of the portions of xc_domain_dumpcore_via_callback in xc_core.c that write to the dump file besides the one labeled "dump pages: .xen_pages".  I doublechecked that this portion of code was the only one inserting data into the dump file, by searching for calls to 'dump_rtn'  (the function that actually dumps data to a file).

The dumps produced by my modified code still seem to contain extraneous data.  For example, I generated a dump from within the running XP HVM, and it contained 131065 pages, but a dump generated by Xen contained 133089 pages.  I have a tool that can analyze raw XP dump files and locate kernel structures.  The tool runs successfully on the dump generated in XP, but errors out on the Xen dump.  Does anyone have any idea as to what might be causing the extraneous data in my dumps?

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.