All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcos Simo PIco <marcossp@kth.se>
To: xen-devel@lists.xen.org
Subject: Pv-grub and vTPM PCR extension
Date: Fri, 11 Sep 2015 19:37:39 +0200	[thread overview]
Message-ID: <55F31163.1010605@kth.se> (raw)

Hi all,

I've been playing with vTPMs without any issue. I used to boot guests by 
providing the kernel from dom0. Then I wanted to boot my guests using 
pv-grub. Pv-grub succeeds connecting to the vTPM, however, PCRs are not 
extended. The only PCR reflecting measurements is PCR10 (IMA).

vTPMs seems to work properly in either cases, but I expected PCRs 4-5 to 
be extended when booting with pv-grub. Am I missing something?

This is how the guest's config file looks like:

#PV-GRUB
kernel = '/usr/lib/grub-xen/grub-x86_64-xen.bin'
extra = '(hd0,0)/boot/grub/menu.lst'
root = ''
#PV-GRUB

vcpus = '1'
memory = '3072'
disk=['tap:aio:/root/domu.img,xvda1,w']
name = 'domU'
vif = [ '','bridge=xenbr0']
dhcp = "dhcp"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
vtpm=["backend=vtpm"]

Thanks for any help you can provide.

Best,
Marcos.

                 reply	other threads:[~2015-09-11 17:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55F31163.1010605@kth.se \
    --to=marcossp@kth.se \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.