1. 07 12月, 2015 1 次提交
  2. 16 12月, 2014 1 次提交
  3. 09 12月, 2014 2 次提交
  4. 13 3月, 2014 1 次提交
    • J
      tools/virtio: update internal copies of headers · d1b8c4c2
      Joel Stanley 提交于
      The virtio headers have changed recently:
      
       5b1bf7cb virtio_ring: let virtqueue_{kick()/notify()} return a bool
       46f9c2b9 virtio_ring: change host notification API
      
      Update the internal copies to fix the build of virtio_test:
      
        cc -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign
          -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE
          -c -o virtio_test.o virtio_test.c
        In file included from virtio_test.c:15:0:
        ./linux/virtio.h:76:19: error: conflicting types for ‘vring_new_virtqueue’
         struct virtqueue *vring_new_virtqueue(unsigned int index,
                           ^
        In file included from ./linux/virtio_ring.h:1:0,
                         from ../../usr/include/linux/vhost.h:17,
                         from virtio_test.c:14:
        ./linux/../../../include/linux/virtio_ring.h:68:19: note: previous
        declaration of ‘vring_new_virtqueue’ was here
         struct virtqueue *vring_new_virtqueue(unsigned int index,
        virtio_test.c: In function ‘vq_info_add’:
        virtio_test.c:103:12: warning: passing argument 7 of ‘vring_new_virtqueue’
        from incompatible pointer type [enabled by default]
                    vq_notify, vq_callback, "test");
                    ^
        In file included from virtio_test.c:15:0:
        ./linux/virtio.h:76:19: note: expected ‘void (*)(struct virtqueue *)’ but
        argument is of type ‘_Bool (*)(struct virtqueue *)’
         struct virtqueue *vring_new_virtqueue(unsigned int index,
                           ^
      Signed-off-by: NJoel Stanley <joel@jms.id.au>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      d1b8c4c2
  5. 09 7月, 2013 1 次提交
  6. 20 3月, 2013 5 次提交
  7. 02 5月, 2012 1 次提交
  8. 28 2月, 2012 1 次提交
  9. 12 1月, 2012 2 次提交
  10. 09 12月, 2010 1 次提交
    • M
      tools/virtio: virtio_test tool · 4e53f78e
      Michael S. Tsirkin 提交于
      This is the userspace part of the tool: it includes a bunch of stubs for
      linux APIs, somewhat simular to linuxsched. This makes it possible to
      recompile the ring code in userspace.
      
      A small test example is implemented combining this with vhost_test
      module.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      4e53f78e