From: Jack Lange Date: Thu, 7 Oct 2010 20:51:13 +0000 (-0500) Subject: 32 bit compatibility fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=759eb7756efd0724a36209bdf2f000d36657d7c7;p=palacios.git 32 bit compatibility fix --- diff --git a/palacios/src/devices/lnx_virtio_symmod.c b/palacios/src/devices/lnx_virtio_symmod.c index 4e55c79..5a64335 100644 --- a/palacios/src/devices/lnx_virtio_symmod.c +++ b/palacios/src/devices/lnx_virtio_symmod.c @@ -547,8 +547,10 @@ static int virtio_load_capsule(struct v3_vm_info * vm, struct v3_sym_capsule * m notifier_desc = &(q->desc[notifier_idx]); - PrintDebug("SYMMOD: Notifier Descriptor (ptr=%p) gpa=%p, len=%d, flags=%x, next=%d\n", notifier_desc, - (void *)(notifier_desc->addr_gpa), notifier_desc->length, notifier_desc->flags, notifier_desc->next); + PrintDebug("SYMMOD: Notifier Descriptor (ptr=%p) gpa=%p, len=%d, flags=%x, next=%d\n", + notifier_desc, (void *)(addr_t)(notifier_desc->addr_gpa), + notifier_desc->length, notifier_desc->flags, + notifier_desc->next); if (v3_gpa_to_hva(&(vm->cores[0]), notifier_desc->addr_gpa, (addr_t *)&(notifier)) == -1) { PrintError("Could not translate receive buffer address\n");