aboutsummaryrefslogtreecommitdiff
path: root/net/tap-haiku.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-06-04 14:52:32 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-03 10:38:19 +0200
commit0fbc20740342713f282b118b4a446c4c43df3f4a (patch)
tree4211adac6ccd8cd1bf7160acb56bbcdf1970bc3a /net/tap-haiku.c
parentfa4ba923bd539647ace9d70d226a848bd6a89dac (diff)
kvm: zero-initialize KVM_SET_GSI_ROUTING input
kvm_add_routing_entry makes an attempt to zero-initialize any new routing entry. However, it fails to initialize padding within the u field of the structure kvm_irq_routing_entry. Other functions like kvm_irqchip_update_msi_route also fail to initialize the padding field in kvm_irq_routing_entry. It's better to just make sure all input is initialized. Once it is, we can also drop complex field by field assignment and just do the simple *a = *b to update a route entry. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'net/tap-haiku.c')
0 files changed, 0 insertions, 0 deletions