From patchwork Fri Jul 1 11:38:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 71302 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp255637qgy; Fri, 1 Jul 2016 04:42:02 -0700 (PDT) X-Received: by 10.237.35.92 with SMTP id i28mr31751657qtc.85.1467373322889; Fri, 01 Jul 2016 04:42:02 -0700 (PDT) Return-Path: Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com. [209.132.183.37]) by mx.google.com with ESMTPS id d29si2112517qkh.218.2016.07.01.04.42.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2016 04:42:02 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.37 as permitted sender) client-ip=209.132.183.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.37 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u61BcsP8021965; Fri, 1 Jul 2016 07:38:54 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u61BcMMS032595 for ; Fri, 1 Jul 2016 07:38:22 -0400 Received: from colepc.redhat.com (ovpn-116-79.rdu2.redhat.com [10.10.116.79]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u61BcIbX004609; Fri, 1 Jul 2016 07:38:21 -0400 From: Cole Robinson To: libvir-list@redhat.com Date: Fri, 1 Jul 2016 07:38:02 -0400 Message-Id: <0ea62a68215c199ebf37875926690d857efc6635.1467373028.git.crobinso@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 4/4] test: Add scsi vport nodedev to test:///default 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 A nodedev device definition like this is required for testing NodeDeviceCreateXML and NodeDeviceDestroy. So unless it's part of the stock test:///default set there's no way to actually invoke those functions for the default URI --- src/test/test_driver.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.7.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 3f3e405..4f94317 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -466,6 +466,18 @@ static const char *defaultConnXML = " " " " "" +"" +" test-scsi-host-vport" +" computer" +" " +" 1" +" " +" 2000000012341234" +" 1000000012341234" +" " +" " +" " +"" "";