mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Right now xen will create a new vtpm instance everytime you start up a domU, even if you specify the instance parameter in your config file. Each vtpm instance is then given a uuid and the vtpm.db file maps instance numbers to uuid numbers. This patch is a hack that lets you explicitly set the uuid of your vtpm instance. Everytime you boot up your domU now the vtpm will get that uuid and thus it will always get the same vtpm instance number instead of being generated a new one. So for example, in your config file you would do something like this vtpm = [ 'backend=0,uuid=dcdb124b-9fed-4040-b149-dd2dfd8d094c' ] Signed-off-by: Matt Fioravante <Matthew.Fioravante@jhuapl.edu>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.