From xen-devel-bounces@lists.xen.org Mon Sep 16 15:52:03 2013 Received: (at maildrop) by bugs.xenproject.org; 16 Sep 2013 14:52:03 +0000 Received: from lists.xen.org ([50.57.142.19]) by bugs.xenproject.org with esmtp (Exim 4.80) (envelope-from ) id 1VLa9j-00050Z-OU for xen-devel-maildrop-Eithu9ie@bugs.xenproject.org; Mon, 16 Sep 2013 15:52:03 +0100 Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VLa72-0004lH-UO; Mon, 16 Sep 2013 14:49:16 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VLa71-0004lB-Kt for xen-devel@lists.xen.org; Mon, 16 Sep 2013 14:49:15 +0000 Received: from [85.158.137.68:6604] by server-13.bemta-3.messagelabs.com id C1/BD-25971-96A17325; Mon, 16 Sep 2013 14:49:13 +0000 X-Env-Sender: fabio.fantoni@m2r.biz X-Msg-Ref: server-10.tower-31.messagelabs.com!1379342952!442296!1 X-Originating-IP: [209.85.214.47] X-SpamReason: No, hits=2.2 required=7.0 tests=BIZ_TLD,BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 6.9.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31439 invoked from network); 16 Sep 2013 14:49:12 -0000 Received: from mail-bk0-f47.google.com (HELO mail-bk0-f47.google.com) (209.85.214.47) by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 16 Sep 2013 14:49:12 -0000 Received: by mail-bk0-f47.google.com with SMTP id mx12so1563252bkb.34 for ; Mon, 16 Sep 2013 07:49:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=xA+ER962vj5SPR1ASsFhKJq6TPYaCl9DgJJzmJM7E6Q=; b=TgWwE2/QudqyQxWktqBBNNNO/+OqX6NvIrqsCiok41bx4XF8LBduM/q/F07PCnW2d7 2s2MHrtqQg5AaHDklh0yOdI2pK23QG2DWi0v6uuwuKDf7sXb8lKlNeQW5EutrCo7h2Te XoEGglTVnF6glHK72IYXTofKuStmrIC934s6qJM/ovuGARhnLjP2+yRvXI+g+JHSOW+M MwyVeQvoPBsO18VO6OOgkP/9a39j4hHWZPMgbYzMAqDPeP4mr+J35zsgBn7vxlg/XqFU 3JZlO17mkR/xkYkV0uPOXwSOpGKxS/tHoayOEqH47rPbzZydjpycSeI7S/z4Z6Pi/lkD JS4Q== X-Gm-Message-State: ALoCoQk5WBrHyIA1w41oKsyK5+DfccC5mFgJcRpw0+2ssXBdCilQpa2t84h4uFP9mguOpI3pmSot X-Received: by 10.204.224.142 with SMTP id io14mr2556967bkb.27.1379342951912; Mon, 16 Sep 2013 07:49:11 -0700 (PDT) Received: from [192.168.1.26] (ip-73-126.sn2.eutelia.it. [83.211.73.126]) by mx.google.com with ESMTPSA id qg7sm7911804bkb.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 07:49:11 -0700 (PDT) Message-ID: <52371A66.7000705@m2r.biz> Date: Mon, 16 Sep 2013 16:49:10 +0200 From: Fabio Fantoni User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jan Beulich References: <1369813427.22605.38.camel@dagon.hellion.org.uk> <51A68060.7010500@citrix.com> <5237114A.9050201@m2r.biz> <523731B302000078000F3B25@nat28.tlf.novell.com> In-Reply-To: <523731B302000078000F3B25@nat28.tlf.novell.com> Cc: George Dunlap , Andrew Cooper , Keir Fraser , "xen-devel@lists.xen.org" Subject: Re: [Xen-devel] [PATCH] libxl: Remove qxl support for the 4.3 release X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org Il 16/09/2013 16:28, Jan Beulich ha scritto: >>>> On 16.09.13 at 16:10, Fabio Fantoni wrote: >> Il 05/07/2013 18:59, George Dunlap ha scritto: >>> On Wed, May 29, 2013 at 11:25 PM, Andrew Cooper >>> wrote: >>>> On 29/05/2013 08:43, Ian Campbell wrote: >>>>> On Tue, 2013-05-28 at 19:09 +0100, Keir Fraser wrote: >>>>>> On 28/05/2013 17:51, "Ian Jackson" wrote: >>>>>> >>>>>>> George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 >>>>>>> release"): >>>>>>>> The qxl drivers for Windows and Linux end up calling instructions >>>>>>>> that cannot be used for MMIO at the moment. Just for the 4.3 release, >>>>>>>> remove qxl support. >>>>>>>> >>>>>>>> This patch should be reverted as soon as the 4.4 development window opens. >>>>>>>> >>>>>>>> The issue in question: >>>>>>>> >>>>>>>> (XEN) emulate.c:88:d18 bad mmio size 16 >>>>>>>> (XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f >>>>>>>> 19 41 83 e8 403 >>>>>>>> >>>>>>>> The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how >>>>>>>> to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface >>>>>>>> between Xen and qemu at the moment would appear to only allow MMIO accesses >>>>>>>> of 8 bytes. >>>>>>>> >>>>>>>> It's too late in the release cycle to find a fix or a workaround. >>>>>>> Acked-by: Ian Jackson >>>>>> It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, >>>>>> and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq >>>>>> structure that communicates to qemu. >>>>> Are you proposing we do this for 4.3? I'm not sure how big that change >>>>> would be in terms of impact (just that one instruction, any 16 byte >>>>> operand?). >>>>> >>>>> Of course even if we did this for 4.3 we don't know what the next issue >>>>> will be with QXL. >>>>> >>>>> Ian. >>>> Furthermore, AVX instruction emulation would require support for 32byte >>>> operands. I don't see the multi-cycle logic scaling sensibly. >>> Andrew, Keir, Jan, does any one of you fancy taking this on for 4.4? >> Is there someone that can add full support for SSE on hvm domUs? >> Thanks for any reply. > I was intending to take a look whether this can be done without > altering the interface with qemu, in which case I may be able to > get this implemented. But as long as higher priority work keeps > showing up, this will continue to get deferred... > > Jan > Thanks a lot for keep this on your todo list. Please keep me in touch soon as you eventually post any patch on this. I will greatly appreciate and test it. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel