On 02/01/2018 09:25 AM, Brijesh Singh wrote: >>> +{ 'event' : 'SEV_MEASUREMENT', >>> + 'data' : { 'value' : 'str' } } >> >> New event -> automatic question: do we need a way to poll for this >> information? Say when an event could get lost during a libvirt restart. >> > > > In our initial SEV patches for libvirt we ran into similar cases where > the event was dropped on restart, and now leaning towards dropping this > event patch and add a new QMP command which can be used by libvirt to > retrieve the measurement. An event may still be useful to minimize the amount of polling required when the connection is not broken. It's just that any setup that ONLY permits events (and not also polling) is fragile. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature