xemu/accel
David Hildenbrand 3110cdbd8a kvm: drop wrong assertion creating problems with pflash
pflash toggles mr->romd_mode. So this assert does not always hold.

1) a device was added with !mr->romd_mode, therefore effectively not
   creating a kvm slot as we want to trap every access (add = false).
2) mr->romd_mode was toggled on before remove it. There is now
   actually no slot to remove and the assert is wrong.

So let's just drop the assert.

Reported-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170920145025.19403-1-david@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-21 12:40:08 +02:00
..
kvm kvm: drop wrong assertion creating problems with pflash 2017-09-21 12:40:08 +02:00
stubs accel/hax: move hax-stub.c to accel/stubs/ 2017-09-19 16:20:49 +02:00
tcg accel/tcg: move USER code to user-exec.c 2017-09-17 06:52:19 -07:00
accel.c accel: cleanup error output 2017-08-01 17:27:33 +02:00
Makefile.objs tcg: add the CONFIG_TCG into Makefiles 2017-07-05 09:12:44 +02:00