diff --git a/kvm-all.c b/kvm-all.c index 745b5017a15171ed162d6eef509199fd5b39002f..3ee0ac7e7bb1d82bb20a577f83e3e2094978fa9a 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1034,6 +1034,10 @@ static int kvm_update_routing_entry(KVMState *s, continue; } + if(!memcmp(entry, new_entry, sizeof *entry)) { + return 0; + } + *entry = *new_entry; kvm_irqchip_commit_routes(s);