Re: [PATCH 0/6] virtio: graceful failure with get == NULL

2015-01-19 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: On Tue, Jan 13, 2015 at 04:43:07PM +0200, Michael S. Tsirkin wrote: virtio 1.0 says device configuration is optional, but most drivers treat it as mandatory. Even if presented by device, guest bios might disable the BAR holding that configuration,

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-19 Thread Michael S. Tsirkin
On Mon, Jan 19, 2015 at 12:07:00PM +0100, Gerd Hoffmann wrote: Hi, BTW: is there a tool (or pciutils patch) which can decode the virtio capabilities? Searched for a patch today, and all google found me was this mail asking for one :-o So I went ahead and coded one up. Attached.

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-19 Thread Gerd Hoffmann
Hi, BTW: is there a tool (or pciutils patch) which can decode the virtio capabilities? Searched for a patch today, and all google found me was this mail asking for one :-o So I went ahead and coded one up. Attached. While hacking it up I've noticed spec doesn't match reality. The Virtio

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-19 Thread Gerd Hoffmann
Hi, I'm running 3.19-rc4 with this series applied in the guest, maybe I need more? Tried your vhost branch, rebased to 3.19-rc5 -- same result. Hmm. cheers, Gerd ___ Virtualization mailing list Virtualization@lists.linux-foundation.org

Re: [RFC] virtio-mmio: Update the device to OASIS spec version

2015-01-19 Thread Pawel Moll
On Thu, 2015-01-15 at 19:12 +, Michael S. Tsirkin wrote: +static struct device_attribute vm_dev_attr_version = + __ATTR(version, S_IRUGO, vm_dev_attr_version_show, NULL); + static int virtio_mmio_probe(struct platform_device *pdev)

Re: [RFC] virtio-mmio: Update the device to OASIS spec version

2015-01-19 Thread Michael S. Tsirkin
On Mon, Jan 19, 2015 at 05:45:54PM +, Pawel Moll wrote: On Thu, 2015-01-15 at 19:12 +, Michael S. Tsirkin wrote: +static struct device_attribute vm_dev_attr_version = + __ATTR(version, S_IRUGO, vm_dev_attr_version_show, NULL); +