On Mon, Jun 24, 2013 at 1:06 PM, Michael Tokarev <mjt@xxxxxxxxxx> wrote: > 24.06.2013 05:23, Sasha Levin wrote: >> queue = &p9dev->vqs[vq]; >> queue->pfn = pfn; >> - p = guest_flat_to_host(kvm, queue->pfn * page_size); >> + p = guest_flat_to_host(kvm, (u64)queue->pfn * page_size); > > Maybe it's worth to use a common function for this, > something like guest_queue_to_host(kvm, queue) ? Sasha, care to do something like this and resend the patch? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html