qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used
Date: Thu, 11 Oct 2012 15:34:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 10/11/2012 03:31 PM, Michael S. Tsirkin wrote:
> On Thu, Oct 11, 2012 at 03:27:03PM +0200, Avi Kivity wrote:
>> vhost doesn't support guest iommus yet, indicate it to the user
>> by gently depositing a core on their disk.
>> 
>> Signed-off-by: Avi Kivity <address@hidden>
> 
> Actually there is no problem. virtio bypasses an IOMMU,
> so vhost works fine by writing into guest memory directly.
> 
> So I don't think we need this patch.

The pci subsystem should set up the iommu so that it ignores virtio
devices.  If it does, an emulated iommu will not reach vhost.  If it
doesn't, then it will, and the assert() will alert us that we have a bug.


-- 
error compiling committee.c: too many arguments to function



reply via email to

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