summaryrefslogtreecommitdiffstats
path: root/xen-mapcache.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-02-29 17:54:29 +0200
committerAvi Kivity <avi@redhat.com>2012-03-07 12:31:48 +0200
commit7e680753cfa2986e0a8b3b222b6bf0b003c5eb69 (patch)
tree30e58d17254b14fc37130aa66b041edc1dd017a2 /xen-mapcache.c
parent5d17c0d2df4998598e6002b27b8e47e792899a0f (diff)
downloadhqemu-7e680753cfa2986e0a8b3b222b6bf0b003c5eb69.zip
hqemu-7e680753cfa2986e0a8b3b222b6bf0b003c5eb69.tar.gz
kvm: fill in padding to help valgrind
valgrind warns about padding fields which are passed to vcpu ioctls uninitialized. This is not an error in practice because kvm ignored padding. Since the ioctls in question are off data path and the cost is zero anyway, initialize padding to 0 to suppress these errors. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'xen-mapcache.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud