Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Tags more
Archives
Today
Total
관리 메뉴

Pure Software Engineer :)

[XEN] Guest VM에서 vtpm 사용하기 본문

Software Engineering/Linux

[XEN] Guest VM에서 vtpm 사용하기

HelloJaewon 2012. 9. 19. 16:20

xen에서 tpm을 가상화하여 vtpm을 guest에게 제공한다.


이를 사용하기 위해서는 vpm_manager가 있어야 하는데 기본적으로는 없는듯 하다.


xen 컴파일 할때 다음과 같이 옵션을 줘야 함


$ sudo make install-xen VTPM_TOOLS=y


이렇게 하고 리붓하고 나면 /dev/vtpm 이라는게 생겨야 하는거같은데...


난 왜 안생기지?


생겼다면 guest configuration에 다음과 같이 추가한다


vtpm=['backend=0,instance=1']


아래와 같은 메시지가 뜬다면 다시 처음부터...

Error: Device 0 (vtpm) could not be connected. Hotplug scripts not working.


reference

http://www.gossamer-threads.com/lists/xen/users/203862

http://www.scribd.com/doc/80953962/200/Starting-the-vTPM-Manager