kvmvapic: Enter inactive state on hardware reset
commitc056bc3f3464cfae1c94b7dd633d3ec13b13b655
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 3 Sep 2013 16:08:51 +0000 (3 18:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Sep 2013 10:37:52 +0000 (20 12:37 +0200)
treee9706fb05a686557eb3d5d416d46533195cc91f7
parent18e5eec4db96a00907eb588a2b803401637c7f67
kvmvapic: Enter inactive state on hardware reset

ROM layout may change after reset of devices are hotplugged, so we have
to pick up the physical address again when the ROM is initialized. This
is best achieved by resetting the state to INACTIVE.

CC: qemu-stable@nongnu.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/kvmvapic.c