|
|
ae23c9 |
From 63eeb9e6385bf7c43f2a8e1321abe0f24950f2cf Mon Sep 17 00:00:00 2001
|
|
|
ae23c9 |
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
|
ae23c9 |
Date: Sun, 16 Dec 2018 17:18:22 +0000
|
|
|
ae23c9 |
Subject: [PATCH] redhat: enable tpmdev passthrough
|
|
|
ae23c9 |
MIME-Version: 1.0
|
|
|
ae23c9 |
Content-Type: text/plain; charset=UTF-8
|
|
|
ae23c9 |
Content-Transfer-Encoding: 8bit
|
|
|
ae23c9 |
|
|
|
ae23c9 |
RH-Author: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
ae23c9 |
Message-id: <20181216171822.5255-2-marcandre.lureau@redhat.com>
|
|
|
ae23c9 |
Patchwork-id: 83531
|
|
|
ae23c9 |
O-Subject: [RHEL8/rhel qemu-kvm PATCH 1/1] redhat: enable tpmdev passthrough
|
|
|
ae23c9 |
Bugzilla: 1654486
|
|
|
ae23c9 |
RH-Acked-by: Ademar de Souza Reis Jr. <areis@redhat.com>
|
|
|
ae23c9 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
ae23c9 |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
ae23c9 |
|
|
|
ae23c9 |
https://bugzilla.redhat.com/show_bug.cgi?id=1654486
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
ae23c9 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
ae23c9 |
---
|
|
|
ae23c9 |
configure | 4 ++++
|
|
|
ae23c9 |
redhat/qemu-kvm.spec.template | 2 +-
|
|
|
ae23c9 |
tests/Makefile.include | 5 +++--
|
|
|
ae23c9 |
3 files changed, 8 insertions(+), 3 deletions(-)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/configure b/configure
|
|
|
ae23c9 |
index 9446f49..139f3c8 100755
|
|
|
ae23c9 |
--- a/configure
|
|
|
ae23c9 |
+++ b/configure
|
|
|
ae23c9 |
@@ -3723,6 +3723,10 @@ if test "$mingw32" != "yes"; then
|
|
|
ae23c9 |
else
|
|
|
ae23c9 |
tpm_emulator=no
|
|
|
ae23c9 |
fi
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
+# RHEL8-specific, only passthrough for now, rhbz#1654486
|
|
|
ae23c9 |
+tpm_emulator=no
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
##########################################
|
|
|
ae23c9 |
# attr probe
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/tests/Makefile.include b/tests/Makefile.include
|
|
|
ae23c9 |
index 1177ca3..d200288 100644
|
|
|
ae23c9 |
--- a/tests/Makefile.include
|
|
|
ae23c9 |
+++ b/tests/Makefile.include
|
|
|
ae23c9 |
@@ -301,8 +301,9 @@ check-qtest-i386-$(CONFIG_VHOST_USER_NET_TEST_i386) += tests/vhost-user-test$(EX
|
|
|
ae23c9 |
ifeq ($(CONFIG_VHOST_USER_NET_TEST_i386),)
|
|
|
ae23c9 |
check-qtest-x86_64-$(CONFIG_VHOST_USER_NET_TEST_x86_64) += tests/vhost-user-test$(EXESUF)
|
|
|
ae23c9 |
endif
|
|
|
ae23c9 |
-check-qtest-i386-$(CONFIG_TPM) += tests/tpm-crb-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-i386-$(CONFIG_TPM) += tests/tpm-tis-test$(EXESUF)
|
|
|
ae23c9 |
+# RHEL8 - disable emulator tests, only passthrough for now
|
|
|
ae23c9 |
+#check-qtest-i386-$(CONFIG_TPM) += tests/tpm-crb-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-i386-$(CONFIG_TPM) += tests/tpm-tis-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-$(CONFIG_POSIX) += tests/test-filter-redirector$(EXESUF)
|
|
|
ae23c9 |
--
|
|
|
ae23c9 |
1.8.3.1
|
|
|
ae23c9 |
|