From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX0lV-00010d-Iy for qemu-devel@nongnu.org; Mon, 17 Jul 2017 03:48:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX0lQ-0006P1-Mp for qemu-devel@nongnu.org; Mon, 17 Jul 2017 03:48:25 -0400 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:36698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX0lQ-0006Ov-Fz for qemu-devel@nongnu.org; Mon, 17 Jul 2017 03:48:20 -0400 Received: by mail-pg0-x242.google.com with SMTP id y129so18575646pgy.3 for ; Mon, 17 Jul 2017 00:48:20 -0700 (PDT) References: <8E78D212B8C25246BE4CE7EA0E645FE501066958@dggemi503-mbs.china.huawei.com> <8E78D212B8C25246BE4CE7EA0E645FE501067051@dggemi503-mbs.china.huawei.com> From: Xiao Guangrong Message-ID: <36075496-773e-e412-6e19-f332d158be53@gmail.com> Date: Mon, 17 Jul 2017 15:48:27 +0800 MIME-Version: 1.0 In-Reply-To: <8E78D212B8C25246BE4CE7EA0E645FE501067051@dggemi503-mbs.china.huawei.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Question] Seabios HANGs when mmio wirte in a nested vmware host wtih virito-scsi controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Xulei (Stone)" , "seabios@seabios.org" , qemu-devel Cc: "Huangweidong (C)" , mst , jasowang , xiaoguangrong , Kevin O'Connor , kraxel , Paolo Bonzini , "wangxin (U)" On 07/17/2017 03:34 PM, Xulei (Stone) wrote: > > On 07/17/2017 11:13 AM, Xulei (Stone) wrote: > > >> |--virtio_queue_empty > >> > >> Then, kmod falls in infinite loop in handle EPT_MISCONFIG. > >> As far as i know, when kvm enters guest after handling EPT_MISCONFIG, seabios should return > >> from mmio write and wait for virtio backend(qemu) to handle this mmio writing. > >> What puzzles me: > >> 1) i can not understand why kvm runs in infinite loop and seabios does not return from writew. > > >From the trace in L1 guest, it did not hang in KVM, as it went into guest mode normally. > > >> 2) kvm nested kvm is ok. But vmware nested kvm is not ok. This problem has anything related > >> with vmware? > >> > > > It is the issue in vmware, i guess the RIP register is not handled correctly. > > BTW, does kvm unit tests run well on nested vmware? > > Sadly, kvm unit tests run fail on nested vmware and make the CentOS 7.3(with kmod 4.4.11) crashed... > Well, so that should be reported to vmware. :-)