Re: [PATCH] virtio config_ops refactoring

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rusty Russell <rusty@...>
Cc: lguest <lguest@...>, <linux-kernel@...>, Dor Laor <dor.laor@...>, <virtualization@...>
Date: Saturday, November 10, 2007 - 6:08 pm

Rusty Russell wrote:

Okay, I've got some updates that I'm going to send out now to the PCI 
virtio driver but I'll also change it to switch over to a memory 
layout.  It's not the best PCI ABI but I can certainly live with it.


If we're treating the PCI config space as an opaque memory blob, instead 
of as distinct registers, I think it makes more sense to just put it in 
memory.  In the backend, I have to treat it as a memory blob anyway and 
using the PCI config space just means that I have to write all the 
various PIO handlers for the different access sizes.  It's much more 
elegant in my mind just to have the driver provide some memory that the 
host fills out.

Thanks for all the review,

Anthony Liguori


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

Messages in current thread:
Re: [PATCH] virtio config_ops refactoring, Anthony Liguori, (Wed Nov 7, 10:41 pm)
Re: [PATCH] virtio config_ops refactoring, Rusty Russell, (Thu Nov 8, 6:24 pm)
Re: [PATCH] virtio config_ops refactoring, Anthony Liguori, (Thu Nov 8, 6:33 pm)
Re: [PATCH] virtio config_ops refactoring, Rusty Russell, (Fri Nov 9, 7:54 am)
Re: [PATCH] virtio config_ops refactoring, Anthony Liguori, (Fri Nov 9, 7:45 pm)
Re: [PATCH] virtio config_ops refactoring, Rusty Russell, (Sat Nov 10, 3:58 am)
Re: [PATCH] virtio config_ops refactoring, Anthony Liguori, (Sat Nov 10, 6:08 pm)
Re: [Lguest] [PATCH] virtio config_ops refactoring, ron minnich, (Thu Nov 8, 6:47 pm)
Re: [Lguest] [PATCH] virtio config_ops refactoring, Anthony Liguori, (Thu Nov 8, 6:49 pm)