Reading an ISO file for virtualization
Posted: Wed Sep 12, 2018 9:38 am
Hello,
is it possible to read an ISO image in memory just like an elf file in regard to finding its entry point or start address? I just finished setting up VMX on my OS and I also successfully entered the guest by setting the GUEST_RIP field in my VMCS to a dummy function. However, I wanted to try it on a real guest OS, e.g. a linux image. For that to work, I would need to load an ISO image into memory and try to get its entry point.
But this would only work if an ISO image has got the same structure as an elf, which is obviously doesn't.
I hope you can help me understand how to achieve this, maybe in connection to the ISO9660 article on OSDev.
is it possible to read an ISO image in memory just like an elf file in regard to finding its entry point or start address? I just finished setting up VMX on my OS and I also successfully entered the guest by setting the GUEST_RIP field in my VMCS to a dummy function. However, I wanted to try it on a real guest OS, e.g. a linux image. For that to work, I would need to load an ISO image into memory and try to get its entry point.
But this would only work if an ISO image has got the same structure as an elf, which is obviously doesn't.
I hope you can help me understand how to achieve this, maybe in connection to the ISO9660 article on OSDev.