From patchwork Tue Jul 10 21:46:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 141655 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4377313ljj; Tue, 10 Jul 2018 14:46:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeD/0wYB883u9jruqlk+CACWVXmVWdT3pmZMyHhZLQiTxD4xfJbeO90wruITuaFhBpiycoH X-Received: by 2002:ac8:460b:: with SMTP id p11-v6mr25519233qtn.418.1531259174083; Tue, 10 Jul 2018 14:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531259174; cv=none; d=google.com; s=arc-20160816; b=GEMm+BNSS/YWe5OIPOLMrLXd9YbqI3ea7na3Osxw5I45GkTABFqqjrc3U0SdsZvcqg FXTHAMnjdQzcNLwTVaNEDrmHv/9RVmnvV16OqXpPOxE7cQVjfwrfDy/TLgW30Iq4HTC7 VDPTYv2gZ6PCMtGxWUUmLchuyqShMy2Qu5aEsLhJa7kFgcGUcNhV1ATSFayL1s1Ui0Ah +NuSuZkDdPZ+58v1qFEAr207TtTLoYH7PNK5goiEvSepeqRKUHovzOtt9N+jQbokdv7a LqzgopLKYwipibjUlfuixfTMfIHftDOexzUVuJ2P9RbkpnJLxtZE0OYZ2o0h13MJDA7b caXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=FxpvOYesKk2m7AZiCmdS2QXwU2Tc0c1P+EnQ3+17CNM=; b=G8CC2XsvKdONbH1gGptkBRpucQEiN2RhtFqiKCORAJl+0UbmIz1ehg7EZreTEx9Ip5 +ZIcGEo6YfV2UR3wHL1FS4/eK75K1eoMx5Tc/Jo5KPKHrEB60y3A2u/RVERcwMm8TqUx X4UeVgwLl8QlabUKjgd+zEoiYhE5PfB38Y9gPw6aSu0gbW0gvENcoQOXIvy4QrZdwZxY Rk0hpZFMwCmYEDBEpiP+ib1X1St/PI3Wj6YvpmdwStM4mj04fVvkybjETZjZ8de19CR3 9vO8yY8JeZ1jWl6w94nSpJcyb3ffnc85S0iYdQUBilu3dBCCZgKFp7UAp+EkZEVY8g7E jVEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id f20-v6si3976956qtp.48.2018.07.10.14.46.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 14:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 81ECF85A05; Tue, 10 Jul 2018 21:46:12 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B0E6B5C542; Tue, 10 Jul 2018 21:46:11 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E79EA4A460; Tue, 10 Jul 2018 21:46:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6ALk7qx023413 for ; Tue, 10 Jul 2018 17:46:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5695321568A0; Tue, 10 Jul 2018 21:46:07 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.bos.redhat.com (dhcp-17-157.bos.redhat.com [10.18.17.157]) by smtp.corp.redhat.com (Postfix) with ESMTP id 27E092156891; Tue, 10 Jul 2018 21:46:07 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Tue, 10 Jul 2018 17:46:00 -0400 Message-Id: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Cc: eskultet@redhat.com Subject: [libvirt] [PATCH v2 0/2] test: Implement virConnectListAllNodeDevices X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 10 Jul 2018 21:46:13 +0000 (UTC) v1: https://www.redhat.com/archives/libvir-list/2018-February/msg01135.html virnodedeviceobj.c generic ListAll infrastructure is not stateless and will try to refresh nodedev scsi/pci/etc. config. Understandable this doesn't play well with the test driver. Trying to untangle it is a bit tough though. This series adds a way to skip touching the host so we can implement ListAllDevices in the test driver, which we want for virt-manager and libvirt-dbus test suites Cole Robinson (2): conf: nodedev: Don't refresh host caps in testdriver test: Implement virConnectListAllNodeDevices src/conf/virnodedeviceobj.c | 13 ++++++++++++- src/conf/virnodedeviceobj.h | 4 ++++ src/test/test_driver.c | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) -- 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Reviewed-by: Erik Skultety