Re: [PATCH 5/5] KVM: Allow host IRQ sharing for passed-through PCI 2.3 devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Kiszka
Date: Monday, December 6, 2010 - 9:34 am

Am 06.12.2010 17:21, Avi Kivity wrote:

Userspace just has to synchronize against itself - what it already does:
qemu_mutex, and masking/unmasking is synchronous /wrt the the executing
VCPU. Otherwise, masking/unmasking is naturally racy, also in Real Life.
The guest resolves the remaining races.


I think this is what VFIO does and is surely cleaner than this approach.
But it's not possible with the existing interface (sysfs + KVM ioctls) -
or can you restrict the sysfs access to the config space in such details?

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 5/5] KVM: Allow host IRQ sharing for passed-thr ..., Jan Kiszka, (Mon Dec 6, 9:34 am)