commit | 5fba13b5cf5856e725de35665c37b647323d3b9a | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Nov 29 13:34:44 2015 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Dec 07 17:28:10 2015 +0200 |
tree | ddbe8a6688700a93fd7a53d7b16444a40e82729d | |
parent | 55564a02b2ad4dab0c29fd9391d5118592c7fdc8 [diff] |
vhost: replace % with & on data path We know vring num is a power of 2, so use & to mask the high bits. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>