Re: [XenAccess-devel] Towards HVM support
Status: Beta
Brought to you by:
bdpayne
From: Steve B. <st...@at...> - 2006-08-11 20:34:24
|
> Interesting. So it looks to me like these values are wrong. > Specifically, the value for swapper_pg_dir should match what you see > in the System.map file. It looks like the value is getting truncated > somewhere (perhaps just formatted wrong in printf?). Also, > XA_PAGE_OFFSET is defined in xenaccess.h and should not be zero > (again, perhaps a printf formatting issue?). Silly me, it was a printf formatting mistake as you suspected (%hx instead of %x had cut off the first 4 hex digits). So now the output is: # ./run ./module_list 16 dom!=NULL kernel_name=hvm sysmap=/boot/System.map-2.6.17 swapper_pg_dir=c044e000 XA_PAGE_OFFSET=c00000000 memory=NULL failed to init XenAccess library: Bad address > If the values are correct, then I'm a little confused as I would have > expected it to work from there. But I'll research how xen handles > memory in a HVM domain while you look into the variable values. > Hopefully one of us will find something :-) My above output is using a Knoppix DVD as a guest domain. I also tried A vanilla Fedora Core 5 install as a guest and got the same results (the only difference is a different System.map name and a different address for Swapper_pg_dir). So possibly there must be a fundamental difference in how HVM domain memory is treated, which I take it is what you're looking into now. :) - Steve |