On Wed, Aug 28, 2013 at 03:18:39AM +0000, Xie, Huawei wrote: > I am developing virtio user space poll mode network driver. We allocate vring > physical memory from huge page. On VMs with less than 4GB memory, it works > well. But on VMs with like 8GB memory, huge page are all allocated from high > end memory. > So would virtio support 64bit address for vring virtqueue?
The vring takes guest physical addresses and the C type is __u64 (see /usr/include/linux/virtio_ring.h). 64-bit addresses are fine. Stefan