Skip to contentSkip to conversation

lguest and virtio patches

GIT PULL Rusty Russell 2 participants 5 messages Jul 23, 2008 – Jul 25, 2008 virtio core

lore
Share & tools
lore
#0 lore raw

(Note the arch/s390 bit is from virtio console on KVM/s390)

The following changes since commit 0988c37c248e824953d95a11412696c348dbca91:
Linus Torvalds (1):

        Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip

are available in the git repository at:

ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master

Andrew Morton (1):
lguest: use cpu capability accessors

Christian Borntraeger (5):
virtio_blk: check for hardsector size from host
hvc_console: rework setup to replace irq functions with callbacks
virtio_console: use virtqueue notification for hvc_console
virtio: console as a config option
s390: use virtio_console for KVM on s390

Herbert Xu (2):
virtio net: Add ethtool ops for SG/GSO
virtio net: Allow receiving SG packets

Johannes Weiner (1):
lguest: fix switcher_page leak on unload

Mark McLoughlin (4):
virtio: fix virtio_net xmit of freed skb bug
lguest: Don't leak /dev/zero fd
lguest: Support assigning a MAC address
virtio: Use bus_type probe and remove methods

Rusty Russell (19):
virtio: Recycle unused recv buffer pages for large skbs in net driver
lguest: set max_pfn_mapped, growl loudly at Yinghai Lu
lguest: Guest int3 fix
lguest: Debugging patch for lguest network performance
lguest: fix verbose printing of device features.
lguest: virtio-rng support
virtio: clarify that ABI is usable by any implementations
virtio: don't always force a notification when ring is full
lguest: wrap last_avail accesses.
lguest: net block unneeded receive queue update notifications
lguest: Tell Guest net not to notify us on every packet xmit
lguest: Adaptive timeout
virtio: Formally reserve bits 28-31 to be 'transport' features.
virtio: Rename set_features to finalize_features
virtio: Add transport feature handling stub for virtio_ring.
lguest: Remove 'network: no dma buffer!' warning
lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
lguest: Enlarge virtio rings
lguest: turn Waker into a thread, not a process

 Documentation/lguest/lguest.c         |  531 ++++++++++++++++++++++++--------
 arch/s390/Kconfig                     |    1 +
 arch/s390/kernel/setup.c              |    4 +-
 arch/x86/lguest/boot.c                |    3 +
 drivers/block/virtio_blk.c            |   10 +-
 drivers/char/Kconfig                  |   11 +-
 drivers/char/Makefile                 |    1 +
 drivers/char/hvc_console.c            |   85 ++----
 drivers/char/hvc_console.h            |   35 ++-
 drivers/char/hvc_irq.c                |   44 +++
 drivers/char/hvc_iseries.c            |    2 +
 drivers/char/hvc_vio.c                |    2 +
 drivers/char/hvc_xen.c                |    2 +
 drivers/char/virtio_console.c         |   40 ++-
 drivers/lguest/core.c                 |    1 +
 drivers/lguest/interrupts_and_traps.c |   24 +-
 drivers/lguest/lguest_device.c        |   14 +-
 drivers/lguest/x86/core.c             |    4 +-
 drivers/net/virtio_net.c              |  114 ++++++-
 drivers/s390/kvm/kvm_virtio.c         |   34 ++-
 drivers/virtio/virtio.c               |   26 +-
 drivers/virtio/virtio_pci.c           |   13 +-
 drivers/virtio/virtio_ring.c          |   22 ++-
 include/asm-s390/kvm_virtio.h         |   10 +
 include/linux/virtio_9p.h             |    2 +
 include/linux/virtio_balloon.h        |    2 +
 include/linux/virtio_blk.h            |    5 +
 include/linux/virtio_config.h         |   16 +-
 include/linux/virtio_console.h        |    2 +
 include/linux/virtio_net.h            |    2 +
 include/linux/virtio_pci.h            |    5 +-
 include/linux/virtio_ring.h           |    2 +
 include/linux/virtio_rng.h            |    2 +
 33 files changed, 805 insertions(+), 266 deletions(-)
 create mode 100644 drivers/char/hvc_irq.c
#1 lore raw
Quoted 10 lines · Rusty Russell

(Note the arch/s390 bit is from virtio console on KVM/s390)

The following changes since commit 0988c37c248e824953d95a11412696c348dbca91:
Linus Torvalds (1):

        Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip

are available in the git repository at:

ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master

...

Quoted 8 lines

Rusty Russell (19):
virtio: Recycle unused recv buffer pages for large skbs in net driver
lguest: set max_pfn_mapped, growl loudly at Yinghai Lu
lguest: Guest int3 fix
lguest: Debugging patch for lguest network performance
lguest: fix verbose printing of device features.
lguest: virtio-rng support
virtio: clarify that ABI is usable by any implementations

Quoted 8 lines

