qemu-kvm: routing table update thinko fix
commit845f555450957ba2795907ad4f941e686468ce11
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Jul 2009 08:52:16 +0000 (23 11:52 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 23 Jul 2009 20:00:43 +0000 (23 17:00 -0300)
tree87c83d18f3c81ad6e60b21a23a37a2367f040ce9
parentdec144f1d10c9e82172bec6f77c68172ff6aa000
qemu-kvm: routing table update thinko fix

When updating irq routing entries, we should memcpy the new entry
over the old one. Current code gets it wrong, and only works because
it's uncommon for guests to change tables.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
qemu-kvm.c