Displaying 4 results from an estimated 4 matches for "quota_remain".
Did you mean:
quota_domain
2014 Jul 28
2
When I boot two virtio-rng devices, guest will hang
...*buf, size_t size)
offset += len;
virtqueue_push(vrng->vq, &elem, len);
+ trace_virtio_rng_pushed(vrng, len);
}
virtio_notify(vdev, vrng->vq);
}
@@ -81,7 +84,11 @@ static void virtio_rng_process(VirtIORNG *vrng)
quota = MIN((uint64_t)vrng->quota_remaining, (uint64_t)UINT32_MAX);
}
size = get_request_size(vrng->vq, quota);
+
+ trace_virtio_rng_request(vrng, size, quota);
+
size = MIN(vrng->quota_remaining, size);
+
if (size) {
rng_backend_request_entropy(vrng->rng, size, chr_read, vrng);
}
diff --git a...
2014 Jul 28
2
When I boot two virtio-rng devices, guest will hang
...*buf, size_t size)
offset += len;
virtqueue_push(vrng->vq, &elem, len);
+ trace_virtio_rng_pushed(vrng, len);
}
virtio_notify(vdev, vrng->vq);
}
@@ -81,7 +84,11 @@ static void virtio_rng_process(VirtIORNG *vrng)
quota = MIN((uint64_t)vrng->quota_remaining, (uint64_t)UINT32_MAX);
}
size = get_request_size(vrng->vq, quota);
+
+ trace_virtio_rng_request(vrng, size, quota);
+
size = MIN(vrng->quota_remaining, size);
+
if (size) {
rng_backend_request_entropy(vrng->rng, size, chr_read, vrng);
}
diff --git a...
2014 Jul 28
1
When I boot two virtio-rng devices, guest will hang
...n;
>
> virtqueue_push(vrng->vq, &elem, len);
> + trace_virtio_rng_pushed(vrng, len);
> }
> virtio_notify(vdev, vrng->vq);
> }
> @@ -81,7 +84,11 @@ static void virtio_rng_process(VirtIORNG *vrng)
> quota = MIN((uint64_t)vrng->quota_remaining, (uint64_t)UINT32_MAX);
> }
> size = get_request_size(vrng->vq, quota);
> +
> + trace_virtio_rng_request(vrng, size, quota);
> +
> size = MIN(vrng->quota_remaining, size);
> +
> if (size) {
> rng_backend_request_entropy(vrng->rn...
2014 Jul 28
1
When I boot two virtio-rng devices, guest will hang
...n;
>
> virtqueue_push(vrng->vq, &elem, len);
> + trace_virtio_rng_pushed(vrng, len);
> }
> virtio_notify(vdev, vrng->vq);
> }
> @@ -81,7 +84,11 @@ static void virtio_rng_process(VirtIORNG *vrng)
> quota = MIN((uint64_t)vrng->quota_remaining, (uint64_t)UINT32_MAX);
> }
> size = get_request_size(vrng->vq, quota);
> +
> + trace_virtio_rng_request(vrng, size, quota);
> +
> size = MIN(vrng->quota_remaining, size);
> +
> if (size) {
> rng_backend_request_entropy(vrng->rn...