From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Scan initramfs for microcode cpio archive. (v2) Date: Thu, 18 Jul 2013 23:59:22 -0400 Message-ID: <1374206363-19001-1-git-send-email-konrad.wilk@oracle.com> References: <1374165371-24716-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1374165371-24716-1-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: JBeulich@suse.com, xen-devel@lists.xensource.com, david.vrabel@citrix.com List-Id: xen-devel@lists.xenproject.org As I thought about this more I realized that the user might have been careless and misconstructed the payloads in myriad of ways. The patch that is threaded attempts to fix this case. I can squash it as part of the initial 'microcode: Scan the initramfs payload for microcode blob" if that would be preferred of course. xen/arch/x86/microcode.c | 52 ++++++++++++++++++++++++++++++---------------- 1 files changed, 34 insertions(+), 18 deletions(-) Konrad Rzeszutek Wilk (1): microcode: Check whether the microcode is correct.