[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [RFC v6 15/22] virtio-iommu: Implement fault reporting
From: |
Jean-Philippe Brucker |
Subject: |
Re: [Qemu-arm] [RFC v6 15/22] virtio-iommu: Implement fault reporting |
Date: |
Wed, 21 Mar 2018 13:15:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Hi Eric,
On 12/02/18 18:58, Eric Auger wrote:
[...]
> + for (;;) {
> + elem = virtqueue_pop(vq, sizeof(VirtQueueElement));
> +
> + if (!elem) {
> + virtio_error(vdev,
> + "no buffer available in event queue to report
> event");
> + return;
> + }
When $user attempts something silly like trying VFIO without the VFIO
patches, this outputs thousands of messages per second... I guess it would
also happen if the driver isn't consuming error reports fast enough. Is
there a simple way of ratelimiting printfs so the context of the error
doesn't get washed away?
Thanks,
Jean
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-arm] [RFC v6 15/22] virtio-iommu: Implement fault reporting,
Jean-Philippe Brucker <=