1. 25 10月, 2007 2 次提交
  2. 23 10月, 2007 4 次提交
    • R
      Lguest support for Virtio · 19f1537b
      Rusty Russell 提交于
      This makes lguest able to use the virtio devices.
      
      We change the device descriptor page from a simple array to a variable
      length "type, config_len, status, config data..." format, and
      implement virtio_config_ops to read from that config data.
      
      We use the virtio ring implementation for an efficient Guest <-> Host
      virtqueue mechanism, and the new LHCALL_NOTIFY hypercall to kick the
      host when it changes.
      
      We also use LHCALL_NOTIFY on kernel addresses for very very early
      console output.  We could have another hypercall, but this hack works
      quite well.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      19f1537b
    • R
      Remove old lguest I/O infrrasructure. · 15045275
      Rusty Russell 提交于
      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.
      
      The main change is the removal of io.c: that mainly did inter-guest
      I/O, which virtio doesn't yet support.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      15045275
    • R
      Remove old lguest bus and drivers. · 0ca49ca9
      Rusty Russell 提交于
      This gets rid of the lguest bus, drivers and DMA mechanism, to make
      way for a generic virtio mechanism.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      0ca49ca9
    • R
      Make lguest_launcher.h types userspace-friendly · b45d8cb0
      Rusty Russell 提交于
      lguest_launcher.h uses "u32" not "__u32", which sets a bad example.  Fix that,
      and include <linux/types.h>.
      
      This means we need to use -I on the Launcher build line so types.h is found.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      b45d8cb0
  3. 27 7月, 2007 1 次提交
  4. 20 7月, 2007 1 次提交