On Fri, Mar 19, 2021 at 09:33:43PM +0530, Himanshu Chauhan wrote:
Hi,
I am working on a hypervisor and running coreboot as guest. During a VMExit, I am seeing coreboot RIPs. Since coreboot is mix of 16-bit/32-bit code and because of relocations, I not able to find the listing of the code at specific address.
For example, address is: 0x7f37806
I want to attach the coreboot binary to GDB and then do list *0x7f37806
BTW, I can see the post code of 0xf8. Does this mean that coreboot is done booting and its trying to load SeaBIOS? I see a CPUID request of 0x40000000. I can't see such request anywhere in coreboot. But there is one in SeaBIOS, to detect if its running on KVM.
I see that the RIP changes from 0x7f37827 to 0xf289e
I am not sure where SeaBios jumps and if its the right address. My coreboot rom size is 512K
Regards Himanshu