Re: [PATCH V2] VFIO driver: Non-privileged user level PCI drivers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael S. Tsirkin
Date: Thursday, June 17, 2010 - 2:47 pm

On Thu, Jun 17, 2010 at 02:14:00PM -0700, Tom Lyon wrote:

In that case, I don't see the point of fake config space registers
at all.  For virtualization we need them to run unmodified guest drivers,
but we have an implementation in qemu.  If you write your own custom drivers
for HPC, just get -EPERM from kernel and handle this.



How will hotplug/driver unload work then?


Try describing these use-cases in more detail then.
And given that you want to use this driver for networking,
please copy netdev, not just linux-kernel.



Let's start with hotplug please. This is a really clear-cut issue:
all pci drivers get an event on hotplug and hotunplug, you need
such events for userspace and you need them on day 0, otherwise
userspace which ignores hotplug will get written, and you will
have to support it forever.

-- 
MST
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH V2] VFIO driver: Non-privileged user level PCI ..., Michael S. Tsirkin, (Tue Jun 8, 3:38 pm)
Re: [PATCH V2] VFIO driver: Non-privileged user level PCI ..., Michael S. Tsirkin, (Tue Jun 8, 10:45 pm)
Re: [PATCH V2] VFIO driver: Non-privileged user level PCI ..., Michael S. Tsirkin, (Sun Jun 13, 3:23 am)
Re: [PATCH V2] VFIO driver: Non-privileged user level PCI ..., Michael S. Tsirkin, (Thu Jun 17, 2:47 pm)
Re: [PATCH V2] VFIO driver: Non-privileged user level PCI ..., Michael S. Tsirkin, (Thu Jun 24, 8:03 am)