Re: Using PCI config space to indicate config location

2012-10-11 Thread Michael S. Tsirkin
On Thu, Oct 11, 2012 at 11:48:22AM +1030, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > On Mon, Oct 08, 2012 at 12:51:25PM +1030, Rusty Russell wrote: > >> Note before anyone gets confused; we were talking about using the PCI > >> config space to indicate what BAR(s) the virtio stuff is

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-11 Thread Michael S. Tsirkin
On Thu, Oct 11, 2012 at 10:33:31AM +1030, Rusty Russell wrote: > Paolo Bonzini writes: > > Il 09/10/2012 06:59, Rusty Russell ha scritto: > >> Paolo Bonzini writes: > >>> Il 05/10/2012 07:43, Rusty Russell ha scritto: > That's good. But virtio_blk's scsi command is insoluble AFAICT. As I >

Re: [PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Paolo Bonzini
Il 11/10/2012 08:41, Bryan Venteicher ha scritto: > This is analogous to commit a1b383870a made by Rusty Russell to all > the VirtIO headers at the time. This eases the use of the header as > is by other OSes. > > Signed-off-by: Bryan Venteicher Acked-by: Paolo Bonzini > --- > include/linux/v

Re: [PATCH] vhost-blk: Add vhost-blk support v2

2012-10-11 Thread Michael S. Tsirkin
On Tue, Oct 09, 2012 at 04:05:18PM +0800, Asias He wrote: > vhost-blk is an in-kernel virito-blk device accelerator. > > Due to lack of proper in-kernel AIO interface, this version converts > guest's I/O request to bio and use submit_bio() to submit I/O directly. > So this version any supports raw

[PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Bryan Venteicher
This is analogous to commit a1b383870a made by Rusty Russell to all the VirtIO headers at the time. This eases the use of the header as is by other OSes. Signed-off-by: Bryan Venteicher --- include/linux/virtio_scsi.h | 28 ++-- 1 file changed, 26 insertions(+), 2 deletio

Re: [PATCH] virtio-pci: use module_pci_driver to simplify the code

2012-10-11 Thread Rusty Russell
Wei Yongjun writes: > From: Wei Yongjun > > Use the module_pci_driver() macro to make the code simpler > by eliminating module_init and module_exit calls. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun Thanks, applied!

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Oct 11, 2012 at 10:33:31AM +1030, Rusty Russell wrote: >> OK. Well, Anthony wants qemu to be robust in this regard, so I am >> tempted to rework all the qemu drivers to handle arbitrary layouts. >> They could use a good audit anyway. > > I agree here. Still

Re: [PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Rusty Russell
Paolo Bonzini writes: > Il 11/10/2012 08:41, Bryan Venteicher ha scritto: >> This is analogous to commit a1b383870a made by Rusty Russell to all >> the VirtIO headers at the time. This eases the use of the header as >> is by other OSes. >> >> Signed-off-by: Bryan Venteicher > > Acked-by: Paolo

Re: Using PCI config space to indicate config location

2012-10-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Oct 11, 2012 at 11:48:22AM +1030, Rusty Russell wrote: >> "Michael S. Tsirkin" writes: >> > On Mon, Oct 08, 2012 at 12:51:25PM +1030, Rusty Russell wrote: >> >> Note before anyone gets confused; we were talking about using the PCI >> >> config space to indic