From: Fabio Fantoni Subject: Re: [PATCH v3 00/18] x86/hvm: I/O emulation cleanup and fix Date: Tue, 23 Jun 2015 16:47:41 +0200 Message-ID: <5589718D.5060505@m2r.biz> References: <1435055997-30017-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z7PUG-0008An-78 for xen-devel@lists.xenproject.org; Tue, 23 Jun 2015 14:47:44 +0000 Received: by wiwl6 with SMTP id l6so68807832wiw.0 for ; Tue, 23 Jun 2015 07:47:42 -0700 (PDT) In-Reply-To: <1435055997-30017-1-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Il 23/06/2015 12:39, Paul Durrant ha scritto: > This patch series re-works much of the code involved in emulation of port > and memory mapped I/O for HVM guests. > > The code has become very convoluted and, at least by inspection, certain > emulations will apparently malfunction. > > The series is broken down into 18 patches (which are also available in > my xenbits repo: http://xenbits.xen.org/gitweb/?p=people/pauldu/xen.git > on the emulation25 branch) as follows: > > 0001-x86-hvm-simplify-hvmemul_do_io.patch > 0002-x86-hvm-remove-hvm_io_pending-check-in-hvmemul_do_io.patch > 0003-x86-hvm-remove-extraneous-parameter-from-hvmtrace_io.patch > 0004-x86-hvm-make-sure-translated-MMIO-reads-or-writes-fa.patch > 0005-x86-hvm-remove-multiple-open-coded-chunking-loops.patch > 0006-x86-hvm-re-name-struct-hvm_mmio_handler-to-hvm_mmio_.patch > 0007-x86-hvm-unify-internal-portio-and-mmio-intercepts.patch > 0008-x86-hvm-add-length-to-mmio-check-op.patch > 0009-x86-hvm-unify-dpci-portio-intercept-with-standard-po.patch > 0010-x86-hvm-unify-stdvga-mmio-intercept-with-standard-mm.patch > 0011-x86-hvm-revert-82ed8716b-fix-direct-PCI-port-I-O-emu.patch > 0012-x86-hvm-only-call-hvm_io_assist-from-hvm_wait_for_io.patch > 0013-x86-hvm-split-I-O-completion-handling-from-state-mod.patch > 0014-x86-hvm-remove-HVMIO_dispatched-I-O-state.patch > 0015-x86-hvm-remove-hvm_io_state-enumeration.patch > 0016-x86-hvm-use-ioreq_t-to-track-in-flight-state.patch > 0017-x86-hvm-always-re-emulate-I-O-from-a-buffer.patch > 0018-x86-hvm-track-large-memory-mapped-accesses-by-buffer.patch > > v2: > - Removed bogus assertion from patch 16 > - Re-worked patch 17 after basic testing of back-port onto XenServer > > v3: > - Addressed comments from Jan > - Re-ordered series to bring a couple of more trivial patches to the > front > - Backport to XenServer (4.5) now passing automated tests > - Tested on unstable with QEMU upstream and trad, with and without > HAP (to force shadow emulation) > > Thanks, I tested this serie emulation25 branch of your git. I not found regression for now but trying qxl linux domUs that before caused qemu crash on sse2 operations now qemu didn't crashed but screen showed nothing and qemu process of domU with cpu at 100% and I'm unable to found details in dom0 about the problem, seems similar to xen-unstable of one year ago. Someone can tell me a way to know if sse2 istructions are now fully working (including operations with videoram) and/or how to debug this problem without nothing that crashes where take datas with gdb? Thanks for any reply and sorry for my bad english.