qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 17/23] qapi: add SEV_MEASUREMENT event


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v6 17/23] qapi: add SEV_MEASUREMENT event
Date: Thu, 1 Feb 2018 09:28:50 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]