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 @@ -48,6 +48,9 @@ else function vtpm_migrate() { echo "Error: vTPM migration accross machines not implemented." } + function vtpm_migrate_local() { + echo "Error: local vTPM migration not supported" + } function vtpm_migrate_recover() { true } @@ -353,6 +356,8 @@ function vtpm_migration_step() { local res=$(vtpm_isLocalAddress $1) if [ "$res" == "0" ]; then vtpm_migrate $1 $2 $3 + else + vtpm_migrate_local fi } Index: root/xen-unstable.hg/tools/examples/vtpm-impl =================================================================== --- root.orig/xen-unstable.hg/tools/examples/vtpm-impl +++ root/xen-unstable.hg/tools/examples/vtpm-impl @@ -184,3 +184,6 @@ function vtpm_migrate_recover() { echo "Error: Recovery not supported yet" } +function vtpm_migrate_local() { + echo "Error: local vTPM migration not supported" +}