From patchwork Tue Mar 19 02:30:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10858753 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9441315AC for ; Tue, 19 Mar 2019 02:32:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76EDB29502 for ; Tue, 19 Mar 2019 02:32:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6722329504; Tue, 19 Mar 2019 02:32:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CBDF29502 for ; Tue, 19 Mar 2019 02:32:14 +0000 (UTC) Received: from localhost ([127.0.0.1]:50421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h64Y0-0003iO-U7 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 18 Mar 2019 22:32:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h64Wt-00039F-Cu for qemu-devel@nongnu.org; Mon, 18 Mar 2019 22:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h64Ws-0001OW-II for qemu-devel@nongnu.org; Mon, 18 Mar 2019 22:31:03 -0400 Received: from m12-15.163.com ([220.181.12.15]:56051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h64Wn-0000yK-AB for qemu-devel@nongnu.org; Mon, 18 Mar 2019 22:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=XJctxCzXS7jmukUcRt jGlhTykl19OfqeictYp6Go7G8=; b=Yspdp6OjRuv9CmGXreXpCeOok7885sXDax uZcMEsXol48wVRklj2FCvxwokXLRGObm1Ly0QSJlT8915YieX2xymYWWyvNFaxjv qgvdj4duDD87phsMow9uWKR6gE82xMW3IG7johxRX1ze5XtW4eg29IJ7QxW4AIrc 6yJIpvrIk= Received: from test-VirtualBox.hz.ali.com (unknown [42.120.75.35]) by smtp11 (Coremail) with SMTP id D8CowADnLW1GVJBc54WfAw--.32058S2; Tue, 19 Mar 2019 10:30:31 +0800 (CST) From: Li Qiang To: thuth@redhat.com, lvivier@redhat.com, pbonzini@redhat.com, philmd@redhat.com, lersek@redhat.com, kraxel@redhat.com Date: Tue, 19 Mar 2019 10:30:28 +0800 Message-Id: <20190319023030.947-1-liq3ea@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: D8CowADnLW1GVJBc54WfAw--.32058S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUUmiRDUUUU X-Originating-IP: [42.120.75.35] X-CM-SenderInfo: 5oltjvrd6rljoofrz/1tbiTw18bVsGOUOmZgABs1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.15 Subject: [Qemu-devel] [PATCH 0/2] tests: fw_cfg: add reboot-timeout test case X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Li Qiang , liq3ea@gmail.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP The first patch adds a util function to get the fw_cfg file entry. And second adds the reboot-timeout test case. Li Qiang (2): tests: fw_cfg: add a function to get the fw_cfg file tests: fw_cfg: add reboot_timeout test case tests/fw_cfg-test.c | 15 ++++++++++++++- tests/libqos/fw_cfg.c | 45 +++++++++++++++++++++++++++++++++++++++++++ tests/libqos/fw_cfg.h | 2 ++ 3 files changed, 61 insertions(+), 1 deletion(-)