commit | 00b894e874581f6b388c5817d4d5546c22cf9640 | [log] [tgz] |
---|---|---|
author | Wang Sheng-Hui <shhuiw@gmail.com> | Mon Aug 29 15:55:59 2011 +0800 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Nov 02 11:40:59 2011 +1030 |
tree | 18cf5e1b2067986b36996dc75321cea7c9935ac2 | |
parent | 5f41f8bfc95e84536207b2af8918f2e674164a42 [diff] |
virtio: modify vring_init and vring_size to take account of the layout containing *_event_idx Based on the layout description in the comments, take account of the *_event_idx in functions vring_init and vring_size. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>