lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANRm+Cwbny5nk-vBaEbZa58A4FcoiULc0HBCnr4VmcTob3w9cQ@mail.gmail.com>
Date:   Thu, 4 May 2017 18:47:27 +0800
From:   Wanpeng Li <kernellwp@...il.com>
To:     Paolo Bonzini <pbonzini@...hat.com>
Cc:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        kvm <kvm@...r.kernel.org>,
        Radim Krčmář <rkrcmar@...hat.com>,
        Wanpeng Li <wanpeng.li@...mail.com>,
        "Michael S . Tsirkin" <mst@...hat.com>,
        Alexander Graf <agraf@...e.de>,
        "Gabriel L. Somlo" <gsomlo@...il.com>
Subject: Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests

2017-05-04 18:37 GMT+08:00 Paolo Bonzini <pbonzini@...hat.com>:
>
>
> On 04/05/2017 11:37, Wanpeng Li wrote:
>>
>> The kvm-unit-tests/vmx.flat fails against instruction(mwait) intercept test.
>>
>> Test suite: instruction intercept
>> Unhandled exception 13 #GP at ip 0000000000402397
>> error_code=0000      rflags=00010012      cs=00000008
>> rax=0000000000000000 rcx=0000000004006172 rdx=0000000000402397 rbx=000000000041427d
>> rbp=0000000007ff8fdf rsi=0000000000000000 rdi=0000000000000004
>>  r8=000000000000000a  r9=00000000000003f8 r10=0000000000000000 r11=0000000000000000
>>  r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
>> cr0=0000000080010031 cr2=0000000000000000 cr3=0000000007fff000 cr4=0000000000002020
>> cr8=0000000000000000
>>       STACK: @402397 401102 400459
>
> The problem is simply that the tests were not clearing eax/ecx/edx.

You are right, thanks for pointing out this. :)

Regards,
Wanpeng Li

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