public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Patch 0/7] RealMode: Support for big real mode
       [not found] <20080527101851.201db183@frecb000711.frec.bull.fr>
@ 2008-05-28  6:50 ` Avi Kivity
  2008-05-28 15:46   ` Anthony Liguori
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2008-05-28  6:50 UTC (permalink / raw)
  To: Guillaume Thouvenin
  Cc: kvm@vger.kernel.org, Anthony Liguori, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

Guillaume Thouvenin wrote:
> Hello, 
>
>   Those patches allow to boot OpenSuse-10.3. The problem with
> Opensuse 10.3 is it uses a version of gfxboot that reads SS after
> switching from real to protected mode, where SS contains an invalid
> value, which VMX does not allow.
>   

Thanks, applied all. I dropped vcpu_sregs_table after all, in favor of 
1:1 mapping of VCPU_SREG_* to the opcode encoding (similar to the 
general purpose registers).

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Patch 0/7] RealMode: Support for big real mode
  2008-05-28  6:50 ` [Patch 0/7] RealMode: Support for big real mode Avi Kivity
@ 2008-05-28 15:46   ` Anthony Liguori
  2008-05-29  9:34     ` Avi Kivity
  0 siblings, 1 reply; 7+ messages in thread
From: Anthony Liguori @ 2008-05-28 15:46 UTC (permalink / raw)
  To: Avi Kivity
  Cc: Guillaume Thouvenin, kvm@vger.kernel.org, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

Avi Kivity wrote:
> Guillaume Thouvenin wrote:
>> Hello,
>>   Those patches allow to boot OpenSuse-10.3. The problem with
>> Opensuse 10.3 is it uses a version of gfxboot that reads SS after
>> switching from real to protected mode, where SS contains an invalid
>> value, which VMX does not allow.
>>   
>
> Thanks, applied all. I dropped vcpu_sregs_table after all, in favor of 
> 1:1 mapping of VCPU_SREG_* to the opcode encoding (similar to the 
> general purpose registers).

There still seems to be an issue with this series.  When running:

sudo qemu-system-x86_64 -hda ./10gig.img -snapshot -cdrom 
isos/ubuntu-7.10-server-amd64.iso -boot dc

Occassionally, I'll get:

kvm_run: failed entry, reason 5
kvm_run returned -8

There's nothing in dmesg though.  Can you reproduce this?  If not, I'll 
dig in some more.

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Patch 0/7] RealMode: Support for big real mode
  2008-05-28 15:46   ` Anthony Liguori
@ 2008-05-29  9:34     ` Avi Kivity
  2008-05-29 11:05       ` Guillaume Thouvenin
  2008-05-29 13:48       ` Anthony Liguori
  0 siblings, 2 replies; 7+ messages in thread
From: Avi Kivity @ 2008-05-29  9:34 UTC (permalink / raw)
  To: Anthony Liguori
  Cc: Guillaume Thouvenin, kvm@vger.kernel.org, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

Anthony Liguori wrote:
> Avi Kivity wrote:
>> Guillaume Thouvenin wrote:
>>> Hello,
>>>   Those patches allow to boot OpenSuse-10.3. The problem with
>>> Opensuse 10.3 is it uses a version of gfxboot that reads SS after
>>> switching from real to protected mode, where SS contains an invalid
>>> value, which VMX does not allow.
>>>   
>>
>> Thanks, applied all. I dropped vcpu_sregs_table after all, in favor 
>> of 1:1 mapping of VCPU_SREG_* to the opcode encoding (similar to the 
>> general purpose registers).
>
> There still seems to be an issue with this series.  When running:
>
> sudo qemu-system-x86_64 -hda ./10gig.img -snapshot -cdrom 
> isos/ubuntu-7.10-server-amd64.iso -boot dc
>
> Occassionally, I'll get:
>
> kvm_run: failed entry, reason 5
> kvm_run returned -8

Occasionally, on boot, or after booting has completed?

This isn't a regression if it's on boot only.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Patch 0/7] RealMode: Support for big real mode
  2008-05-29  9:34     ` Avi Kivity
@ 2008-05-29 11:05       ` Guillaume Thouvenin
  2008-06-05 14:34         ` Avi Kivity
  2008-05-29 13:48       ` Anthony Liguori
  1 sibling, 1 reply; 7+ messages in thread
From: Guillaume Thouvenin @ 2008-05-29 11:05 UTC (permalink / raw)
  To: Avi Kivity
  Cc: Anthony Liguori, kvm@vger.kernel.org, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

On Thu, 29 May 2008 12:34:16 +0300
Avi Kivity <avi@qumranet.com> wrote:

> Anthony Liguori wrote:
> > sudo qemu-system-x86_64 -hda ./10gig.img -snapshot -cdrom 
> > isos/ubuntu-7.10-server-amd64.iso -boot dc
> >
> > Occassionally, I'll get:
> >
> > kvm_run: failed entry, reason 5
> > kvm_run returned -8
> 
> Occasionally, on boot, or after booting has completed?
> 
> This isn't a regression if it's on boot only.

It's only on boot, I never had failure after booting has completed. 

Regards,
Guillaume

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Patch 0/7] RealMode: Support for big real mode
  2008-05-29  9:34     ` Avi Kivity
  2008-05-29 11:05       ` Guillaume Thouvenin
@ 2008-05-29 13:48       ` Anthony Liguori
  1 sibling, 0 replies; 7+ messages in thread
