From mboxrd@z Thu Jan 1 00:00:00 1970 From: GaoYi Subject: Re: Can VMX provide real mode support? Date: Wed, 21 Mar 2012 21:56:27 +0800 Message-ID: References: <4F69DA5E.6010505@siemens.com> <4F69DC3B.3050509@redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175900426226b404bbc12893 Cc: Jan Kiszka , "qemu-devel@nongnu.org" , kvm To: Avi Kivity Return-path: In-Reply-To: <4F69DC3B.3050509@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org --0015175900426226b404bbc12893 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi, Thanks for your prompt response. So if the CPU supports the real mode, the KVM can support the real mode guest and there is still work to be done for CPU without real mode support, namely software emulation? Again =D4=DA 2012=C4=EA3=D4=C221=C8=D5 =CF=C2=CE=E79:48=A3=ACAvi Kivity =D0=B4=B5=C0=A3=BA > On 03/21/2012 03:40 PM, Jan Kiszka wrote: > > On 2012-03-21 13:38, GaoYi wrote: > > > Hi Jan, > > > > > > Since the newest Intel-VT supports the guest OS under the real > mode, which was already supported in AMD-V, can the VMX in the latest KVM > support that case? > > > > Yes, both with our without that "unrestricted guest" support (as Intel > > called it), real mode will generally work. Without that CPU feature, I > > think to recall that there were some limitations for big real mode, not > > sure. > > > > Yes, big real mode will not work without "unrestricted guest". There > was some work to emulate it (module option emulate_invalid_guest_state), > but it is not complete. > > -- > error compiling committee.c: too many arguments to function > > --0015175900426226b404bbc12893 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
Hi,
   Thanks for your prompt response. So if the CPU suppo= rts the real mode, the KVM can support the real mode guest and there i= s still work to be done for CPU without real mode support, namely software = emulation?
 
   Again

=D4=DA 2012=C4=EA3=D4=C221=C8=D5 =CF=C2=CE=E79:4= 8=A3=ACAvi Kivity <a= vi@redhat.com>=D0=B4=B5=C0=A3=BA
On 03/21/2012 03:40 PM, Jan Kiszka wrote:
> On 2012= -03-21 13:38, GaoYi wrote:
> > Hi Jan,
> >
> > &= nbsp;   Since the newest Intel-VT supports the guest OS under the real= mode, which was already supported in AMD-V, can the VMX in the latest KVM = support that case?
>
> Yes, both with our without that "unrestricted guest"= support (as Intel
> called it), real mode will generally work. Witho= ut that CPU feature, I
> think to recall that there were some limitat= ions for big real mode, not
> sure.
>

Yes, big real mode will not work without &q= uot;unrestricted guest".  There
was some work to emulate it (m= odule option emulate_invalid_guest_state),
but it is not complete.

--
error compiling committee.c: too many arguments to function


--0015175900426226b404bbc12893-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAM1i-0000BC-BN for qemu-devel@nongnu.org; Wed, 21 Mar 2012 09:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAM1e-0002Cu-1E for qemu-devel@nongnu.org; Wed, 21 Mar 2012 09:56:33 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:38926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAM1d-0002CH-OI for qemu-devel@nongnu.org; Wed, 21 Mar 2012 09:56:29 -0400 Received: by bkcjg9 with SMTP id jg9so1161021bkc.4 for ; Wed, 21 Mar 2012 06:56:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4F69DC3B.3050509@redhat.com> References: <4F69DA5E.6010505@siemens.com> <4F69DC3B.3050509@redhat.com> Date: Wed, 21 Mar 2012 21:56:27 +0800 Message-ID: From: GaoYi Content-Type: multipart/alternative; boundary=0015175900426226b404bbc12893 Subject: Re: [Qemu-devel] Can VMX provide real mode support? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Jan Kiszka , "qemu-devel@nongnu.org" , kvm --0015175900426226b404bbc12893 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi, Thanks for your prompt response. So if the CPU supports the real mode, the KVM can support the real mode guest and there is still work to be done for CPU without real mode support, namely software emulation? Again =D4=DA 2012=C4=EA3=D4=C221=C8=D5 =CF=C2=CE=E79:48=A3=ACAvi Kivity =D0=B4=B5=C0=A3=BA > On 03/21/2012 03:40 PM, Jan Kiszka wrote: > > On 2012-03-21 13:38, GaoYi wrote: > > > Hi Jan, > > > > > > Since the newest Intel-VT supports the guest OS under the real > mode, which was already supported in AMD-V, can the VMX in the latest KVM > support that case? > > > > Yes, both with our without that "unrestricted guest" support (as Intel > > called it), real mode will generally work. Without that CPU feature, I > > think to recall that there were some limitations for big real mode, not > > sure. > > > > Yes, big real mode will not work without "unrestricted guest". There > was some work to emulate it (module option emulate_invalid_guest_state), > but it is not complete. > > -- > error compiling committee.c: too many arguments to function > > --0015175900426226b404bbc12893 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
Hi,
   Thanks for your prompt response. So if the CPU suppo= rts the real mode, the KVM can support the real mode guest and there i= s still work to be done for CPU without real mode support, namely software = emulation?
 
   Again

=D4=DA 2012=C4=EA3=D4=C221=C8=D5 =CF=C2=CE=E79:4= 8=A3=ACAvi Kivity <a= vi@redhat.com>=D0=B4=B5=C0=A3=BA
On 03/21/2012 03:40 PM, Jan Kiszka wrote:
> On 2012= -03-21 13:38, GaoYi wrote:
> > Hi Jan,
> >
> > &= nbsp;   Since the newest Intel-VT supports the guest OS under the real= mode, which was already supported in AMD-V, can the VMX in the latest KVM = support that case?
>
> Yes, both with our without that "unrestricted guest"= support (as Intel
> called it), real mode will generally work. Witho= ut that CPU feature, I
> think to recall that there were some limitat= ions for big real mode, not
> sure.
>

Yes, big real mode will not work without &q= uot;unrestricted guest".  There
was some work to emulate it (m= odule option emulate_invalid_guest_state),
but it is not complete.

--
error compiling committee.c: too many arguments to function


--0015175900426226b404bbc12893--