On 07/06/2012 03:06 PM, Amit Shah wrote:
On (Tue) 26 Jun 2012 [08:01:20], Anthony Liguori wrote:
>On 06/26/2012 05:48 AM, Amit Shah wrote:
> >On (Mon) 25 Jun 2012 [17:59:28], Anthony Liguori wrote:
> >>On 06/25/2012 05:46 PM, Anthony Liguori wrote:
> >>>From: Amit Shah
> >
> >>>diff --git a
On (Tue) 26 Jun 2012 [08:01:20], Anthony Liguori wrote:
> On 06/26/2012 05:48 AM, Amit Shah wrote:
> >On (Mon) 25 Jun 2012 [17:59:28], Anthony Liguori wrote:
> >>On 06/25/2012 05:46 PM, Anthony Liguori wrote:
> >>>From: Amit Shah
> >
> >>>diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
> >
> >>>+sta
On (Tue) 26 Jun 2012 [08:01:20], Anthony Liguori wrote:
> >>>+/* Send data from a char device over to the guest */
> >>>+static void chr_read(void *opaque, const void *buf, size_t size)
> >>>+{
> >>>+VirtIORNG *vrng = opaque;
> >>>+size_t len;
> >>>+int offset;
> >>>+
> >>>+if (!is
On 06/26/2012 05:48 AM, Amit Shah wrote:
On (Mon) 25 Jun 2012 [17:59:28], Anthony Liguori wrote:
On 06/25/2012 05:46 PM, Anthony Liguori wrote:
From: Amit Shah
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
+static void virtio_rng_class_init(ObjectClass *klass, void *data)
+{
+DeviceC
On (Mon) 25 Jun 2012 [17:59:28], Anthony Liguori wrote:
> On 06/25/2012 05:46 PM, Anthony Liguori wrote:
> >From: Amit Shah
> >diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
> >+static void virtio_rng_class_init(ObjectClass *klass, void *data)
> >+{
> >+DeviceClass *dc = DEVICE_CLASS(klass);
On 06/25/2012 05:46 PM, Anthony Liguori wrote:
From: Amit Shah
The Linux kernel already has a virtio-rng driver, this is the device
implementation.
When the guest asks for entropy from the virtio hwrng, it puts a buffer
in the vq. We then put entropy into that buffer, and push it back to
the g
From: Amit Shah
The Linux kernel already has a virtio-rng driver, this is the device
implementation.
When the guest asks for entropy from the virtio hwrng, it puts a buffer
in the vq. We then put entropy into that buffer, and push it back to
the guest.
Signed-off-by: Amit Shah
Signed-off-by:
From: Amit Shah
The Linux kernel already has a virtio-rng driver, this is the device
implementation.
When the guest asks for entropy from the virtio hwrng, it puts a buffer
in the vq. We then put entropy into that buffer, and push it back to
the guest.
Signed-off-by: Amit Shah
Signed-off-by: