[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] update status -- vTPM for HVM virtual machine



On April 26, 2016 1:41 PM, Emil Condrea <emilcondrea@xxxxxxxxx> wrote:
>Hi Quan,
>
>How are you ? I want to help you to get upstream the vtpm patches. I followed 
>the emails on xen-devel and I see that the last status was at v8 series
>where Stefano asked to do some refactoring and splitting the patches into 
>refactoring and code changes:
> http://xen.markmail.org/thread/ok3kmc3r7g4t4n26
>
>I don't have very much spare time buy I will do my best.
...
> Of course! It will take a little bit longer since I have to get Amazon Ack on 
> submitting the patches to open source after I change and test them. ( even 
> though I will do this in my spare time )
...


Hi,
I am happy to issue a statement about vTPM status that Emil Condrea will 
continue to commit vTPM for HVM virtual machine.

I archived the QEMU patch set on:
            https://github.com/virt2x/qemu2016vtpm 

Xen patch set on:
            https://github.com/virt2x/xen2016vtpm

Seabios, I think the upstream is working.


Then, you can modify <Xen>/Config.mk to make above trees working on your 
machine.

Dev Tips:
1. You can create VM with cfg (I assume the QEMU root dir is /root/qemu):

...
device_model_version = 'qemu-xen'
device_model_override = "/root/qemu/i386-softmmu/qemu-system-i386"
device_model_args  = ['-d', 'unimp', '-D', '/tmp/qemu.log']
...


2. You can configure and build QEMU as below (I assume the xen dir is 
/root/xen):

./configure --enable-xen --target-list=i386-softmmu \
        --enable-debug --enable-trace-backend=stderr \
        --prefix=/usr/lib/xen \
        --libdir=/usr/lib/xen/lib \
        --includedir=/usr/lib/xen/include \
        --source-path=$source \
        --extra-cflags="-I/root/xen/tools/../tools/include \
        -I/root/xen/tools/../tools/libxc/include \
        -I/root/xen/tools/../tools/xenstore/include \
        -I/root/xen/tools/../tools/xenstore/compat/include" \
        --extra-ldflags="-L/root/xen/tools/../tools/libxc \
        -L/root/xen/tools/../tools/xenstore \
        -Wl,-rpath,/usr/lib/xen/lib" \
        --bindir=/usr/lib/xen/bin \
        --datadir=/usr/share/qemu-xen \
        --localstatedir=/var \
        --enable-tpm \
        --disable-kvm \
        --disable-docs \
        --disable-guest-agent \
        --python=python \
        --cpu=x86_64


3. you'd better upstream QEMU patch first, the rest Xen patch later.


btw,  feel free to add your signature, i.e.,
                         Signed-off-by: Emil Condrea <emilcondrea@xxxxxxxxx> 

even to  these acked patches. IOW, if you like,  you can add your signature to 
all of the patches.
Good luck and have fun:):).

Quan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.