* [Qemu-devel] update status -- vTPM for HVM virtual machine
@ 2016-04-26 8:35 Xu, Quan
2016-04-26 10:24 ` Wei Liu
0 siblings, 1 reply; 3+ messages in thread
From: Xu, Quan @ 2016-04-26 8:35 UTC (permalink / raw)
To: Wei Liu, Emil Condrea, dgdegra@tycho.nsa.gov,
sstabellini@kernel.org, stefanb@linux.vnet.ibm.com, Stefan Berger,
Xu, Quan
Cc: qemu-devel@nongnu.org, xen-devel@lists.xen.org
On April 26, 2016 1:41 PM, Emil Condrea <emilcondrea@gmail.com> 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@gmail.com>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] update status -- vTPM for HVM virtual machine
2016-04-26 8:35 [Qemu-devel] update status -- vTPM for HVM virtual machine Xu, Quan
@ 2016-04-26 10:24 ` Wei Liu
2016-04-26 10:44 ` Xu, Quan
0 siblings, 1 reply; 3+ messages in thread
From: Wei Liu @ 2016-04-26 10:24 UTC (permalink / raw)
To: Xu, Quan
Cc: Wei Liu, Emil Condrea, dgdegra@tycho.nsa.gov,
sstabellini@kernel.org, stefanb@linux.vnet.ibm.com, Stefan Berger,
qemu-devel@nongnu.org, xen-devel@lists.xen.org
Hi Quan
For avoidance of doubt, this is purely status update, no action is
needed on my part. Let me know if I misunderstood.
Thanks
Wei.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] update status -- vTPM for HVM virtual machine
2016-04-26 10:24 ` Wei Liu
@ 2016-04-26 10:44 ` Xu, Quan
0 siblings, 0 replies; 3+ messages in thread
From: Xu, Quan @ 2016-04-26 10:44 UTC (permalink / raw)
To: Wei Liu
Cc: Emil Condrea, dgdegra@tycho.nsa.gov, sstabellini@kernel.org,
stefanb@linux.vnet.ibm.com, Stefan Berger, qemu-devel@nongnu.org,
xen-devel@lists.xen.org
On April 26, 2016 6:25 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> For avoidance of doubt, this is purely status update, no action is needed on
> my part.
Yes.
> Let me know if I misunderstood.
>
Quan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-26 10:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 8:35 [Qemu-devel] update status -- vTPM for HVM virtual machine Xu, Quan
2016-04-26 10:24 ` Wei Liu
2016-04-26 10:44 ` Xu, Quan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).