diff options
author | Jesse Larrew <jlarrew@linux.vnet.ibm.com> | 2013-02-05 17:47:16 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-08 11:13:44 -0600 |
commit | 14f9b664b34bbd37a488cb5c762aa278c60e1fb6 (patch) | |
tree | c17995392380558b698c0669818fa552a81a4b2b /hw/virtio-net.h | |
parent | 1e89ad5b00ba0426d4e949c9e6ce2926c15b81b7 (diff) |
hw/virtio-net.c: set config size using host features
Currently, the config size for virtio devices is hard coded. When a new
feature is added that changes the config size, drivers that assume a static
config size will break. For purposes of backward compatibility, there needs
to be a way to inform drivers of the config size needed to accommodate the
set of features enabled.
aliguori: merged in
- hw/virtio-net: use existing macros to implement endof
- hw/virtio-net: fix config_size data type
Signed-off-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-net.h')
0 files changed, 0 insertions, 0 deletions