qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 08/13] iommu: Introduce IOMMU emulation infrastr


From: Benjamin Herrenschmidt
Subject: Re: [Qemu-devel] [PATCH 08/13] iommu: Introduce IOMMU emulation infrastructure
Date: Wed, 16 May 2012 11:20:16 +1000

On Tue, 2012-05-15 at 19:54 -0500, Anthony Liguori wrote:
> 
> You certainly could do that but it may get a little weird dealing with the 
> return path.  You'd have to return something like -EWOULDBLOCK and make sure 
> you 
> handle that in the dispatch code appropriately.

Hrm, our implementation of kvm_arch_handle_exit() always return "1"
after a hypercall, forcing kvm_cpu_exec() to return back to the thread
loop, so we should be ok to just set env->halted and return no ?

Cheers,
Ben.





reply via email to

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