qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings


From: Avi Kivity
Subject: Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings
Date: Sun, 28 Aug 2011 16:14:00 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

On 08/26/2011 12:24 PM, Roedel, Joerg wrote:
>
>  As I see it there are two options: (a) make subsequent accesses from
>  userspace or the guest result in either a SIGBUS that userspace must
>  either deal with or die, or (b) replace the mapping with a dummy RO
>  mapping containing 0xff, with any trapped writes emulated as nops.

The biggest problem with this approach is that it has to happen in the
context of the given process. Linux can't really modify an mm which
which belong to another context in a safe way.


Is use_mm() insufficient?

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




reply via email to

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