From: Gleb Natapov Subject: [PATCH 0/8] Small cpu loop cleanups Date: Mon, 15 Jun 2009 16:23:09 +0300 Message-ID: <1245072197-7538-1-git-send-email-gleb@redhat.com> Cc: kvm@vger.kernel.org To: avi@redhat.com Return-path: Received: from mx2.redhat.com ([66.187.237.31]:44160 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760812AbZFONXQ (ORCPT ); Mon, 15 Jun 2009 09:23:16 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5FDNJMr026649 for ; Mon, 15 Jun 2009 09:23:19 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Also fix "info cpus" to show correct halt status with in kernel irq chip. I removed patch that uses on_vcpu() for init/sipi handling for now. Gleb Natapov (8): env->kvm_cpu_state.init is always zero here. Do not use env->halted to decide where halted state should be handled. Call kvm_arch_load_regs() instead of kvm_load_registers() Rename kvm_(load|save)_mpstate to kvm_arch_(load|save)_mpstate Retrieve mp state info in cpu_synchronize_state() env->exception_index is not used by kvm code. s->cpu_env cannot be zero here. env->exit_request is not used by kvm. hw/apic.c | 6 ++---- qemu-kvm-ia64.c | 6 ++---- qemu-kvm-x86.c | 9 +++------ qemu-kvm.c | 39 +++++++++++++++++++++++++++++++-------- qemu-kvm.h | 4 ++++ target-i386/machine.c | 6 +++--- target-ia64/machine.c | 4 ++-- vl.c | 1 - 8 files changed, 47 insertions(+), 28 deletions(-)