From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH uq/master -v2 2/2] KVM, MCE, unpoison memory address across reboot Date: Thu, 10 Feb 2011 09:52:07 +0100 Message-ID: <4D53A737.4090204@web.de> References: <1297220431.5180.15.camel@yhuang-dev> <4D52498D.9060706@web.de> <1297297678.17407.3.camel@yhuang-dev> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA4F75CF6B516BCBFBBE11F28" Cc: Avi Kivity , Marcelo Tosatti , Anthony Liguori , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" , Dean Nelson , Andi Kleen To: Huang Ying Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:50548 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123Ab1BJIwM (ORCPT ); Thu, 10 Feb 2011 03:52:12 -0500 In-Reply-To: <1297297678.17407.3.camel@yhuang-dev> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA4F75CF6B516BCBFBBE11F28 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2011-02-10 01:27, Huang Ying wrote: >>> @@ -1882,6 +1919,7 @@ int kvm_arch_on_sigbus_vcpu(CPUState *en >>> hardware_memory_error(); >>> } >>> } >>> + kvm_hwpoison_page_add(ram_addr); >>> =20 >>> if (code =3D=3D BUS_MCEERR_AR) { >>> /* Fake an Intel architectural Data Load SRAR UCR */ >>> @@ -1926,6 +1964,7 @@ int kvm_arch_on_sigbus(int code, void *a >>> "QEMU itself instead of guest system!: %p\n", ad= dr); >>> return 0; >>> } >>> + kvm_hwpoison_page_add(ram_addr); >>> kvm_mce_inj_srao_memscrub2(first_cpu, paddr); >>> } else >>> #endif >>> >>> >> >> Looks fine otherwise. Unless that simplification makes sense, I could >> offer to include this into my MCE rework (there is some minor conflict= ). >> If all goes well, that series should be posted during this week. Please have a look at git://git.kiszka.org/qemu-kvm.git queues/kvm-upstream and tell me if it works for you and your signed-off still applies. Thanks, Jan --------------enigA4F75CF6B516BCBFBBE11F28 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1TpzcACgkQitSsb3rl5xQ4HQCfbMj7hcWEUmbQYFHc1wLPRD5H vbYAnRiNhzDutU+6maxgNOCmHkTJDxpU =2rro -----END PGP SIGNATURE----- --------------enigA4F75CF6B516BCBFBBE11F28--