From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Subject: Re: [PATCH 11/11] qemu/kvm: mark in cpu state that hyper-v crash occured Date: Mon, 22 Jun 2015 18:33:58 +0200 Message-ID: <558838F6.1080507@suse.de> References: <1434989108-20924-1-git-send-email-den@openvz.org> <1434989108-20924-12-git-send-email-den@openvz.org> <55883686.2090209@suse.de> <55883760.6010502@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "Denis V. Lunev" , kvm@vger.kernel.org, qemu-devel@nongnu.org, Andrey Smetanin , Juan Quintela To: Paolo Bonzini Return-path: Received: from cantor2.suse.de ([195.135.220.15]:53912 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754182AbbFVQeA (ORCPT ); Mon, 22 Jun 2015 12:34:00 -0400 In-Reply-To: <55883760.6010502@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Am 22.06.2015 um 18:27 schrieb Paolo Bonzini: > On the other hand, I wonder if current_cpu is available in > qemu_system_guest_panicked. If so, you could add the field to the > generic CPUState struct and migrate it as a subsection of > vmstate_cpu_common. Hm, not sure whether it is. Would that work with the two ways we use vmstate_cpu_common though? I.e., can a nested VMState struct (VMSTATE_CPU()) have subsections? Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Dilip Upmanyu, Graham Norton= ; HRB 21284 (AG N=C3=BCrnberg) -- To unsubscribe from this list: send the line "unsubscribe kvm" in From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z74fd-0001QH-Tb for qemu-devel@nongnu.org; Mon, 22 Jun 2015 12:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z74fY-00018K-0l for qemu-devel@nongnu.org; Mon, 22 Jun 2015 12:34:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49492 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z74fX-00017n-Pn for qemu-devel@nongnu.org; Mon, 22 Jun 2015 12:33:59 -0400 Message-ID: <558838F6.1080507@suse.de> Date: Mon, 22 Jun 2015 18:33:58 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1434989108-20924-1-git-send-email-den@openvz.org> <1434989108-20924-12-git-send-email-den@openvz.org> <55883686.2090209@suse.de> <55883760.6010502@redhat.com> In-Reply-To: <55883760.6010502@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 11/11] qemu/kvm: mark in cpu state that hyper-v crash occured List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Andrey Smetanin , "Denis V. Lunev" , qemu-devel@nongnu.org, kvm@vger.kernel.org, Juan Quintela Am 22.06.2015 um 18:27 schrieb Paolo Bonzini: > On the other hand, I wonder if current_cpu is available in > qemu_system_guest_panicked. If so, you could add the field to the > generic CPUState struct and migrate it as a subsection of > vmstate_cpu_common. Hm, not sure whether it is. Would that work with the two ways we use vmstate_cpu_common though? I.e., can a nested VMState struct (VMSTATE_CPU()) have subsections? Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Dilip Upmanyu, Graham Norton; = HRB 21284 (AG N=C3=BCrnberg)