From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z74iV-0003VU-Q4 for qemu-devel@nongnu.org; Mon, 22 Jun 2015 12:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z74iS-0002ag-Iq for qemu-devel@nongnu.org; Mon, 22 Jun 2015 12:37:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z74iS-0002ab-Dr for qemu-devel@nongnu.org; Mon, 22 Jun 2015 12:37:00 -0400 Message-ID: <558839A9.9040009@redhat.com> Date: Mon, 22 Jun 2015 18:36:57 +0200 From: Paolo Bonzini 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> <558838F6.1080507@suse.de> In-Reply-To: <558838F6.1080507@suse.de> 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: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: Andrey Smetanin , "Denis V. Lunev" , qemu-devel@nongnu.org, kvm@vger.kernel.org, Juan Quintela On 22/06/2015 18:33, Andreas F=C3=A4rber wrote: >> > 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. It should be... > Would that work with the two ways we use vmstate_cpu_common though? > I.e., can a nested VMState struct (VMSTATE_CPU()) have subsections? Yes, it can. Paolo