> Craig Metz wrote:
> > In message <49d396ab.6090...@redhat.com>, you write:
> >
> >> Via engineers have contacted me and confirmed that this is a problem in
> >> the processor.
> >>
> >
> > Is there a known-fixed CPU revision?
> >
> > Is there a way to identify working vs. non-working
> Avi Kivity wrote:
> >
> > Will talk to the specification and come up with further tests.
> >
>
> Please printk() vmcs_readl(GUEST_RFLAGS) (where you printk kvm_rip_read()).
>
vmx.c:
2637 static int handle_exception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
2638 {
...
2687 error_c
Am 23.03.2009 schrieb Avi Kivity:
> Okay, the data is already poisoned at this point. We need something
> from earlier in time.
>
> Try adding at the beginning of kvm_handle_exit() (after the three lines
> of declarations):
>
> {
> static int counter;
>
> if (kvm_rip_read
Am 22.03.2009 schrieb Avi Kivity:
> Avi Kivity wrote:
> >
> > The code in question is:
> >
> >3152: fb sti 3153:
> > 55 push %bp
> >
> > *** fault here ***
> >
> >3154: 89 e5 mov%sp,%bp
> >3156:
Am 19.03.2009 schrieb Avi Kivity:
> > [101324.097968] vmx->handle_exception 00 : giving some infos
> > [101324.097973] vmx->handle_exception 01 : vect_info: 0x0
> > [101324.097978] vmx->handle_exception 02 : intr_info: 0x8b0d,
> > is_page_fault()==0
> > [101324.097983] vmx->handle_exception 03
Am 19.03.2009 schrieb Avi Kivity:
>
> This bit is broken. The original code:
>
> if (vcpu->arch.rmode.active &&
> handle_rmode_exception(vcpu, intr_info & INTR_INFO_VECTOR_MASK,
> error_code)) {
>
> Only executes handle_rmode_exception() if rmode.acti
i modded handle_exception as you said :
vmx.c:
...
2637 static int handle_exception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
2638 {
2639 struct vcpu_vmx *vmx = to_vmx(vcpu);
2640 u32 intr_info, ex_no, error_code;
2641 unsigned long cr2, rip, dr6;
2642 u32 ve
> > --> dmesg :
> > [79116.175571] returning from kvm_handle_exit, cause 3, retval = 1,
> > exit_reason = 0
>
> That's an exception or nmi. Next step is to instrument
> handle_exception() and see what happens there. Please print out
> vect_info, intr_info, and kvm_rip_read(vcpu) (all as hex)
Hi!
> >
> > The guest starts up showing the Bochs BIOS POST and stucks giving thousands
> > of lines :
> > [15013.656923] returning from kvm_handle_exit, cause 3, retval = 1
> >
> >
>
> What was the value of exit_reason?
>
kernel/x86/vmx.c:
3211 static int kvm_handle_exit(struct kvm_run *kv