Re: [Qemu-devel] [PATCH v5 3/6] Qemu-Xen-vTPM: Xen frontend driver infrastructure

2015-04-15 Thread Daniel De Graaf
buf_size as the maximum value it can be assigned. + +memcpy(buf, offset + (uint8_t *)shr, shr->length); use length rather than shr->length otherwise length goes unused. Agreed; the values from the shared page should not be read more than once, because an uncooperative peer could end up changing them. -- Daniel De Graaf National Security Agency

[Qemu-devel] Re: [PATCH v2] xen: Add grant reference support to framebuffer/input

2011-03-08 Thread Daniel De Graaf
On 03/08/2011 04:04 PM, Jan Kiszka wrote: > On 2011-03-08 21:29, Daniel De Graaf wrote: >> Request and support using grant references in backends for >> the Xen kbdmouse and framebuffer devices. > > You should pass your patch through scripts/checkpatch.pl and fix the >

[Qemu-devel] [PATCH v2] xen: Add grant reference support to framebuffer/input

2011-03-08 Thread Daniel De Graaf
Request and support using grant references in backends for the Xen kbdmouse and framebuffer devices. Signed-off-by: Daniel De Graaf --- Changes since v1: Fixed gntdev device dependency missing from device flags. hw/xenfb.c | 105

[Qemu-devel] [PATCH] xen: Add grant reference support to framebuffer/input

2011-03-07 Thread Daniel De Graaf
Request and support using grant references in backends for the keyboard and framebuffer. Signed-off-by: Daniel De Graaf --- hw/xenfb.c | 103 1 files changed, 76 insertions(+), 27 deletions(-) diff --git a/hw/xenfb.c b/hw/xenfb.c