]> git.proxmox.com Git - qemu.git/commit
kvm: Free current_cpu identifier
authorAndreas Färber <afaerber@suse.de>
Wed, 19 Jun 2013 15:37:31 +0000 (17:37 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 9 Jul 2013 19:20:28 +0000 (21:20 +0200)
commit80b7cd735417b0883a026d79a513629a2817cdb4
tree3b4b5dd55261d97ebdb8975a92420c65922cfbf7
parent6e42be7cd10260fd3a006d94f6c870692bf7a2c0
kvm: Free current_cpu identifier

Since CPU loops are done as last step in kvm_{insert,remove}_breakpoint()
and kvm_remove_all_breakpoints(), we do not need to distinguish between
invoking CPU and iterated CPUs and can thereby free the identifier for
use as a global variable.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/sysemu/kvm.h
kvm-all.c
kvm-stub.c