On 7/14/2008 3:04:17 AM, Avi Kivity wrote:
> Nakajima, Jun wrote:
> > On 7/13/2008 8:31:44 AM, Avi Kivity wrote:
> >
> > > Avi Kivity wrote:
> > >
> > > > Well, xen and bochs do not push an error code for real mode #GP.
> > > > I tried running the attached test program but it doesn't work on
> > >
Jan Kiszka wrote:
As we execute real mode guests in VM86 mode, exception have to be
reinjected appropriately when the guest triggered them. For this purpose
the patch adopts the real-mode injection pattern used in vmx_inject_irq
to vmx_queue_exception, additionally taking care that the IP is set
Avi Kivity wrote:
> Nakajima, Jun wrote:
>> On 7/13/2008 8:31:44 AM, Avi Kivity wrote:
>>
>>> Avi Kivity wrote:
>>>
Well, xen and bochs do not push an error code for real mode #GP. I
tried running the attached test program but it doesn't work on real
hardware (it does work on
Nakajima, Jun wrote:
On 7/13/2008 8:31:44 AM, Avi Kivity wrote:
Avi Kivity wrote:
Well, xen and bochs do not push an error code for real mode #GP. I
tried running the attached test program but it doesn't work on real
hardware (it does work on bochs).
Jun, perhaps you can clari
On Sun, Jul 13, 2008 at 9:47 PM, Nakajima, Jun <[EMAIL PROTECTED]> wrote:
> On 7/13/2008 8:31:44 AM, Avi Kivity wrote:
>> Avi Kivity wrote:
>> >
>> > Well, xen and bochs do not push an error code for real mode #GP. I
>> > tried running the attached test program but it doesn't work on real
>> > har
On 7/13/2008 8:31:44 AM, Avi Kivity wrote:
> Avi Kivity wrote:
> >
> > Well, xen and bochs do not push an error code for real mode #GP. I
> > tried running the attached test program but it doesn't work on real
> > hardware (it does work on bochs).
> >
>
> Jun, perhaps you can clarify? do #GP excep
Avi Kivity wrote:
Well, xen and bochs do not push an error code for real mode #GP. I
tried running the attached test program but it doesn't work on real
hardware (it does work on bochs).
Jun, perhaps you can clarify? do #GP exceptions in real-mode push an
error code?
--
error compili
Jan Kiszka wrote:
Avi Kivity wrote:
Jan Kiszka wrote:
...
@@ -2234,6 +2252,24 @@ static int handle_rmode_exception(struct
if (((vec == GP_VECTOR) || (vec == SS_VECTOR)) && err_code == 0)
if (emulate_instruction(vcpu, NULL, 0, 0, 0) == EMULATE_DONE)
return
Avi Kivity wrote:
> Jan Kiszka wrote:
...
>> @@ -2234,6 +2252,24 @@ static int handle_rmode_exception(struct
>> if (((vec == GP_VECTOR) || (vec == SS_VECTOR)) && err_code == 0)
>> if (emulate_instruction(vcpu, NULL, 0, 0, 0) == EMULATE_DONE)
>> return 1;
>> +/*
>> +
Jan Kiszka wrote:
As we execute real mode guests in VM86 mode, exception have to be
reinjected appropriately when the guest triggered them. For this purpose
the patch adopts the real-mode injection pattern used in vmx_inject_irq
to vmx_queue_exception, additionally taking care that the IP is set
10 matches
Mail list logo