Skip to contentSkip to conversation

hotplug script change

PATCH New Stefan Berger 1 participant 1 message Apr 6, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hotplug script change

This removes some unnecessary code from the vTPM hotplug scripts.

xen-unstable.hg/tools/examples/vtpm-common.sh +0 -6
Index: 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
[email protected]
http://lists.xensource.com/xen-devel