[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] [vTPM] hotplug script change


This removes some unnecessary code from the vTPM hotplug scripts.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>


Index: root/xen-unstable.hg/tools/examples/vtpm-common.sh
===================================================================
--- root.orig/xen-unstable.hg/tools/examples/vtpm-common.sh
+++ root/xen-unstable.hg/tools/examples/vtpm-common.sh
@@ -261,12 +261,6 @@ function vtpm_create_instance () {
 
 	if [ "$REASON" == "create" ]; then
 		vtpm_reset $instance
-	elif [ "$REASON" == "resume" ]; then
-		vtpm_setup $instance
-	else
-		#default case for 'now'
-		#vtpm_reset $instance
-		true
 	fi
 	xenstore_write $XENBUS_PATH/instance $instance
 }
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


This mailing list archive is a service of Copilotco.