From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: =?UTF-8?Q?Re:_=e7=ad=94=e5=a4=8d:_I'm_now_looking_into_kvm-unit-tes?= =?UTF-8?Q?ts_and_encounted_with_some_problems.?= Date: Mon, 7 Sep 2015 14:32:08 +0200 Message-ID: <55ED83C8.4070309@redhat.com> References: <55DC70BE.6030704@huawei.com> <615092B2FD0E7648B6E4B43E029BCFB85338F32F@SZXEMA503-MBS.china.huawei.com> <45045983.8807658.1440579336562.JavaMail.zimbra@redhat.com> <55DDA325.8050900@huawei.com> <55E66DFB.1020204@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: drjones@redhat.com, "Huangpeng (Peter)" , "Gonglei (Arei)" , Zhanghailiang , kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: Guoyanjuan , "Jinjian (Ken)" , Levente Kurusa Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44036 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbbIGMcO (ORCPT ); Mon, 7 Sep 2015 08:32:14 -0400 In-Reply-To: <55E66DFB.1020204@huawei.com> Sender: kvm-owner@vger.kernel.org List-ID: On 02/09/2015 05:33, Guoyanjuan wrote: > Hi, I found my code is old and I git the latest code from > https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git, > some problems are solved but one. > > when I run emulate unittest, it failed. > > command: > qemu-kvm --enable-kvm -device pc-testdev -device > isa-debug-exit,iobase=0xf4,iosize=0x4 -serial stdio -device > pci-testdev -kernel x86/emulator.flat -vnc none > > logs: > FAIL: mov null, %ss Lucas Meneghel Rodrigues also reproduced this, it seems to be processor dependent. I haven't debugged it yet because it doesn't reproduce on the two systems I've tested on (Ivy Bridge i7 and Haswell Xeon E5). Can you please also try loading the kvm-intel module with the "unrestricted_guest=0" parameter, and see if it also reproduce? It might be a processor bug too. Paolo