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) ?

Thanks,

/mjt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to