[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 )

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:

Xen patch set on:

Seabios, I think the upstream is working.

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

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 

./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 \

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:):).


Xen-devel mailing list



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