From patchwork Thu Apr 16 09:41:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wieczorkiewicz, Pawel" X-Patchwork-Id: 11492579 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1E2AB186E for ; Thu, 16 Apr 2020 09:42:51 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF2E221BE5 for ; Thu, 16 Apr 2020 09:42:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.de header.i=@amazon.de header.b="sEft3WfA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF2E221BE5 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jP12A-0005WZ-MQ; Thu, 16 Apr 2020 09:42:10 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jP129-0005WF-By for xen-devel@lists.xen.org; Thu, 16 Apr 2020 09:42:09 +0000 X-Inumbo-ID: 8a4fa7d8-7fc6-11ea-9e09-bc764e2007e4 Received: from smtp-fw-2101.amazon.com (unknown [72.21.196.25]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 8a4fa7d8-7fc6-11ea-9e09-bc764e2007e4; Thu, 16 Apr 2020 09:42:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1587030130; x=1618566130; h=from:to:cc:subject:date:message-id:mime-version; bh=N1PTILdmBfZn0k0Ab+em8z55iCcBPHLG1MBSARH7dyg=; b=sEft3WfAQREuuD+g9jBzjrYb/4rysG/zSJOhqQfvuaXkaeJO49yRnX32 NBnbbgMWGR6vPJCM3wlsvoQCXgp1fiYhhY5zUmhVQp34J8EF0rVEaeuv3 7oTH1SnQ3gpGWot8wQEzhNVQBEjPHPVucU0WqFqfXDMwmsU1/D36TUgEb 4=; IronPort-SDR: C//d8M9DnvYSECCCxrZ9Up9jtF1y54t7U8++eWZJ9svcIKT+TotKIfB1wKTibmdkvwkB35BF+R JOsW0slzsbSw== X-IronPort-AV: E=Sophos;i="5.72,390,1580774400"; d="scan'208";a="26069913" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-4e24fd92.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 16 Apr 2020 09:41:56 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2b-4e24fd92.us-west-2.amazon.com (Postfix) with ESMTPS id 28D05A23D6; Thu, 16 Apr 2020 09:41:55 +0000 (UTC) Received: from EX13D05EUB001.ant.amazon.com (10.43.166.87) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Apr 2020 09:41:54 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D05EUB001.ant.amazon.com (10.43.166.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Apr 2020 09:41:53 +0000 Received: from dev-dsk-wipawel-1a-0c4e6d58.eu-west-1.amazon.com (10.4.134.33) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 16 Apr 2020 09:41:52 +0000 From: Pawel Wieczorkiewicz To: Subject: [XTF 0/4] Small fixes and improvements Date: Thu, 16 Apr 2020 09:41:37 +0000 Message-ID: <20200416094141.65120-1-wipawel@amazon.de> X-Mailer: git-send-email 2.16.6 MIME-Version: 1.0 Precedence: Bulk X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: julien@xen.org, paul@xen.org, semelpaul@gmail.com, andrew.cooper3@citrix.com, Pawel Wieczorkiewicz , nmanthey@amazon.de Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This is the first series of XTF patches I intend to send. It covers some relatively small fixes to handling of PV console by HVM guests, as well as adding serial consol support. Paul Semel (2): Enabled serial writing for hvm guests setup: Setup PV console for HVM guests on xen >4.2 Pawel Wieczorkiewicz (2): lib: Add XEN_MAJOR() and XEN_MINOR() macros lib: always append CR after LF in vsnprintf() arch/x86/setup.c | 34 ++++++++++++++++++++++++++++++++-- common/libc/vsnprintf.c | 10 ++++++++++ common/setup.c | 6 +++++- include/xtf/framework.h | 2 +- include/xtf/lib.h | 3 +++ tests/xsa-213/main.c | 4 ++-- 6 files changed, 53 insertions(+), 6 deletions(-)