> >I've gotten a fair bit on my device emulation code. The linux kernel >is actually booting all the way to mounting the root FS right now. >Currently I'm working on sorting out some bugs in the ATA irq >handling, so there's definitely some progress.
Cheers for the good work :) >Thanks for your help, Avi and Dor. I wouldn't gotten this far this >fast without your help. It was the least we could do. >However, I'm currently "cheating" by loading 32 bit ELF binaries and >executing them, instead of doing a complete boot sequence starting >with a BIOS. This will of course stop me dead in the tracks if I >wanted to launch anything but OSS *NIX systems. > >So, my question is: >What's needed to get the x86_emulate.c code in a better state (the >TODO page says something needs to be done), and how would I go about >starting KVM in real-mode? The effort required is to emulate all the necessary instructions to be able to emulate completely the real mode executions of the popular guests( Linux/window/Solaris..). The problem lies in the tough tests that Intel is doing on vm entry in real mode. Complete real mode emulation must be implemented inside the KVM - at least all the common instructions. It would be superb if you'll take over this. If you do we'll help as much as possible. >Will it do everything right if I just set cr0 to indicate that we're >not executing in 32bit more? The vmx_vcpu_setup starts in real mode - check the end when calling vmx_set_cr0 (checking the CR0_PE_MASK bit). >Will KVM spit out some kind of debug information when it encounters an >instruction it cannot handle ? x86_emulate_memop return -1 on error and 0 on success. It's possible thought that there are bugs hiding too. Use the force luke ! > >/James > >----------------------------------------------------------------------- -- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD EV >_______________________________________________ >kvm-devel mailing list >kvm-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/kvm-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel