[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 6/6] pr-manager-helper: report event on connecti

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 6/6] pr-manager-helper: report event on connection/disconnection
Date: Fri, 29 Jun 2018 12:15:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 28/06/2018 22:24, Eric Blake wrote:
> On 06/28/2018 02:57 PM, Paolo Bonzini wrote:
>> Let management know if there were any problems communicating with
>> qemu-pr-helper.  The event is edge-triggered, and is sent every time
>> the connection status of the pr-manager-helper object changes.
> Is this something that guest actions can intentionally trigger, and thus
> cause a DoS attack by flooding the management app with events faster
> than they can process?

No, unless they find a way to crash qemu-pr-helper and libvirt
immediately restarts it.  If anything libvirt could throttle the restart
of the process, or ultimately not restart it at all, but I don't think
it's necessary.


>  If so, this event should use rate-limiting.
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
>>   qapi/block.json          | 24 ++++++++++++++++++++++++
>>   scsi/pr-manager-helper.c | 14 ++++++++++++++
>>   2 files changed, 38 insertions(+)

reply via email to

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