diff options
Diffstat (limited to 'resources/libraries/bash/qemu_patches')
-rwxr-xr-x | resources/libraries/bash/qemu_patches/qemu-2.5.0/01-qsz1024 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/libraries/bash/qemu_patches/qemu-2.5.0/01-qsz1024 b/resources/libraries/bash/qemu_patches/qemu-2.5.0/01-qsz1024 new file mode 100755 index 0000000000..6f5831dc8d --- /dev/null +++ b/resources/libraries/bash/qemu_patches/qemu-2.5.0/01-qsz1024 @@ -0,0 +1,16 @@ +#!/bin/sh + +patch hw/net/virtio-net.c <<"_EOF" +1333c1333 +< n->vqs[index].rx_vq = virtio_add_queue(vdev, 256, virtio_net_handle_rx); +--- +> n->vqs[index].rx_vq = virtio_add_queue(vdev, 1024, virtio_net_handle_rx); +1336c1336 +< virtio_add_queue(vdev, 256, virtio_net_handle_tx_timer); +--- +> virtio_add_queue(vdev, 1024, virtio_net_handle_tx_timer); +1342c1342 +< virtio_add_queue(vdev, 256, virtio_net_handle_tx_bh); +--- +> virtio_add_queue(vdev, 1024, virtio_net_handle_tx_bh); +_EOF |