vhost: cleanups and fixes
Subsystems (4)
Michael S. Tsirkin
maintainerThe following changes since commit 59a5b0f7bf74f88da6670bcbf924d8cc1e75b1ee:
virtio-pci: alloc only resources actually used. (2015-06-24 08:15:09 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus
for you to fetch changes up to c9ce42f72fd0ba180fd35539829e4139dca31494:
vhost: add max_mem_regions module parameter (2015-07-13 23:17:19 +0300)
----------------------------------------------------------------
virtio/vhost: fixes for 4.2
Bugfixes and documentation fixes. Igor's patch that allows users to tweak memory table size is borderline, but it does fix known crashes, so I merged it.
----------------------------------------------------------------
Cornelia Huck (2):
MAINTAINERS: separate section for s390 virtio drivers virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio
Igor Mammedov (3):
vhost: use binary search instead of linear in find_region()
vhost: extend memory regions allocation to vmalloc
vhost: add max_mem_regions module parameter
Michael S. Tsirkin (2):
virtio_net: document VIRTIO_NET_CTRL_GUEST_OFFLOADS
virtio: define virtio_pci_cfg_cap in header.
Pierre Morel (1):
9p/trans_virtio: reset virtio device on remove
Stephen Rothwell (1):
virtio scsi: fix unused variable warning
Thomas Huth (1):
virtio: Fix typecast of pointer in vring_init()
include/uapi/linux/virtio_net.h | 16 ++++++++
include/uapi/linux/virtio_pci.h | 6 +++
include/uapi/linux/virtio_ring.h | 5 ++-
drivers/s390/{kvm => virtio}/kvm_virtio.c | 0
drivers/s390/{kvm => virtio}/virtio_ccw.c | 0
drivers/scsi/virtio_scsi.c | 4 +-
drivers/vhost/vhost.c | 67 +++++++++++++++++++++++--------
net/9p/trans_virtio.c | 1 +
MAINTAINERS | 10 ++++-
drivers/s390/Makefile | 2 +-
drivers/s390/{kvm => virtio}/Makefile | 0
11 files changed, 91 insertions(+), 20 deletions(-)
rename drivers/s390/{kvm => virtio}/kvm_virtio.c (100%)
rename drivers/s390/{kvm => virtio}/virtio_ccw.c (100%)
rename drivers/s390/{kvm => virtio}/Makefile (100%)Michael S. Tsirkin
maintainerQuoted 12 lines · Michael S. Tsirkin
The following changes since commit
59a5b0f7bf74f88da6670bcbf924d8cc1e75b1ee:virtio-pci: alloc only resources actually used. (2015-06-24 08:15:09 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.gittags/for_linusfor you to fetch changes up to
c9ce42f72fd0ba180fd35539829e4139dca31494:vhost: add
max_mem_regionsmodule parameter (2015-07-13 23:17:19 +0300)
Quoted 8 lines
----------------------------------------------------------------
virtio/vhost: fixes for 4.2Bugfixes and documentation fixes. Igor's patch that allows users to tweak memory table size is borderline, but it does fix known crashes, so I merged it.
Signed-off-by Michael S. Tsirkin <[email protected]>
Ouch. Turns out there was a bug in error handling here. Linus, please don't pull this one yet, I will fix it up and resend. I've deleted the tag for now so it won't get pulled by mistake.
Quoted 38 lines
----------------------------------------------------------------
Cornelia Huck (2):
MAINTAINERS: separate section for s390 virtio drivers virtio/s390: renamedrivers/s390/kvm->drivers/s390/virtioIgor Mammedov (3):
vhost: use binary search instead of linear infind_region()
vhost: extend memory regions allocation to vmalloc
vhost: addmax_mem_regionsmodule parameterMichael S. Tsirkin (2):
virtio_net: documentVIRTIO_NET_CTRL_GUEST_OFFLOADS
virtio: definevirtio_pci_cfg_capin header.Pierre Morel (1):
9p/trans_virtio: reset virtio device on removeStephen Rothwell (1):
virtio scsi: fix unused variable warningThomas Huth (1):
virtio: Fix typecast of pointer invring_init()include/uapi/linux/virtio_net.h | 16 ++++++++ include/uapi/linux/virtio_pci.h | 6 +++ include/uapi/linux/virtio_ring.h | 5 ++- drivers/s390/{kvm => virtio}/kvm_virtio.c | 0 drivers/s390/{kvm => virtio}/virtio_ccw.c | 0 drivers/scsi/virtio_scsi.c | 4 +- drivers/vhost/vhost.c | 67 +++++++++++++++++++++++-------- net/9p/trans_virtio.c | 1 + MAINTAINERS | 10 ++++- drivers/s390/Makefile | 2 +- drivers/s390/{kvm => virtio}/Makefile | 0 11 files changed, 91 insertions(+), 20 deletions(-) rename drivers/s390/{kvm => virtio}/kvm_virtio.c (100%) rename drivers/s390/{kvm => virtio}/virtio_ccw.c (100%) rename drivers/s390/{kvm => virtio}/Makefile (100%)