aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-05-26 23:38:10 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-28 13:25:12 +0200
commit491d6e80ea5854d75ab7c19e32a0ba01d08f6df5 (patch)
treeac28e47d480522057e5cb5d3433315b2b1dc099b /kvm-all.c
parentfd529e8f465c0d6b2d5f01c58cee4746425d2734 (diff)
downloadqemu-491d6e80ea5854d75ab7c19e32a0ba01d08f6df5.zip
qemu-491d6e80ea5854d75ab7c19e32a0ba01d08f6df5.tar.gz
qemu-491d6e80ea5854d75ab7c19e32a0ba01d08f6df5.tar.bz2
kvm: Change kvm_set_signal_mask() argument to CPUState
CPUArchState is no longer needed. Prepares for changing qemu_kvm_init_cpu_signals() argument to CPUState. Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvm-all.c b/kvm-all.c
index eee294b..f1031e0 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -2039,9 +2039,8 @@ void kvm_remove_all_breakpoints(CPUArchState *current_env)
}
#endif /* !KVM_CAP_SET_GUEST_DEBUG */
-int kvm_set_signal_mask(CPUArchState *env, const sigset_t *sigset)
+int kvm_set_signal_mask(CPUState *cpu, const sigset_t *sigset)
{
- CPUState *cpu = ENV_GET_CPU(env);
struct kvm_signal_mask *sigmask;
int r;