From 00c17863e7d9a4ea25c672c97a8e390440c8f69a Mon Sep 17 00:00:00 2001
From: Toshaan Bharvani <toshaan@vantosh.com>
Date: Thu, 8 Jun 2017 01:10:13 +0200
Subject: [PATCH 1/1] added script to disable smt on ppc64 and ppc64le

---
 src/remote/libvirtd.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
index fbaf02f..690f2f9 100644
--- a/src/remote/libvirtd.service.in
+++ b/src/remote/libvirtd.service.in
@@ -20,6 +20,7 @@ Documentation=http://libvirt.org
 [Service]
 Type=notify
 EnvironmentFile=-/etc/sysconfig/libvirtd
+ExecStarPre=/sbin/ppc64_cpu --smt=off
 ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
 ExecReload=/bin/kill -HUP $MAINPID
 KillMode=process
-- 
2.13.0

