From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCPzu-0006tW-Ed for qemu-devel@nongnu.org; Tue, 07 Jul 2015 06:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCPzp-00044x-6I for qemu-devel@nongnu.org; Tue, 07 Jul 2015 06:21:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCPzp-00044t-17 for qemu-devel@nongnu.org; Tue, 07 Jul 2015 06:21:01 -0400 References: <1435924905-8926-1-git-send-email-den@openvz.org> From: Paolo Bonzini Message-ID: <559BA807.5080201@redhat.com> Date: Tue, 7 Jul 2015 12:20:55 +0200 MIME-Version: 1.0 In-Reply-To: <1435924905-8926-1-git-send-email-den@openvz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v6 0/12] HyperV equivalent of pvpanic driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Eduardo Habkost , kvm@vger.kernel.org, Gleb Natapov , qemu-devel@nongnu.org, Andrey Smetanin , =?UTF-8?Q?Andreas_F=c3=a4rber?= On 03/07/2015 14:01, Denis V. Lunev wrote: > Windows 2012 guests can notify hypervisor about occurred guest crash > (Windows bugcheck(BSOD)) by writing specific Hyper-V msrs. This patch d= oes > handling of this MSR's by KVM and sending notification to user space th= at > allows to gather Windows guest crash dump by QEMU/LIBVIRT. >=20 > The idea is to provide functionality equal to pvpanic device without > QEMU guest agent for Windows. >=20 > The idea is borrowed from Linux HyperV bus driver and validated against > Windows 2k12. >=20 > Changes from v5: > * added hyperv crash msrs into supported/emulated list > * qemu: reset CPUState::crash_occurred at cpu reset > * qemu: userspace checks kernel support of hyperv crash msrs > by kvm_get_supported_msrs >=20 > Changes from v4: > * fixed typo in email of Andreas F=C3=A4rber > my vim strangely behaves on lines with extended Deutch chars >=20 > Changes from v3: > * remove unused HV_X64_MSR_CRASH_CTL_NOTIFY > * added documentation section about KVM_SYSTEM_EVENT_CRASH > * allow only supported values inside crash ctl msr > * qemu: split patch into generic crash handling patches and hyperv spec= ific > * qemu: skip migration of crash ctl msr value >=20 > Changes from v2: > * forbid modification crash ctl msr by guest > * qemu_system_guest_panicked usage in pvpanic and s390x > * hyper-v crash handler move from generic kvm to i386 > * hyper-v crash handler: skip fetching crash msrs just mark crash occur= red > * sync with linux-next 20150629 > * patch 11 squashed to patch 10 > * patch 9 squashed to patch 7 >=20 > Changes from v1: > * hyperv code move to hyperv.c > * added read handlers of crash data msrs > * added per vm and per cpu hyperv context structures > * added saving crash msrs inside qemu cpu state > * added qemu fetch and update of crash msrs > * added qemu crash msrs store in cpu state and it's migration >=20 > Signed-off-by: Andrey Smetanin > Signed-off-by: Denis V. Lunev > CC: Gleb Natapov > CC: Paolo Bonzini >=20 I'm queuing patches 1-8 to the KVM tree. For patch 9-12, I've applied them locally but would like Eduardo or Andreas to ack 11 and 12. Paolo