1. 17 6月, 2008 1 次提交
  2. 20 5月, 2008 2 次提交
  3. 02 5月, 2008 1 次提交
    • C
      virtio: export more headers to userspace · 81473132
      Christian Borntraeger 提交于
      Rusty,
      
      is there a reason why we dont export the virtio headers for
      9p, balloon, console, pci, and virtio_ring? kvm uses make sync,
      but I think it is still useful to heave these headers exported
      as they might be useful for other userspace tools.
      
      I dont export virtio.h, because it does not seem to have useful
      information for userspace and it requires scatterlist.h which is
      also not exported. See also my other mail about your "virtio:
      change config to guest endian." patch.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      81473132
  4. 29 4月, 2008 2 次提交
  5. 26 4月, 2008 1 次提交
  6. 22 4月, 2008 2 次提交
  7. 17 4月, 2008 1 次提交
    • C
      udf: move headers out include/linux/ · 15aebd28
      Christoph Hellwig 提交于
      There's really no reason to keep udf headers in include/linux as they're
      not used by anything but fs/udf/.
      
      This patch merges most of include/linux/udf_fs_i.h into fs/udf/udf_i.h,
      include/linux/udf_fs_sb.h into fs/udf/udf_sb.h and
      include/linux/udf_fs.h into fs/udf/udfdecl.h.
      
      The only thing remaining in include/linux/ is a stub of udf_fs_i.h
      defining the four user-visible udf ioctls.  It's also moved from
      unifdef-y to headers-y because it can be included unconditionally now.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJan Kara <jack@suse.cz>
      15aebd28
  8. 15 4月, 2008 1 次提交
  9. 13 4月, 2008 1 次提交
  10. 05 4月, 2008 1 次提交
  11. 04 4月, 2008 1 次提交
  12. 03 4月, 2008 1 次提交
    • C
      kvm: provide kvm.h for all architecture: fixes headers_install · dd135ebb
      Christian Borntraeger 提交于
      Currently include/linux/kvm.h is not considered by make headers_install,
      because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h.  This problem
      was introduced by
      
      commit fb56dbb3
      Author: Avi Kivity <avi@qumranet.com>
      Date:   Sun Dec 2 10:50:06 2007 +0200
      
          KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM
      
          Currently, make headers_check barfs due to <asm/kvm.h>, which <linux/kvm.h>
          includes, not existing.  Rather than add a zillion <asm/kvm.h>s, export kvm.
          only if the arch actually supports it.
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      
      which makes this an 2.6.25 regression.
      
      One way of solving the issue is to enhance Kbuild, but Avi and David conviced
      me, that changing headers_install is not the way to go.  This patch changes
      the definition for linux/kvm.h to unifdef-y.
      
      If  unifdef-y is used for linux/kvm.h "make headers_check" will fail on all
      architectures without asm/kvm.h.  Therefore, this patch also provides
      asm/kvm.h on all architectures.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NAvi Kivity <avi@qumranet.com>
      Cc: Sam Ravnborg <sam@ravnborg.org
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dd135ebb
  13. 29 3月, 2008 1 次提交
  14. 17 3月, 2008 1 次提交
  15. 13 3月, 2008 1 次提交
  16. 05 3月, 2008 1 次提交
  17. 19 2月, 2008 1 次提交
  18. 09 2月, 2008 1 次提交
  19. 08 2月, 2008 3 次提交
  20. 05 2月, 2008 1 次提交
  21. 02 2月, 2008 1 次提交
  22. 30 1月, 2008 2 次提交
  23. 29 1月, 2008 3 次提交
  24. 26 1月, 2008 1 次提交
  25. 27 12月, 2007 1 次提交
  26. 18 12月, 2007 1 次提交
  27. 31 10月, 2007 1 次提交
  28. 30 10月, 2007 1 次提交
  29. 23 10月, 2007 4 次提交
    • R
      Block driver using virtio. · e467cde2
      Rusty Russell 提交于
      The block driver uses scatter-gather lists with sg[0] being the
      request information (struct virtio_blk_outhdr) with the type, sector
      and inbuf id.  The next N sg entries are the bio itself, then the last
      sg is the status byte.  Whether the N entries are in or out depends on
      whether it's a read or a write.
      
      We accept the normal (SCSI) ioctls: they get handed through to the other
      side which can then handle it or reply that it's unsupported.  It's
      not clear that this actually works in general, since I don't know
      if blk_pc_request() requests have an accurate rq_data_dir().
      
      Although we try to reply -ENOTTY on unsupported commands, ioctl(fd,
      CDROMEJECT) returns success to userspace.  This needs a separate
      patch.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      e467cde2
    • R
      Net driver using virtio · 296f96fc
      Rusty Russell 提交于
      The network driver uses two virtqueues: one for input packets and one
      for output packets.  This has nice locking properties (ie. we don't do
      any for recv vs send).
      
      TODO:
      	1) Big packets.
      	2) Multi-client devices (maybe separate driver?).
      	3) Resolve freeing of old xmit skbs (Christian Borntraeger)
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: netdev@vger.kernel.org
      296f96fc
    • R
      Virtio interface · ec3d41c4
      Rusty Russell 提交于
      This attempts to implement a "virtual I/O" layer which should allow
      common drivers to be efficiently used across most virtual I/O
      mechanisms.  It will no-doubt need further enhancement.
      
      The virtio drivers add buffers to virtio queues; as the buffers are consumed
      the driver "interrupt" callbacks are invoked.
      
      There is also a generic implementation of config space which drivers can query
      to get setup information from the host.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Cc: Dor Laor <dor.laor@qumranet.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      ec3d41c4
    • R
      Make asm-x86/bootparam.h includable from userspace. · ee8e7cfe
      Rusty Russell 提交于
      To actually write a bootloader (or, say, the lguest launcher)
      currently requires duplication of these structures.  Making them
      includable from userspace is much nicer.
      
      We merge the common userspace-required definitions of e820_32/64.h
      into e820.h for export.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      ee8e7cfe