All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Tanz <andreas.tanz@kvt.de>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: KVM on Via Nano (Isaiah) CPUs? <Virus checked>
Date: Wed, 25 Mar 2009 10:45:04 +0100	[thread overview]
Message-ID: <200903251045.04600.andreas.tanz@kvt.de> (raw)
In-Reply-To: <49C7F2E0.3020607@redhat.com>

> 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_code = 0;
2688         rip = kvm_rip_read(vcpu);
2689         unsigned long debug_guest_rflags = vmcs_readl(GUEST_RFLAGS);
2690         printk(KERN_ERR "vmx->handle_exception 0a : kvm_rip_read(vcpu) returned 0x%lx ; vmcs_readl(GUEST_RFLAGS) returned 0x%x
2691         if (intr_info & INTR_INFO_DELIVER_CODE_MASK)
2692                 error_code = vmcs_read32(VM_EXIT_INTR_ERROR_CODE);
...

# dmesg
...
[63930.809295] returning from kvm_handle_exit, cause 3, retval = 0, exit_reason = 30
[63930.809313] vmx->vmx_vcpu_run() 00 : vmcs_read32(VM_ENTRY_INTR_INFO_FIELD) returned 0x0
[63930.809326] returning from kvm_handle_exit, cause 3, retval = 0, exit_reason = 30
[63930.809344] vmx->vmx_vcpu_run() 00 : vmcs_read32(VM_ENTRY_INTR_INFO_FIELD) returned 0x0
[63930.809358] returning from kvm_handle_exit, cause 3, retval = 0, exit_reason = 30
[63930.809376] vmx->vmx_vcpu_run() 00 : vmcs_read32(VM_ENTRY_INTR_INFO_FIELD) returned 0x0
[63930.809388] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason = 7
[63930.809399] vmx->vmx_vcpu_run() 00 : vmcs_read32(VM_ENTRY_INTR_INFO_FIELD) returned 0x80000408
[63930.809412] vmx->handle_exception 00 : giving some infos
[63930.809417] vmx->handle_exception 01 : vect_info: 0x0
[63930.809423] vmx->handle_exception 02 : intr_info: 0x80000b0d, is_page_fault()==0
[63930.809429] vmx->handle_exception 03 : irq_chip_in_kernel()==1
[63930.809434] vmx->handle_exception 04 : is_external_interrupt()==0
[63930.809440] vmx->handle_exception 0a : kvm_rip_read(vcpu) returned 0x3154 ; vmcs_readl(GUEST_RFLAGS) returned 0x33202             <<<<<<<<<<<<<<<<<<<
[63930.809447] vmx->handle_exception 0f : vcpu->arch.rmode.active: 0x1
[63930.809454] vmx->handle_exception 10 : handle_rmode_exception(vcpu, intr_info & INTR_INFO_VECTOR_MASK, error_code) returned 0x1
[63930.809462] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason = 0
[63930.809474] vmx->vmx_vcpu_run() 00 : vmcs_read32(VM_ENTRY_INTR_INFO_FIELD) returned 0x8000040d

  reply	other threads:[~2009-03-25  9:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200903180902.29139.andreas.tanz@kvt.de>
     [not found] ` <200903181810.48603.andreas.tanz@kvt.de>
     [not found]   ` <49C20DEE.9040302@redhat.com>
2009-03-19 10:55     ` KVM on Via Nano (Isaiah) CPUs? <Virus checked> Andreas Tanz
2009-03-19 12:25       ` Avi Kivity
2009-03-19 15:10         ` Andreas Tanz
2009-03-19 15:19           ` Avi Kivity
2009-03-19 15:34             ` Andreas Tanz
2009-03-19 15:48               ` Avi Kivity
2009-03-19 17:05                 ` Andreas Tanz
2009-03-19 17:20                   ` Avi Kivity
2009-03-20 12:37                     ` Andreas Tanz
2009-03-22  8:53                       ` Avi Kivity
2009-03-22  9:03                     ` Avi Kivity
2009-03-23 13:39                       ` Andreas Tanz
2009-03-23 14:08                         ` Avi Kivity
2009-03-23 17:33                           ` Andreas Tanz
2009-03-23 18:41                             ` Avi Kivity
2009-03-23 20:36                               ` Avi Kivity
2009-03-25  9:45                                 ` Andreas Tanz [this message]
2009-03-23 18:50                             ` [PATCH] mm/memory.c:unmap_vmas(): fix NULL * deref john cooper
2009-05-08 19:16 KVM on Via Nano (Isaiah) CPUs? Craig Metz
2009-05-09  9:32 ` Avi Kivity
2009-05-12  6:48   ` KVM on Via Nano (Isaiah) CPUs? <Virus checked> Andreas Tanz
2009-05-12  6:50     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200903251045.04600.andreas.tanz@kvt.de \
    --to=andreas.tanz@kvt.de \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.