hyperv: make HvSintRoute reference-counted
commit3d3e6e85c3ebd5cd551133af9bace084360307a3
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:18:35 +0000 (21 11:18 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:13 +0000 (19 13:44 +0200)
treeb4a318d46069a2ee8c18b62b86ad467164aa1115
parent09cfb2f6350512eb3ef7e9e2136daabbcf265880
hyperv: make HvSintRoute reference-counted

Multiple entities (e.g. VMBus devices) can use the same SINT route.  To
make their lives easier in maintaining SINT route ownership, make it
reference-counted.  Adjust the respective API names accordingly.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180921081836.29230-8-rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/misc/hyperv_testdev.c
target/i386/hyperv.c
target/i386/hyperv.h