From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: qemu-kvm: enable get/set vcpu events on reset and migration Date: Thu, 28 Jan 2010 15:02:43 +0100 Message-ID: <4B619903.3040806@siemens.com> References: <20100127002622.GB8811@amt.cnet> <20100128135557.GP739@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm To: Gleb Natapov Return-path: Received: from thoth.sbs.de ([192.35.17.2]:19095 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756108Ab0A1ODD (ORCPT ); Thu, 28 Jan 2010 09:03:03 -0500 In-Reply-To: <20100128135557.GP739@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Gleb Natapov wrote: > On Tue, Jan 26, 2010 at 10:26:22PM -0200, Marcelo Tosatti wrote: >> @@ -374,6 +375,7 @@ static int cpu_post_load(void *opaque, int version_id) >> >> kvm_load_tsc(env); >> kvm_load_mpstate(env); >> + kvm_put_vcpu_events(env); >> } > It is confusing to call functions load/save for some state and put/get for > others, but the function kvm_put_vcpu_events() is called upstream this > way :( It's temporary, 0.12-only. load/save (and a lot more) will disappear once we completed merging with upstream code. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux