From patchwork Tue Oct 30 04:28:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10660451 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 C92EA13BF for ; Tue, 30 Oct 2018 04:30:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF41D2A187 for ; Tue, 30 Oct 2018 04:30:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0E702A198; Tue, 30 Oct 2018 04:30:26 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 366BF2A187 for ; Tue, 30 Oct 2018 04:30:26 +0000 (UTC) Received: from localhost ([::1]:50683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHLfd-0003Nh-E0 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 30 Oct 2018 00:30:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHLeM-0002Qq-5u for qemu-devel@nongnu.org; Tue, 30 Oct 2018 00:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHLeJ-0001gV-0s for qemu-devel@nongnu.org; Tue, 30 Oct 2018 00:29:06 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:41250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHLeI-0001fn-P3 for qemu-devel@nongnu.org; Tue, 30 Oct 2018 00:29:02 -0400 Received: by mail-pg1-x541.google.com with SMTP id 23-v6so4969539pgc.8 for ; Mon, 29 Oct 2018 21:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=eqBqZK9tAMF21xVaAwzJrhbwKC/0hzQFbtmFBHV87zA=; b=aKVmmnMIsTFz0ag1e1Up5JC1D223ePKEILuycskkRHz4GNQcLakqXrOczTC6kGaP1y ZT26qQqDq++gJ/NBJKa/H6/u/EuiYtVPf84/LYjtBYg3AneGdFG6NRzL+lm8TTOGo2JP UX48ASKarGClCrP4T9oxvLvnes9jLCUX6NUkxhITjXGittVb8Ga4zYgxaza5v2ROMuGV IMkUdTI0nmBLzDBUcM00oMVei3t4C8OgYmhzM+8o6EQi8LUQhGySJc4Lus9hoPX81V7o TThEeeWVAosKDcDY2JEDUKDRTsgPjx1caZppCDxii0l1Glgdzim3JsM8vDywR5CXzjuV g/tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eqBqZK9tAMF21xVaAwzJrhbwKC/0hzQFbtmFBHV87zA=; b=SLj5Dr7h7JvcKBU7+qvaWraa/L3c5uVhJFFxB03z3f+IWHh+uxrWf9Cbsd1J0/KQDQ Z26nEH5Fts2AqoG3Uxw/9OORNjP/0q/StQ6dSL/FOOfkTo2N1Vai+Pam07feHcCQ8jY5 xUXojoj8pDF8VXCyWuG9a27QHkSAz1P7ygqoEncR5S3k00HrwD8YH7wCd2OXGtQpqJ08 t8p4QK4gnsmnhIb+21cMG9/n5Xr0EcxcW2j/HWz3Goao+kcmAT1B/atjuN2z+/7dDSLC MFYiqOpYNy2NT35Ey6a5i7tv08bpmR0gIqeWsDMzArcOEALVhks70Kmo2gcCmyY6A3dn bj2A== X-Gm-Message-State: AGRZ1gKhxD4ay9jAvBk2Y69nQrPzBJtGMC/qlUYU4hPTHHCDUuAiBr9/ HcGqc1yo0/MjckUuncyA5ps= X-Google-Smtp-Source: AJdET5e9qCnnHKw8ltvnBOCnUlQWAApB2yZebPNJk01tUvKukk7gsj3lYREXhB6g+kX6SPrZD1G0ow== X-Received: by 2002:a63:a612:: with SMTP id t18-v6mr16380478pge.338.1540873741740; Mon, 29 Oct 2018 21:29:01 -0700 (PDT) Received: from localhost.localdomain.localdomain ([103.65.40.65]) by smtp.gmail.com with ESMTPSA id 64-v6sm48233059pfq.10.2018.10.29.21.28.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 21:29:01 -0700 (PDT) From: Li Qiang To: pbonzini@redhat.com, thuth@redhat.com, lvivier@redhat.com, philmd@redhat.com Date: Mon, 29 Oct 2018 21:28:50 -0700 Message-Id: <1540873732-3503-1-git-send-email-liq3ea@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::541 Subject: [Qemu-devel] [PATCH v2 0/2] test: 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 , 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 This patchset is the test case for the following patch: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg05254.html v2: Change qfw_cfg_get_file per Philippe's review: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg06340.html Li Qiang (2): tests: fw_cfg: add a function to get the fw_cfg file entry tests: fw_cfg: add reboot_timeout test case tests/fw_cfg-test.c | 10 ++++++++++ tests/libqos/fw_cfg.c | 33 +++++++++++++++++++++++++++++++++ tests/libqos/fw_cfg.h | 2 ++ 3 files changed, 45 insertions(+)