[{"id":1770061,"web_url":"http://patchwork.ozlabs.org/comment/1770061/","msgid":"<1505730751.10119.8.camel@redhat.com>","list_archive_url":null,"date":"2017-09-18T10:32:31","subject":"Re: [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion","submitter":{"id":589,"url":"http://patchwork.ozlabs.org/api/people/589/","name":"Gerd Hoffmann","email":"kraxel@redhat.com"},"content":"On Fri, 2017-09-15 at 10:40 -0400, Farhan Ali wrote:\n> Virtio GPU code currently only supports litte endian format,\n> and so using the Virtio GPU device on a big endian machine\n> does not work.\n> \n> Let's fix it by supporting the correct host cpu byte order.\n> \n> Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>\n\nReviewed-by: Gerd Hoffmann <kraxel@redhat.com>\n\ncheers,\n  Gerd","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx06.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx06.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=kraxel@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xwj5M4LC0z9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 20:33:10 +1000 (AEST)","from localhost ([::1]:35668 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dttMQ-0000Vf-R4\n\tfor incoming@patchwork.ozlabs.org; Mon, 18 Sep 2017 06:33:06 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:48058)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <kraxel@redhat.com>) id 1dttLz-0000VV-7f\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 06:32:39 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <kraxel@redhat.com>) id 1dttLv-0002b5-8v\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 06:32:39 -0400","from mx1.redhat.com ([209.132.183.28]:51068)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <kraxel@redhat.com>) id 1dttLv-0002Z4-1P\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 06:32:35 -0400","from smtp.corp.redhat.com\n\t(int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 11A49285C1;\n\tMon, 18 Sep 2017 10:32:33 +0000 (UTC)","from sirius.home.kraxel.org (ovpn-116-116.ams2.redhat.com\n\t[10.36.116.116])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id C39CE5C541;\n\tMon, 18 Sep 2017 10:32:32 +0000 (UTC)","from localhost (localhost [IPv6:::1])\n\tby sirius.home.kraxel.org (Postfix) with ESMTP id ED64F20488;\n\tMon, 18 Sep 2017 12:32:31 +0200 (CEST)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 11A49285C1","Message-ID":"<1505730751.10119.8.camel@redhat.com>","From":"Gerd Hoffmann <kraxel@redhat.com>","To":"Farhan Ali <alifm@linux.vnet.ibm.com>, qemu-devel@nongnu.org","Date":"Mon, 18 Sep 2017 12:32:31 +0200","In-Reply-To":"<dc748e15f36db808f90b4f2393bc29ba7556a9f6.1505485574.git.alifm@linux.vnet.ibm.com>","References":"<cover.1505485574.git.alifm@linux.vnet.ibm.com>\n\t<dc748e15f36db808f90b4f2393bc29ba7556a9f6.1505485574.git.alifm@linux.vnet.ibm.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Mime-Version":"1.0","Content-Transfer-Encoding":"7bit","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.16","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.30]);\n\tMon, 18 Sep 2017 10:32:33 +0000 (UTC)","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"Re: [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"borntraeger@de.ibm.com, thuth@redhat.com, cohuck@redhat.com,\n\tpasic@linux.vnet.ibm.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1770132,"web_url":"http://patchwork.ozlabs.org/comment/1770132/","msgid":"<f9f0993c-3486-17b8-6112-b65c880a6f01@linux.vnet.ibm.com>","list_archive_url":null,"date":"2017-09-18T12:39:46","subject":"Re: [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion","submitter":{"id":71051,"url":"http://patchwork.ozlabs.org/api/people/71051/","name":"Farhan Ali","email":"alifm@linux.vnet.ibm.com"},"content":"On 09/18/2017 06:32 AM, Gerd Hoffmann wrote:\n> On Fri, 2017-09-15 at 10:40 -0400, Farhan Ali wrote:\n>> Virtio GPU code currently only supports litte endian format,\n>> and so using the Virtio GPU device on a big endian machine\n>> does not work.\n>>\n>> Let's fix it by supporting the correct host cpu byte order.\n>>\n>> Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>\n>\n> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>\n>\n> cheers,\n>   Gerd\n>\n>\n\nThanks for reviewing it :)","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xwlwF6RxXz9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 22:40:28 +1000 (AEST)","from localhost ([::1]:36351 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dtvLe-0001I4-BX\n\tfor incoming@patchwork.ozlabs.org; Mon, 18 Sep 2017 08:40:26 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:60748)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <alifm@linux.vnet.ibm.com>) id 1dtvLG-0001Fy-VQ\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 08:40:08 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <alifm@linux.vnet.ibm.com>) id 1dtvLB-0002F8-UV\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 08:40:02 -0400","from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47209)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <alifm@linux.vnet.ibm.com>)\n\tid 1dtvLB-0002Dz-L8\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 08:39:57 -0400","from pps.filterd (m0098396.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8ICd8sj117207\n\tfor <qemu-devel@nongnu.org>; Mon, 18 Sep 2017 08:39:51 -0400","from e15.ny.us.ibm.com (e15.ny.us.ibm.com [129.33.205.205])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2d2afwedg5-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <qemu-devel@nongnu.org>; Mon, 18 Sep 2017 08:39:50 -0400","from localhost\n\tby e15.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <qemu-devel@nongnu.org> from <alifm@linux.vnet.ibm.com>;\n\tMon, 18 Sep 2017 08:39:49 -0400","from b01cxnp23032.gho.pok.ibm.com (9.57.198.27)\n\tby e15.ny.us.ibm.com (146.89.104.202) with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted; \n\tMon, 18 Sep 2017 08:39:47 -0400","from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com\n\t[9.57.199.107])\n\tby b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP\n\tid v8ICdkPI28704844; Mon, 18 Sep 2017 12:39:46 GMT","from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id EC252124050;\n\tMon, 18 Sep 2017 08:37:02 -0400 (EDT)","from [9.56.58.73] (unknown [9.56.58.73])\n\tby b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP id D6F5712403D;\n\tMon, 18 Sep 2017 08:37:02 -0400 (EDT)"],"To":"Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org","References":"<cover.1505485574.git.alifm@linux.vnet.ibm.com>\n\t<dc748e15f36db808f90b4f2393bc29ba7556a9f6.1505485574.git.alifm@linux.vnet.ibm.com>\n\t<1505730751.10119.8.camel@redhat.com>","From":"Farhan Ali <alifm@linux.vnet.ibm.com>","Date":"Mon, 18 Sep 2017 08:39:46 -0400","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101\n\tThunderbird/45.7.0","MIME-Version":"1.0","In-Reply-To":"<1505730751.10119.8.camel@redhat.com>","Content-Type":"text/plain; charset=utf-8; format=flowed","Content-Transfer-Encoding":"7bit","X-TM-AS-GCONF":"00","x-cbid":"17091812-0036-0000-0000-0000026C2D6C","X-IBM-SpamModules-Scores":"","X-IBM-SpamModules-Versions":"BY=3.00007756; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000229; SDB=6.00918787; UDB=6.00461564;\n\tIPR=6.00699015; \n\tBA=6.00005594; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;\n\tZB=6.00000000; \n\tZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017195;\n\tXFM=3.00000015; UTC=2017-09-18 12:39:49","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17091812-0037-0000-0000-000041CE7AB5","Message-Id":"<f9f0993c-3486-17b8-6112-b65c880a6f01@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-18_03:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709180183","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]","X-Received-From":"148.163.156.1","Subject":"Re: [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"borntraeger@de.ibm.com, thuth@redhat.com, cohuck@redhat.com,\n\tpasic@linux.vnet.ibm.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]