From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 776A31F758F for ; Mon, 2 Jun 2025 23:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748905728; cv=none; b=ZVwhfTZ1uN7QoYivPksyPoIR3+FEHXfqMsqnMPdYS8dB6oeKR0hNOZe0fwwfRK1GbAUoQi/t7cVT2TDkR6d0KuP+HxD4+VMb0Ghrs/In09VRllNik4uXD3UaB9unySHqd8XHSGx1Yfm+JfYBbpCxZOUYePubN7e9XSCtbvW2jgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748905728; c=relaxed/simple; bh=y7CK+CHQ4DIFwaUvhwVJaZwpnA7dYLCzJMncn8f3CIw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=f2rFbH4G6QFwkIO/36XoRXw6lx3Bewr5yQBxwBoTiolNDWhPmGQiV86iCLwKPMnCuWObAuNW0LzaoNsTnn8kIorUufALUd7yu/pzMWOzy5KmjLyDq8tQ8dhBXBvDox6WAXFvmF7r1h4SXqxTNHdyfBQQ+erBsg1buuUHB1DIVus= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=dfw3+feS; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dfw3+feS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1748905725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iW7eQbhNtrqZPgemUDJnWAZIpC6bLn6AnaOnx0AQ+H8=; b=dfw3+feSP85+zyng+xBHX0mT+vzNjVsw90HqWOzVBw587VlmmDsi+0q14MtiSS+dM+sS2U H0D9TzqDtYD1qyfpSWcl+wp/T5X0qZK717HwyNNBmHVIgj9Mxpgqm0DDha9Pf1zDjeldlb ec6KNwGbjLCDdPJiBMmDKhtS7x7s4eI= Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-619-IupI0QBQM_mJ3OfU6UNFsg-1; Mon, 02 Jun 2025 19:08:44 -0400 X-MC-Unique: IupI0QBQM_mJ3OfU6UNFsg-1 X-Mimecast-MFC-AGG-ID: IupI0QBQM_mJ3OfU6UNFsg_1748905724 Received: by mail-io1-f69.google.com with SMTP id ca18e2360f4ac-86cab5d8ccaso34040439f.0 for ; Mon, 02 Jun 2025 16:08:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748905723; x=1749510523; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iW7eQbhNtrqZPgemUDJnWAZIpC6bLn6AnaOnx0AQ+H8=; b=pqAHX6LQhpCFxDw81Dbx1G44uipsn9yUbCaeqCV4dAMXHhyUYl0NjI9ewh5VhPkXOO w8ghijRqRaCu1l4CP4ujdLmppOa8SX0Zefuq7Bbf2Ue+Z9MQZDIeqlUyGh8zZsO2OP2U bhUPmlExF23As3Fp9Psym2R49GrX+5pHwqb9i77UuzTZzHuDGiCzG5r/iQ1W+4A8l99f 46WZMXP6SfJ3RBicFPax7zBfspSH25FMbagLH8xeHrXDUMquynBK4J/EcSSTYsZW52Z2 3/8iM9OcxgUaPTMrqDuQkM6VUU9mvWnGGsVgtUFyLHVrrGJYr8oa4Aa+VHDLWddXRNZV UMNw== X-Forwarded-Encrypted: i=1; AJvYcCWacaHX46FZw1GovsyjtcezokHJJvLhN0wEof4C70mgpiNZlh+KiWoXd4ieJ1o3699HmIc=@vger.kernel.org X-Gm-Message-State: AOJu0YxVl21aU4zrtzWN8qQaGuvAFix3UAcIlFuRaOW5MuDQYfpd87gx feGhagGSYXvECAk3L7yzFb4dg0zNOPadQ8AiriNZFOXOTUt4cJ5OIOMLdinMOmHUTxRWn4NwzU1 psWdaUwNObPFRitOVFNZCAwEjUKjgZr4URzSHqafGO4eKi6UsmkB3sA== X-Gm-Gg: ASbGncuguh9t7SAc6AM7XId8DqTCdUl1ALlq2UFQCDwuaWzNYwQT8G9qhAoWCOmUnPH N8ld3HbYlcEnzTgHk5Zpa+7OzHEVMugvjEokEYzio7Lydl7/NLMJogzvxOkNVhSvebvnxik8BAg vMsEQuSHarV1DDvl0IPaKa3uPAsVTHgKXkBqDUZqT/2vL3f33Dl77xmM5KMPecZpci7FVwdp24T f7GulI5Mw6+MN5u3pjtLD0AweRMvMMk2IqwACdjlJKRxCNqTAxaTZGL2/GfOpcHsKNbxSt02Dh4 QlNIThQneCZOR3oyxALKjQpJ6g== X-Received: by 2002:a05:6e02:104e:b0:3dd:b4b5:5c8a with SMTP id e9e14a558f8ab-3ddb4b55d51mr8685775ab.6.1748905723638; Mon, 02 Jun 2025 16:08:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGvUb6ER8Q4QD7RqCJtOiVCn3ySFqrXy3Hx1BKfIFFt0szxNE8YsrkqbCvLqmMnmnDTAvuqw== X-Received: by 2002:a05:6e02:104e:b0:3dd:b4b5:5c8a with SMTP id e9e14a558f8ab-3ddb4b55d51mr8685645ab.6.1748905723308; Mon, 02 Jun 2025 16:08:43 -0700 (PDT) Received: from redhat.com ([38.15.36.11]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3dd935a7aa4sm24182885ab.71.2025.06.02.16.08.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jun 2025 16:08:41 -0700 (PDT) Date: Mon, 2 Jun 2025 17:08:39 -0600 From: Alex Williamson To: David Matlack Cc: Shuah Khan , Paolo Bonzini , Vinod Koul , Fenghua Yu , "Masami Hiramatsu (Google)" , Adhemerval Zanella , Jiri Olsa , Andrii Nakryiko , Wei Yang , Bjorn Helgaas , Takashi Iwai , Greg Kroah-Hartman , Pierre-Louis Bossart , Andy Shevchenko , FUJITA Tomonori , WangYuli , Sean Christopherson , Andrew Jones , Claudio Imbrenda , Eric Auger , Josh Hilke , linux-kselftest@vger.kernel.org, kvm@vger.kernel.org, Jason Gunthorpe , Kevin Tian , Vipin Sharma , Pasha Tatashin , Saeed Mahameed , Adithya Jayachandran , Parav Pandit , Leon Romanovsky , Vinicius Costa Gomes , Dave Jiang , Dan Williams Subject: Re: [RFC PATCH 04/33] vfio: selftests: Test basic VFIO and IOMMUFD integration Message-ID: <20250602170839.4fe2a914.alex.williamson@redhat.com> In-Reply-To: <20250523233018.1702151-5-dmatlack@google.com> References: <20250523233018.1702151-1-dmatlack@google.com> <20250523233018.1702151-5-dmatlack@google.com> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.43; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 23 May 2025 23:29:49 +0000 David Matlack wrote: > +int main(int argc, char *argv[]) > +{ > + char *bdf; > + > + if (argc != 2) { > + printf("Usage: %s bus:device:function\n", argv[0]); segment:bus:device.function? > + return 1; 1 or KSFT_FAIL? Thanks, Alex > + } > + > + bdf = argv[1]; > + set_cdev_path(bdf); > + printf("Using cdev device %s\n", cdev_path); > + > + return test_harness_run(1, argv); > +}