Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1541376pxb; Wed, 10 Feb 2021 10:39:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAlD1QAY/yvwp0hiq6COvsjDeJQNUDK30uBz6/Te5LMcd+S2594Bf/cD4GQJCrFYhF32cy X-Received: by 2002:aa7:d310:: with SMTP id p16mr4661717edq.140.1612982359625; Wed, 10 Feb 2021 10:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612982359; cv=none; d=google.com; s=arc-20160816; b=BpfSYPBXaO+EM2faWs6FK/VSYtFmUiF1M18VZExnkh9VIHOd37soea6BBR6PU3pu7E EjQS3FyGNGBMAzhXtvBtBALntIeIKFPxuew9K6aO5umboUteBLBh4uXdE62g5mzyq/KH pcB8OoPzA91z+sMmsuQc7hENcrlpltilL3HvFGGOrXZGLa277S7nNtARsSugNtOcf5mw 8MuuRZJ10eMrSUGgC5q8gHAVcXlLmLEDVDmtnCZ2+Bo1IfHte0IYejpf1kyxuw7jTmrT yF6TtjLhuVX4YbOtky3AurINgjEEvC6Ktpx4AEUDA6tAm1L8HNp9LR7+jexq2uxPvVr3 CDdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :reply-to:sender:dkim-signature; bh=q+sIuVQJ6KcFkT5QFvyQWYzcdJ2lh3h/xyy/iLNsRYQ=; b=Xb/azM0+dW5VWoM6RF5Tni3ipo48ZdfgVn75Jvpk499vQYZYKoEkMsvKOtGUTVarQL OgvthH79jZjZVosw9yKERB5ZtjV/CVuqRW+o/2R6RltIJvQ/47jERaVxWX3nqG9GpTrC s3k2aVea1H/c94a9QSU+Q3owl8u5eCcRYLxbcmhD1jFKBgoDd4xZWWSR3LZRjpUvSAfd JSkRGU6pAoOeKVbVlotgDaUNiqeoNk8nd7ldZBvaKWMZ5BJCwZEc0Cx0bNzeRIJ4+Gv1 CVXBLOYiiA57B3KXrR5gVRK9OPxaSf3JW73kQ5mP3q8HrXzmVDcUDMolGeXt8IYpUeK7 HY1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=di8qVqiU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk7si1954516ejb.570.2021.02.10.10.38.55; Wed, 10 Feb 2021 10:39:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=di8qVqiU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234343AbhBJShx (ORCPT + 99 others); Wed, 10 Feb 2021 13:37:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234141AbhBJS0z (ORCPT ); Wed, 10 Feb 2021 13:26:55 -0500 Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC5B7C061786 for ; Wed, 10 Feb 2021 10:26:14 -0800 (PST) Received: by mail-qv1-xf49.google.com with SMTP id e9so146518qvf.21 for ; Wed, 10 Feb 2021 10:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:reply-to:date:message-id:mime-version:subject:from:to:cc; bh=q+sIuVQJ6KcFkT5QFvyQWYzcdJ2lh3h/xyy/iLNsRYQ=; b=di8qVqiUnwbZq+drUX5B4zxZ1i2Q93eORZ9i+xxj1lYzZzLPlYGgYljubSs5OY3tFS mYD3hl33pPNMC+maQ5KN8CfmbqqmoOQYr0E/fFKZip9vd/CscLrYAvff2xvLEnyk0loB gNG1WQhQKEBKiOuRQsD9xqjogNHt61/i5hpz573lRwpLmGRmDBbLQPcoRkZJl9Kr7k5j nofOLI/uzrLCKrM8gP6jpHO0hnJ6+OjFb9N4T+r2vsAkErDblZIns4dJ3fPOA8da1WvX B1RsREoFbnqXDGw0hRBspd9eIXSNxDO0rYqXl3HpEaPV2PYejQ65w2po74pXslOOvlNl l3rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:date:message-id:mime-version :subject:from:to:cc; bh=q+sIuVQJ6KcFkT5QFvyQWYzcdJ2lh3h/xyy/iLNsRYQ=; b=ZqGxvAKyHos+Lwl3dIUOSArJA6tF0vbzytShN6WRUUVNOhq9pIGxFUgOzf1L+cWQMz 2bFbF0DiHYsJpbfu/azqbCC9VWxn3ziU5dHSsZAZYEmaODxBozg3/yo83xAnaz+4kx4X KFHgyX57IAWNwl2oTcP6+Y6abUAYe4MQ+SqhXDa/vk9WZPSN49I6n4kr3kyZ3jIVzdIY d53DCL1RMu+HB+Kvra4nu4TPgHZaMCgMJeYKk+XpzpGfpjz65eRJXCKUrH63KWoJCGcR m26ukLKbhRvc7YnixdUXz2pB/EXQGThxvjynSX+KbxWINI02rlaNYpLzgQPOOxVanG5/ 7pEg== X-Gm-Message-State: AOAM532cNHAuONhHMABUvFRuQ+1HgPcpb0nTfDLl06XBAnB4SnfCn8t4 ZVVoGK1/Jf0F3x/Mkwi91TimfrJwfSE= Sender: "seanjc via sendgmr" X-Received: from seanjc798194.pdx.corp.google.com ([2620:15c:f:10:11fc:33d:bf1:4cb8]) (user=seanjc job=sendgmr) by 2002:a0c:fdec:: with SMTP id m12mr3978002qvu.11.1612981574160; Wed, 10 Feb 2021 10:26:14 -0800 (PST) Reply-To: Sean Christopherson Date: Wed, 10 Feb 2021 10:26:04 -0800 Message-Id: <20210210182609.435200-1-seanjc@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.30.0.478.g8a0d178c01-goog Subject: [PATCH 0/5] KVM: x86/xen: Selftest fixes and a cleanup From: Sean Christopherson To: Paolo Bonzini Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, David Woodhouse Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a '40' vs '0x40' bug in the new Xen shinfo selftest, and clean up some other oddities that made root causing the problem far more painful than it needed to be. Note, Paolo already queued a patch from Vitaly that adds the tests to .gitignore[*], i.e. patch 01 can likely be dropped. I included it here for completeness. [*] https://lkml.kernel.org/r/20210129161821.74635-1-vkuznets@redhat.com Sean Christopherson (5): KVM: selftests: Ignore recently added Xen tests' build output KVM: selftests: Fix size of memslots created by Xen tests KVM: selftests: Fix hex vs. decimal snafu in Xen test KVM: sefltests: Don't bother mapping GVA for Xen shinfo test KVM: x86/xen: Explicitly pad struct compat_vcpu_info to 64 bytes arch/x86/kvm/xen.h | 11 ++++++----- tools/testing/selftests/kvm/.gitignore | 2 ++ tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 12 +++++------- tools/testing/selftests/kvm/x86_64/xen_vmcall_test.c | 3 +-- 4 files changed, 14 insertions(+), 14 deletions(-) -- 2.30.0.478.g8a0d178c01-goog