virtio: don't always force a notification when ring is full
lguest: wrap last_avail accesses.
lguest: net block unneeded receive queue update notifications
lguest: Tell Guest net not to notify us on every packet xmit
lguest: Adaptive timeout
virtio: Formally reserve bits 28-31 to be 'transport' features.
virtio: Rename set_features to finalize_features
virtio: Add transport feature handling stub for virtio_ring.

This last one introduces a compile failure; fixup patch below.

Cheers,
Mark.

Subject: [PATCH] virtio: Fix compile error

Include virtio_config.h to fix:

drivers/virtio/virtio_ring.c: In function ‘vring_transport_features’:
drivers/virtio/virtio_ring.c:331: error: ‘VIRTIO_TRANSPORT_F_START’ undeclared (first use in this function) drivers/virtio/virtio_ring.c:331: error: (Each undeclared identifier is reported only once drivers/virtio/virtio_ring.c:331: error: for each function it appears in.) drivers/virtio/virtio_ring.c:331: error: ‘VIRTIO_TRANSPORT_F_END’ undeclared (first use in this function) make[1]: *** [drivers/virtio/virtio_ring.o] Error 1
make: *** [drivers/virtio/] Error 2

The include is added by a later patch in Rusty's queue which wasn't submitted, hence it only coming to light now.

---
 drivers/virtio/virtio_ring.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/virtio/virtio_ring.c +1 -0
index e2671d5..6eb5303 100644
@@ -18,6 +18,7 @@
  */
 #include <linux/virtio.h>
 #include <linux/virtio_ring.h>
+#include <linux/virtio_config.h>
 #include <linux/device.h>
 
 #ifdef DEBUG
Signature · 6 lines
1.5.5.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization
#2 lore raw
In reply to Rusty Russell
Quoted 10 lines · Rusty Russell

(Note the arch/s390 bit is from virtio console on KVM/s390)

The following changes since commit 0988c37c248e824953d95a11412696c348dbca91:
Linus Torvalds (1):

        Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip

are available in the git repository at:

ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master

...

Quoted 8 lines

Rusty Russell (19):
virtio: Recycle unused recv buffer pages for large skbs in net driver
lguest: set max_pfn_mapped, growl loudly at Yinghai Lu
lguest: Guest int3 fix
lguest: Debugging patch for lguest network performance
lguest: fix verbose printing of device features.
lguest: virtio-rng support
virtio: clarify that ABI is usable by any implementations

Quoted 8 lines

virtio: don't always force a notification when ring is full
lguest: wrap last_avail accesses.
lguest: net block unneeded receive queue update notifications
lguest: Tell Guest net not to notify us on every packet xmit
lguest: Adaptive timeout
virtio: Formally reserve bits 28-31 to be 'transport' features.
virtio: Rename set_features to finalize_features
virtio: Add transport feature handling stub for virtio_ring.

This last one introduces a compile failure; fixup patch below.

Cheers,
Mark.

Subject: [PATCH] virtio: Fix compile error

Include virtio_config.h to fix:

drivers/virtio/virtio_ring.c: In function ‘vring_transport_features’:
drivers/virtio/virtio_ring.c:331: error: ‘VIRTIO_TRANSPORT_F_START’ undeclared (first use in this function) drivers/virtio/virtio_ring.c:331: error: (Each undeclared identifier is reported only once drivers/virtio/virtio_ring.c:331: error: for each function it appears in.) drivers/virtio/virtio_ring.c:331: error: ‘VIRTIO_TRANSPORT_F_END’ undeclared (first use in this function) make[1]: *** [drivers/virtio/virtio_ring.o] Error 1
make: *** [drivers/virtio/] Error 2

The include is added by a later patch in Rusty's queue which wasn't submitted, hence it only coming to light now.

---
 drivers/virtio/virtio_ring.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/virtio/virtio_ring.c +1 -0
index e2671d5..6eb5303 100644
@@ -18,6 +18,7 @@
  */
 #include <linux/virtio.h>
 #include <linux/virtio_ring.h>
+#include <linux/virtio_config.h>
 #include <linux/device.h>
 
 #ifdef DEBUG
Signature · 1 line
1.5.5.1
#3 lore raw
Quoted 3 lines · On Friday 25 July 2008 01:58:53 Mark McLoughlin wrote:
Quoted 1 line

virtio: Add transport feature handling stub for virtio_ring.

This last one introduces a compile failure; fixup patch below.

Thanks, rolled.

Checking, will re-send.

Rusty.

#4 lore raw
In reply to Mark McLoughlin
Quoted 3 lines · On Friday 25 July 2008 01:58:53 Mark McLoughlin wrote:
Quoted 1 line

virtio: Add transport feature handling stub for virtio_ring.

This last one introduces a compile failure; fixup patch below.

Thanks, rolled.

Checking, will re-send.

Rusty.