Re: [kvm-devel] Question about EMULATE_DO_MMIO

2007-10-17 Thread Avi Kivity
Nitin A Kamble wrote: > On Tue, 2007-10-16 at 13:12 -0700, Avi Kivity wrote: > > >> Why do you think it is better? I would have thought that vm86 is much >> faster. >> >> > I am seeing execution going to strange places in vm86 mode. That issue > is not coming in the emulation. > > That

Re: [kvm-devel] Question about EMULATE_DO_MMIO

2007-10-16 Thread Nitin A Kamble
On Tue, 2007-10-16 at 13:12 -0700, Avi Kivity wrote: > Why do you think it is better? I would have thought that vm86 is much > faster. > I am seeing execution going to strange places in vm86 mode. That issue is not coming in the emulation. > I thought of doing it this way: > > - try to run nor

Re: [kvm-devel] Question about EMULATE_DO_MMIO

2007-10-16 Thread Avi Kivity
Nitin A Kamble wrote: > Hi Avi, >I was trying to avoid vm86 mode completely, by using emulation for > all the real mode code emulation. It is doing better than vm86 mode, Why do you think it is better? I would have thought that vm86 is much faster. I thought of doing it this way: - try to

[kvm-devel] Question about EMULATE_DO_MMIO

2007-10-16 Thread Nitin A Kamble
Hi Avi, I was trying to avoid vm86 mode completely, by using emulation for all the real mode code emulation. It is doing better than vm86 mode, but I am seeing one issue with this approch. The emulator is failing due to this code. Seems like the execution need to go back to qemu to finish so