qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 1/7] exec: Limit translation limiting in address_


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PULL 1/7] exec: Limit translation limiting in address_space_translate to xen
Date: Wed, 07 May 2014 17:38:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Il 07/05/2014 17:32, Peter Maydell ha scritto:
> Regarding fixing callers, a known one is virtio-scsi which is a bug and on
> my todo list.  But another is VFIO, which cannot accept truncation if the
> IOMMU page size is greater than TARGET_PAGE_SIZE.

The API can't simultaneously allow the implementation to truncate
and guarantee to the caller that we don't truncate, so one of these
has to change, surely?

We can provide a function to return the truncation granularity, and add to VFIO a check that will prevent using VFIO together with Xen.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]