Re: [XenAccess-devel] process-list works with Vista VM (with a co uple tweaks)
Status: Beta
Brought to you by:
bdpayne
From: Matthew D. <ma...@at...> - 2008-01-23 20:19:25
|
Crap. Once again, I hit the wrong button and sent the email before I = was done. I got the process-list example to work with a Vista (Ultimate) VM. The offsets had to be changed, of course: #define ActiveProcessLinks_OFFSET 0xa0 #define UniqueProcessId_OFFSET 0x9c #define ImageFileName_OFFSET 0x14c=20 Also, the page_offset value that I had to change to get the samples = working for XP (I changed from 0x80000000 to 0x7FC00000) had to be changed back = to 0x80000000. I say the program worked, but the last entry in the list is wrong: [1182726] =C8-=B5'=01 I haven't had a chance to look at it more closely yet. The module-list sample doesn't work but I suppose it's because of a hard-coded address that is different for Vista. One thing to note: By default Vista's kernel debugging is off. You = can turn it on in one of two ways: 1) Right as Vista starts to boot, hold F8 and select "Debugging = mode" 2) From an administrative command line enter: "bcdedit.exe -debug = on" and reboot. *IMPORTANT: Don't do number 2. I can't get Vista to boot in debug = mode in a Xen virtual machine. Option 2 above changes boot parameters (akin to modifying boot.ini) and I couldn't find a way to undo it without = booting Vista (which I couldn't do.) So until you know if it works, I = recommend option 1. (I had to reinstall my Vista VM twice before I learned my lesson.) If you find something about this (booting Vista in debug mode with Xen) please let me know. -matthew |