[{"id":1760728,"web_url":"http://patchwork.ozlabs.org/comment/1760728/","msgid":"<20170831080715.GD13619@stefanha-x1.localdomain>","list_archive_url":null,"date":"2017-08-31T08:07:15","subject":"Re: [Qemu-devel] [PATCH v2 07/13] apic: add function to apic that\n\twill be used by hvf","submitter":{"id":2747,"url":"http://patchwork.ozlabs.org/api/people/2747/","name":"Stefan Hajnoczi","email":"stefanha@gmail.com"},"content":"On Wed, Aug 30, 2017 at 03:26:56AM -0500, Sergio Andres Gomez Del Real wrote:\n> This commit adds the function apic_get_highest_priority_irr to\n> apic.c and exports it through the interface in apic.h for use by hvf.\n> \n> Signed-off-by: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>\n> ---\n>  hw/intc/apic.c         | 11 +++++++++++\n>  include/hw/i386/apic.h |  1 +\n>  2 files changed, 12 insertions(+)\n> \n> diff --git a/hw/intc/apic.c b/hw/intc/apic.c\n> index fe15fb6024..3de59d07fd 100644\n> --- a/hw/intc/apic.c\n> +++ b/hw/intc/apic.c\n> @@ -305,6 +305,17 @@ static void apic_set_tpr(APICCommonState *s, uint8_t val)\n>      }\n>  }\n>  \n> +int apic_get_highest_priority_irr(DeviceState *dev)\n\nMissing doc comments.  -1 means no interrupts.","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>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"cMqrsxzk\"; dkim-atps=neutral"],"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 3xjZk816lSz9t1t\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 18:07:58 +1000 (AEST)","from localhost ([::1]:54418 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 1dnKW2-00009s-By\n\tfor incoming@patchwork.ozlabs.org; Thu, 31 Aug 2017 04:07:54 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:39636)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <stefanha@gmail.com>) id 1dnKVX-00008u-6p\n\tfor qemu-devel@nongnu.org; Thu, 31 Aug 2017 04:07:23 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <stefanha@gmail.com>) id 1dnKVS-0008Cm-A5\n\tfor qemu-devel@nongnu.org; Thu, 31 Aug 2017 04:07:23 -0400","from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:37804)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <stefanha@gmail.com>) id 1dnKVS-0008CF-2g\n\tfor qemu-devel@nongnu.org; Thu, 31 Aug 2017 04:07:18 -0400","by mail-wr0-x243.google.com with SMTP id k9so2674249wre.4\n\tfor <qemu-devel@nongnu.org>; Thu, 31 Aug 2017 01:07:18 -0700 (PDT)","from localhost ([51.15.41.238]) by smtp.gmail.com with ESMTPSA id\n\tb70sm6450626wmf.7.2017.08.31.01.07.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 31 Aug 2017 01:07:16 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=rpjWsh5w4K/UdVrN66YCz7hEmdPHrkP8hQMqGC1tEv8=;\n\tb=cMqrsxzkWtwOuxyzAhwuuP/ngKgLpLi6zOlfDWlcXG8ghvLPaV/oFIPP8RLU5Ypuo4\n\t9B28pG5CG/FVvlwn2/Curzl3qi9cm67XyyVS2V+uWrUtsZS7t9LCgwkA4ltap9IoOlMU\n\tl19j1tiWPN4M0Cgsb19v0T3mj1w3G0h3UN2EWZH0C/HLxO128omETljbOu8GR5YGxIcg\n\tRPsUlOx2ujDfhhLrlP8YUOXt4IJPYJeWSlQw5Oeg04ccuo2Vm9zH7Lj99bMlgSTp0z7M\n\t5xdI0MtOIzIKmt0S822WypR+HShs6wwl+F3ixkJWx/Xvl9gdgL88hA8HPi98Nx1YfqQR\n\tibzg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=rpjWsh5w4K/UdVrN66YCz7hEmdPHrkP8hQMqGC1tEv8=;\n\tb=eECj1HXDpLMgtB+hffQgnyam0eVq/w49X3BX3dOjt08t/etG//7wWiCW3PEXCB3Ug4\n\tsD2PVLNMTkwOHTXFFVo0wM+tPHmZB3SVQqvow/AwziLPnWw76X+ZrOSHhYnTosycPGGy\n\tl5NJCr6F91pu9D7Vd0mI14U5I/snBgvIyUYxOGvUJcP8RNbalDIydQM9lOeTnsAV4Lra\n\tKXQW9v6mdHQIQAyeTfxsX2u7oE5YYOg+W3NVYNMuTZtF3+KptyMtB5wgT4L3KraovFLm\n\tW+/tTvOVcVquINth2MUoqanjXhr2phdgZgQeYE4oEOnuFZVK65C/8M401uQ1/7Uv+cM4\n\tK/XA==","X-Gm-Message-State":"AHYfb5giukeU5At3tt5jRGl7kqiqRPw0E+HKn4VT4ZEmacZRaeKp1Y2M\n\taJSXTqPy6pP+nw==","X-Received":"by 10.223.184.196 with SMTP id c4mr2490053wrg.226.1504166837081; \n\tThu, 31 Aug 2017 01:07:17 -0700 (PDT)","Date":"Thu, 31 Aug 2017 09:07:15 +0100","From":"Stefan Hajnoczi <stefanha@gmail.com>","To":"Sergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>","Message-ID":"<20170831080715.GD13619@stefanha-x1.localdomain>","References":"<20170830082702.3011-1-Sergio.G.DelReal@gmail.com>\n\t<20170830082702.3011-8-Sergio.G.DelReal@gmail.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<20170830082702.3011-8-Sergio.G.DelReal@gmail.com>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2a00:1450:400c:c0c::243","Subject":"Re: [Qemu-devel] [PATCH v2 07/13] apic: add function to apic that\n\twill be used by hvf","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":"qemu-devel@nongnu.org","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>"}}]