Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-11 Thread Avi Kivity
Guillaume Thouvenin wrote: >>> >>> >> As using the emulator is likely to be slower than VT, we can call the >> emulator only if we are in a "VT unfriendly" state, so the code might >> look like >> >> if (vmx->rmode.active && big_real_mode(vmx)) >> ... >> >> In addition, th

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-11 Thread Guillaume Thouvenin
On Sun, 10 Feb 2008 13:44:05 +0200 Avi Kivity <[EMAIL PROTECTED]> wrote: > Anthony Liguori wrote: > > So what we would like to do, is instead of setting up vm86 mode for the > > guest to execute real mode, use x86_emulate() to just emulate the code. > > This means that we wouldn't be using the

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-10 Thread Avi Kivity
Anthony Liguori wrote: > So what we would like to do, is instead of setting up vm86 mode for the > guest to execute real mode, use x86_emulate() to just emulate the code. > This means that we wouldn't be using the "vmlaunch" instruction when in > real mode and instead would be doing an x86_emul

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-07 Thread Alexey Eremenko
Actually having good Real Mode support will really help KVM running wider variety of guest OSes. Very welcome move. -Technologov - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Kamble, Nitin A
much better when it's open. >-Original Message- >From: [EMAIL PROTECTED] [mailto:kvm-devel- >[EMAIL PROTECTED] On Behalf Of Guillaume Thouvenin >Sent: Wednesday, February 06, 2008 4:07 AM >To: Izik Eidus >Cc: kvm-devel@lists.sourceforge.net >Subject: Re: [kvm-devel]

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Izik Eidus
On Wed, 2008-02-06 at 11:32 -0600, Anthony Liguori wrote: > Guillaume Thouvenin wrote: > > Hello, > > > > I read on the kvmwiki/TODO that there is a work in progress for > > extending x86 emulator to support more instructions in real mode and for > > changing the execution loop to call the emula

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Anthony Liguori
Guillaume Thouvenin wrote: > Hello, > > I read on the kvmwiki/TODO that there is a work in progress for > extending x86 emulator to support more instructions in real mode and for > changing the execution loop to call the emulator for real mode. > Yes, Nitin has done some work in this area.

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Izik Eidus
On Wed, 2008-02-06 at 13:07 +0100, Guillaume Thouvenin wrote: > On Wed, 06 Feb 2008 10:52:54 +0200 > Izik Eidus <[EMAIL PROTECTED]> wrote: > > > > i am not expert for the emulator area, but as far as i remember: > > > > virtual 8086 have some checks related to segments (the big mode > > problem)

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Guillaume Thouvenin
On Wed, 06 Feb 2008 10:52:54 +0200 Izik Eidus <[EMAIL PROTECTED]> wrote: > > i am not expert for the emulator area, but as far as i remember: > > virtual 8086 have some checks related to segments (the big mode > problem), it mean that for some addresses it wont be able to execute > anything, you

Re: [kvm-devel] [ToDo] Real Mode Support

2008-02-06 Thread Izik Eidus
On Wed, 2008-02-06 at 08:33 +0100, Guillaume Thouvenin wrote: > Hello, > > I read on the kvmwiki/TODO that there is a work in progress for > extending x86 emulator to support more instructions in real mode and for > changing the execution loop to call the emulator for real mode. > > As I'm

[kvm-devel] [ToDo] Real Mode Support

2008-02-05 Thread Guillaume Thouvenin
Hello, I read on the kvmwiki/TODO that there is a work in progress for extending x86 emulator to support more instructions in real mode and for changing the execution loop to call the emulator for real mode. As I'm interested to work on this part I'd like to know what was already done. I'