qemu-kvm/0023-RHEL-only-Enable-vTPM-...

42 lines
1.4 KiB
Diff

From c3b099b389455b919b4b22011ed2fa3e7fd49510 Mon Sep 17 00:00:00 2001
From: David Gibson <dgibson@redhat.com>
Date: Wed, 1 Jul 2020 12:24:02 +0200
Subject: RHEL-only: Enable vTPM for POWER in downstream configs
RH-Author: David Gibson <dgibson@redhat.com>
Message-id: <20200522032718.387731-1-dgibson@redhat.com>
Patchwork-id: 96743
O-Subject: [RHEL-AV-8.3.0 qemu-kvm PATCH] RHEL-only: Enable vTPM for POWER in downstream configs
Bugzilla: 1781911
From: David Gibson <david@gibson.dropbear.id.au>
With the rebase to 5.0 we have the necessary code to implement virtual TPMs
for POWER targets. However, it's not enabled in the Red Hat configuration.
This downstream only patch corrects that.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1781911
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=28742072
Testing: With brewed qemu was able to see a vTPM device in a guest
Signed-off-by: David Gibson <dgibson@redhat.com>
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
default-configs/ppc64-rh-devices.mak | 3 +++
1 file changed, 3 insertions(+)
diff --git a/default-configs/ppc64-rh-devices.mak b/default-configs/ppc64-rh-devices.mak
index ecbe53f..032422e 100644
--- a/default-configs/ppc64-rh-devices.mak
+++ b/default-configs/ppc64-rh-devices.mak
@@ -32,3 +32,6 @@ CONFIG_XICS_SPAPR=y
CONFIG_XIVE=y
CONFIG_XIVE_SPAPR=y
CONFIG_XIVE_KVM=y
+CONFIG_TPM_SPAPR=y
+CONFIG_TPM_EMULATOR=y
+CONFIG_TPM_PASSTHROUGH=y
--
1.8.3.1