start_info content for linux
Good day.
I've digging in some strange memory/balloon related bug and I've really like to see start_info content on linux. I saw in source code
#ifdef CONFIG_X86_32
mov %esi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%esp
#else
mov %rsi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%rsp
#endif
jmp xen_start_kernel
Pointer to start_info stored in linux global variable xen_start_info, but I can't find way to access it.
Is any way to get it from linux kernel? (well, except writing your own module).
Thanks.
Quoted 14 lines · George Shuklin
Good day.
I've digging in some strange memory/balloon related bug and I've really like to see
start_infocontent on linux. I saw in source code#ifdef
CONFIG_X86_32
mov %esi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%esp
#else
mov %rsi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%rsp
#endif
jmpxen_start_kernel
Quoted 5 lines
Pointer to
start_infostored in linux global variablexen_start_info, but I can't find way to access it.Is any way to get it from linux kernel? (well, except writing your own module).
I don't think this structure is exported to userspace, so I'm afraid it would have to be a module, or use some sort of /dev/kmem capable debugger (I don't know one to recommend though).
To do any serious debugging of ballooning you are probably going to need to build a kernel with debugging added anyway though.
Ian.
Quoted 14 lines · George Shuklin
Good day.
I've digging in some strange memory/balloon related bug and I've really like to see
start_infocontent on linux. I saw in source code#ifdef
CONFIG_X86_32
mov %esi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%esp
#else
mov %rsi,xen_start_info
mov $init_thread_union+THREAD_SIZE,%rsp
#endif
jmpxen_start_kernel
Quoted 5 lines
Pointer to
start_infostored in linux global variablexen_start_info, but I can't find way to access it.Is any way to get it from linux kernel? (well, except writing your own module).
No. That is the only way.
What do you want to get out of the xen_start_kernel structure?
Quoted 8 lines
Thanks.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel