Skip to content

lguest: Patches for 2.6.24 (and patchbomb test)

[email protected] netdev virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest43 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/43lguest: lguest example launcher truncates block device file to 0 length on problemsDocumentation/lguest/lguest.c+1 -10 replies
2/43lguest: fix modules oopsing in lguest guestsdrivers/lguest/lguest_asm.S+3 -30 replies
3/43lguest: Normalize config options for guest supportarch/i386/Kconfig arch/i386/xen/Kconfig drivers/lguest/Kconfig+32 -140 replies
4/43lguest: Consolidate host virtualization support under Virtualization menudrivers/Kconfig drivers/kvm/Kconfig+5 -30 replies
5/43lguest: Example launcher should include asm/e820.h instead of asm-i386/Documentation/lguest/lguest.c+1 -10 replies
6/43lguest: turn err into errx in lguest call sitesDocumentation/lguest/lguest.c+2 -20 replies
7/43lguest: Use copy_to_user() not put_user for struct timespecdrivers/lguest/hypercalls.c+1 -10 replies
8/43lguest: Lguest currently depends on 32-bit x86, not just x86.drivers/lguest/Kconfig+1 -10 replies
9/43lguest: lguest.txt updateDocumentation/lguest/lguest.txt+28 -380 replies
10/43lguest: Make lguest_launcher.h types userspace-friendlyDocumentation/lguest/Makefile Documentation/lguest/lguest.c include/linux/lguest_launcher.h+14 -130 replies
11/43lguest: lguest_devices belongs in lguest_bus.c: its not i386-specific.drivers/lguest/lguest.c drivers/lguest/lguest_bus.c+2 -10 replies
12/43lguest: Only start khvcd when someone uses hvc_console driver.drivers/char/Kconfig drivers/char/hvc_console.c+47 -230 replies
13/43lguest: Move lguest hcalls to arch-specific headerinclude/asm-i386/lguest_hcall.h include/linux/lguest.h+71 -650 replies
14/43lguest: Move lguest guest support to arch/i386 where it logically belongs.arch/i386/Kconfig arch/i386/Makefile arch/i386/lguest/Kconfig +6 more+1210 -12040 replies
15/43lguest: Rename switcher.S to i386_switcher.S, since its very i386-specific.drivers/lguest/Makefile drivers/lguest/i386_switcher.S drivers/lguest/switcher.S+354 -3520 replies
16/43lguest: Accept elf files that are valid but have sections that can not be mmaped for some reason.Documentation/lguest/lguest.c+32 -290 replies
17/43lguest: Introduce guest mem offset, static link example launcherDocumentation/lguest/Makefile Documentation/lguest/lguest.c drivers/lguest/core.c +5 more+167 -1440 replies
18/43lguest: Remove fixed limit on number of guests, and lguests array.drivers/lguest/core.c drivers/lguest/hypercalls.c drivers/lguest/io.c +4 more+14 -450 replies
19/43lguest: Make shadow IDT a complete IDT with 256 entries.drivers/lguest/interrupts_and_traps.c drivers/lguest/lg.h+20 -320 replies
20/43lguest: Move i386 part of core.c to i386_core.c.arch/i386/lguest/boot.c drivers/lguest/Makefile drivers/lguest/core.c +6 more+616 -5240 replies
21/43lguest: Reorder guest saved regs to match hyperall orderdrivers/lguest/i386_switcher.S include/asm-i386/lguest.h+3 -40 replies
22/43lguest: Introduce "hcall" pointer to indicate pending hypercall.drivers/lguest/core.c drivers/lguest/hypercalls.c drivers/lguest/i386_core.c +1 more+34 -380 replies
23/43lguest: Make hypercalls arch-independent.arch/i386/lguest/boot.c drivers/lguest/hypercalls.c drivers/lguest/i386_core.c +3 more+112 -920 replies
24/43lguest: Change example launcher to use unsigned long not u32Documentation/lguest/lguest.c drivers/lguest/lguest_user.c+32 -300 replies
25/43lguest: Move register setup into i386_core.cdrivers/lguest/i386_core.c drivers/lguest/lg.h drivers/lguest/lguest_user.c+38 -360 replies
26/43lguest: guest.h declares a struct timespec, make it include linux/time.hinclude/linux/lguest.h+1 -00 replies
27/43lguest: Pagetables to use normal kernel typesdrivers/lguest/hypercalls.c drivers/lguest/lg.h drivers/lguest/page_tables.c+105 -1450 replies
28/43lguest: Rename "cr3" to "gpgdir" to avoid x86-specific naming.drivers/lguest/lg.h drivers/lguest/page_tables.c+12 -120 replies
29/43lguest: Introduce "used_vectors" bitmap which can be used to reserve vectors.arch/i386/kernel/i8259.c arch/i386/kernel/io_apic.c arch/i386/kernel/traps.c +1 more+23 -60 replies
30/43lguest: Allow guest to specify syscall vector to use.arch/i386/lguest/boot.c drivers/lguest/core.c drivers/lguest/i386_core.c +3 more+79 -110 replies
31/43lguest: Boot with virtual == physical to get closer to native Linux.Documentation/lguest/lguest.c arch/i386/kernel/asm-offsets.c arch/i386/lguest/boot.c +9 more+139 -1463 replies
32/43lguest: Virtio interfacedrivers/Kconfig drivers/Makefile drivers/virtio/Kconfig +6 more+418 -08 replies
33/43lguest: Net driver using virtiodrivers/net/Kconfig drivers/net/Makefile drivers/net/virtio_net.c +1 more+481 -10 replies
33/43lguest: Net driver using virtiodrivers/net/Kconfig drivers/net/Makefile drivers/net/virtio_net.c +1 more+481 -10 replies
34/43lguest: Block driver using virtio.drivers/block/Kconfig drivers/block/Makefile drivers/block/virtio_blk.c +2 more+386 -02 replies
35/43lguest: Virtio console driverdrivers/char/Kconfig drivers/char/Makefile drivers/char/virtio_console.c +1 more+242 -00 replies
36/43lguest: Module autoprobing support for virtio drivers.drivers/virtio/virtio.c scripts/mod/file2alias.c+44 -00 replies
37/43lguest: Virtio helper routines for a descriptor ringbuffer implementationarch/i386/lguest/Kconfig drivers/virtio/Kconfig drivers/virtio/Makefile +2 more+439 -05 replies
38/43lguest: This gets rid of the lguest bus, drivers and DMA mechanism, to make way for a generic virtio mechanism.arch/i386/lguest/boot.c drivers/block/Makefile drivers/block/lguest_blk.c +10 more+0 -15070 replies
39/43lguest: This patch gets rid of the old lguest host I/O infrastructure and replaces it with a single hypercall "LHCALL_NOTIFY" which takes an address.drivers/lguest/Makefile drivers/lguest/core.c drivers/lguest/hypercalls.c +5 more+21 -7520 replies
40/43lguest: Lguest support for Virtioarch/i386/lguest/Kconfig arch/i386/lguest/boot.c drivers/lguest/Makefile +2 more+421 -280 replies
41/43lguest: Update example launcher for virtioDocumentation/lguest/lguest.c+709 -4900 replies
42/43lguest: Example launcher handle guests not being ready for inputDocumentation/lguest/lguest.c+57 -500 replies
43/43lguest: generalize lgread_u32/lgwrite_u32.drivers/lguest/core.c drivers/lguest/hypercalls.c drivers/lguest/i386_core.c +4 more+38 -462 replies

Reviews trailers per patch

1 of 44 patches has a Reviewed-by or Acked-by.

PatchJes Sorensen
1/43
2/43
3/43
4/43
5/43
6/43
7/43
8/43
9/43
10/43
11/43
12/43
13/43
14/43
15/43
16/43
17/43
18/43
19/43
20/43
21/43
22/43
23/43
24/43
25/43
26/43
27/43
28/43
29/43
30/43
31/43
32/43
33/43
33/43
34/43
35/43
36/43
37/43
38/43
39/43
40/43
41/43
42/43
43/43A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/43] lguest: Patches for 2.6.24 (and patchbomb test)

Hi all,

These are the patches I'm planning to submit for 2.6.24. Comments
gratefully accepted. Along with the usual cleanups and improvements are Jes' de-i386-ification patches, and a new "virtio" mechanism designed to be shared with KVM (and hopefully other hypervisors).

Cheers,
Rusty.

 Documentation/lguest/Makefile                    |   30 
 Documentation/lguest/lguest.c                    | 1745 ++++++++++++-----------
 Documentation/lguest/lguest.txt                  |   67 
 a/drivers/block/lguest_blk.c                     |  423 -----
 a/drivers/char/hvc_lguest.c                      |  177 --
 a/drivers/lguest/io.c                            |  628 --------
 a/drivers/lguest/lguest.c                        | 1101 --------------
 a/drivers/lguest/lguest_asm.S                    |   94 -
 a/drivers/lguest/lguest_bus.c                    |  220 --
 a/drivers/lguest/switcher.S                      |  351 ----
 a/drivers/net/lguest_net.c                       |  552 -------
 a/include/linux/lguest_bus.h                     |   51 
 arch/i386/Kconfig                                |   48 
 arch/i386/Makefile                               |    3 
 arch/i386/kernel/asm-offsets.c                   |    1 
 arch/i386/kernel/i8259.c                         |    3 
 arch/i386/kernel/io_apic.c                       |   13 
 arch/i386/kernel/traps.c                         |   10 
 arch/i386/lguest/Kconfig                         |    6 
 arch/i386/lguest/boot.c                          |   79 -
 arch/i386/lguest/head.S                          |   41 
 arch/i386/xen/Kconfig                            |    5 
 b/arch/i386/lguest/Kconfig                       |    8 
 b/arch/i386/lguest/Makefile                      |    1 
 b/arch/i386/lguest/boot.c                        | 1101 ++++++++++++++
 b/arch/i386/lguest/head.S                        |   93 +
 b/drivers/block/virtio_blk.c                     |  327 ++++
 b/drivers/char/virtio_console.c                  |  225 ++
 b/drivers/lguest/i386_core.c                     |  476 ++++++
 b/drivers/lguest/i386_switcher.S                 |  350 ++++
 b/drivers/lguest/lguest_device.c                 |  373 ++++
 b/drivers/net/virtio_net.c                       |  438 +++++
 b/drivers/virtio/Kconfig                         |    3 
 b/drivers/virtio/Makefile                        |    1 
 b/drivers/virtio/config.c                        |   13 
 b/drivers/virtio/virtio.c                        |  171 ++
 b/drivers/virtio/virtio_ring.c                   |  313 ++++
 b/include/asm-i386/lguest.h                      |   88 +
 b/include/linux/virtio.h                         |  110 +
 b/include/linux/virtio_blk.h                     |   52 
 b/include/linux/virtio_config.h                  |  112 +
 b/include/linux/virtio_console.h                 |   13 
 b/include/linux/virtio_net.h                     |   37 
 b/include/linux/virtio_ring.h                    |  120 +
 drivers/Kconfig                                  |    4 
 drivers/Makefile                                 |    1 
 drivers/block/Kconfig                            |    6 
 drivers/block/Makefile                           |    2 
 drivers/char/Kconfig                             |    8 
 drivers/char/Makefile                            |    2 
 drivers/char/hvc_console.c                       |   67 
 drivers/kvm/Kconfig                              |    7 
 drivers/lguest/Kconfig                           |   17 
 drivers/lguest/Makefile                          |   20 
 drivers/lguest/core.c                            |  588 -------
 drivers/lguest/hypercalls.c                      |  228 +--
 drivers/lguest/i386_core.c                       |  127 +
 drivers/lguest/i386_switcher.S                   |    6 
 drivers/lguest/interrupts_and_traps.c            |  131 +
 drivers/lguest/io.c                              |   28 
 drivers/lguest/lg.h                              |  198 --
 drivers/lguest/lguest.c                          |    1 
 drivers/lguest/lguest_asm.S                      |    7 
 drivers/lguest/lguest_bus.c                      |    3 
 drivers/lguest/lguest_user.c                     |  162 --
 drivers/lguest/page_tables.c                     |  288 ++-
 drivers/lguest/segments.c                        |   31 
 drivers/net/Kconfig                              |    6 
 drivers/net/Makefile                             |    3 
 drivers/net/lguest_net.c                         |    7 
 drivers/virtio/Kconfig                           |    5 
 drivers/virtio/Makefile                          |    1 
 drivers/virtio/virtio.c                          |   26 
 include/asm-i386/irq.h                           |    4 
 include/asm-i386/lguest.h                        |    4 
 include/asm-i386/lguest_hcall.h                  |   14 
 include/linux/Kbuild                             |    1 
 include/linux/lguest.h                           |   88 -
 include/linux/lguest_launcher.h                  |  134 -
 include/linux/mod_devicetable.h                  |    6 
 linux-2.6-lguest/include/asm-i386/lguest_hcall.h |   67 
 scripts/mod/file2alias.c                         |   19 
 82 files changed, 6455 insertions(+), 5935 deletions(-)

--
there are those who do and those who hang on and you don't see too many doers quoting their contemporaries. -- Larry McVoy