[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] rng-random: implement request queue
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] rng-random: implement request queue |
Date: |
Wed, 3 Feb 2016 19:44:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 03/02/2016 13:36, Amit Shah wrote:
> ... and this can lead to breaking migration (the queue of requests on
> the host needs to be migrated, else the new host will have no idea of
> the queue).
It is already migrated as part of virtio_rng_save's call to virtio_save.
On the loading side, virtio_rng_process condenses all requests into one
and chr_read fills in as many virtqueue buffers as possible from the
single request.
Cancel_requests seems useless.
Paolo