thebeanogamer / rpms / qemu-kvm

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