Hi list,
I´m not able to use a vTPM in a domU and I cannot figure out what is
going wrong.
I´m using Xen 4.0.1 and prepared kernel dom0 package for debian squeeze.
In the dom0, the TPM is working fine.
So I added to the domU config file the line:
vtpm = [ 'instance=1 backend=0']
ID=1 for the domU instance and ID=0 for the domO instance with the
working TPM.
But when I start domU there is following error:
Error: Device 0 (vtpm) could not be connected. Hotplug scripts not
working.
I dont know whats wrong, the ID´s of the domains are correct
The xend.log File says:
[2011-04-06 11:49:40 2066] DEBUG (DevController:139) Waiting for
devices vtpm.
[2011-04-06 11:49:40 2066] DEBUG (DevController:144) Waiting for 0.
[2011-04-06 11:49:40 2066] DEBUG (DevController:628)
hotplugStatusCallback /local/domain/0/backend/vtpm/8/0/hotplug-status.
[2011-04-06 11:51:20 2066] DEBUG (XendDomainInfo:3053)
XendDomainInfo.destroy: domid=8
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2411) Destroying
device model
[2011-04-06 11:51:21 2066] INFO (image:615) bpal-img device model
terminated
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vfb/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing console/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vtpm/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vtpm, device = vtpm/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2416) No device model
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2418) Releasing devices
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:2424) Removing vtpm/0
[2011-04-06 11:51:21 2066] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vtpm, device = vtpm/0
Anyone has an idea what I could try?
Thank you!
Sebastian