From: Anthony Liguori @ 2008-05-29 13:48 UTC (permalink / raw)
  To: Avi Kivity
  Cc: Guillaume Thouvenin, kvm@vger.kernel.org, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

Avi Kivity wrote:
> Anthony Liguori wrote:
>> Avi Kivity wrote:
>>> Guillaume Thouvenin wrote:
>>>> Hello,
>>>>   Those patches allow to boot OpenSuse-10.3. The problem with
>>>> Opensuse 10.3 is it uses a version of gfxboot that reads SS after
>>>> switching from real to protected mode, where SS contains an invalid
>>>> value, which VMX does not allow.
>>>>   
>>>
>>> Thanks, applied all. I dropped vcpu_sregs_table after all, in favor 
>>> of 1:1 mapping of VCPU_SREG_* to the opcode encoding (similar to the 
>>> general purpose registers).
>>
>> There still seems to be an issue with this series.  When running:
>>
>> sudo qemu-system-x86_64 -hda ./10gig.img -snapshot -cdrom 
>> isos/ubuntu-7.10-server-amd64.iso -boot dc
>>
>> Occassionally, I'll get:
>>
>> kvm_run: failed entry, reason 5
>> kvm_run returned -8
>
> Occasionally, on boot, or after booting has completed?

I'm pretty sure that it's limited to the functionality added by this code.

> This isn't a regression if it's on boot only.

No, I don't think it's a regression.

Regards,

Anthony Liguori


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Patch 0/7] RealMode: Support for big real mode
  2008-05-29 11:05       ` Guillaume Thouvenin
@ 2008-06-05 14:34         ` Avi Kivity
  2008-06-05 22:11           ` Anthony Liguori
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2008-06-05 14:34 UTC (permalink / raw)
  To: Guillaume Thouvenin
  Cc: Anthony Liguori, kvm@vger.kernel.org, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

Guillaume Thouvenin wrote:
> On Thu, 29 May 2008 12:34:16 +0300
> Avi Kivity <avi@qumranet.com> wrote:
>
>   
>> Anthony Liguori wrote:
>>     
>>> sudo qemu-system-x86_64 -hda ./10gig.img -snapshot -cdrom 
>>> isos/ubuntu-7.10-server-amd64.iso -boot dc
>>>
>>> Occassionally, I'll get:
>>>
>>> kvm_run: failed entry, reason 5
>>> kvm_run returned -8
>>>       
>> Occasionally, on boot, or after booting has completed?
>>
>> This isn't a regression if it's on boot only.
>>     
>
> It's only on boot, I never had failure after booting has completed. 
>
>   

It may be due to an interrupt being injected when we are emulating.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Patch 0/7] RealMode: Support for big real mode
  2008-06-05 14:34         ` Avi Kivity
@ 2008-06-05 22:11           ` Anthony Liguori
  0 siblings, 0 replies; 7+ messages in thread
From: Anthony Liguori @ 2008-06-05 22:11 UTC (permalink / raw)
  To: Avi Kivity
  Cc: Guillaume Thouvenin, kvm@vger.kernel.org, Mohammed Gamal,
	Kamble, Nitin A, Marcelo Tosatti, laurent.vivier, Alexander Graf

Avi Kivity wrote:
> Guillaume Thouvenin wrote:
>> On Thu, 29 May 2008 12:34:16 +0300
>> Avi Kivity <avi@qumranet.com> wrote:
>>
>>  
>>> Anthony Liguori wrote:
>>>    
>>>> sudo qemu-system-x86_64 -hda ./10gig.img -snapshot -cdrom 
>>>> isos/ubuntu-7.10-server-amd64.iso -boot dc
>>>>
>>>> Occassionally, I'll get:
>>>>
>>>> kvm_run: failed entry, reason 5
>>>> kvm_run returned -8
>>>>       
>>> Occasionally, on boot, or after booting has completed?
>>>
>>> This isn't a regression if it's on boot only.
>>>     
>>
>> It's only on boot, I never had failure after booting has completed.
>>   
>
> It may be due to an interrupt being injected when we are emulating.

Hrm, doesn't appear to be that.  I added some logging and I'm not 
hitting it.

Regards,

Anthony Liguori


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-06-05 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080527101851.201db183@frecb000711.frec.bull.fr>
2008-05-28  6:50 ` [Patch 0/7] RealMode: Support for big real mode Avi Kivity
2008-05-28 15:46   ` Anthony Liguori
2008-05-29  9:34     ` Avi Kivity
2008-05-29 11:05       ` Guillaume Thouvenin
2008-06-05 14:34         ` Avi Kivity
2008-06-05 22:11           ` Anthony Liguori
2008-05-29 13:48       ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox