WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/3] Xen MCE test: utilities to inject fake MCE f

To: "Hao, Xudong" <xudong.hao@xxxxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] Xen MCE test: utilities to inject fake MCE for X86
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 24 Dec 2010 10:24:25 +0000
Cc: "Li, Haicheng" <haicheng.li@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Fri, 24 Dec 2010 02:25:22 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=Zm6J6c/u92hZ4WzEtwuHLixZfIuYQo39LKfgEvhz1O0=; b=VLnW3NKn08NqHXLCysLHI/nvIbCEfjBTyGFi7mz5/u0gKmF6DXTf4Yk9rDr9B8pm4J 8evO01KxWC8XPAM7FmUwPbXqfVCAM6kR4+f7KYkYqhFYy/+ooZIDv42iZGljNYBF3v1v ZCMGOuytIGggE1/3YAk3XSytoCVa9/8eK695w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=M/QgEarR2o62G81xKWoQ5BVkdZ0fExZhKeDzd6/xtp033AwUagoccC5nido1M4QN12 GK0KTMqcSoBoaahV5LhgMdAYsfPpuc2L1H/3uFCHzZPTZtP6aDa9bQY5k7XEKjB06Aqq XmFUOzZGwbAYFZhfpYCQVNEl31hXZRdZ49cw0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BC00F5384FCFC9499AF06F92E8B78A9E1E0F1BA267@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuhwSrNETqNSfieSzCWb2Wn/IVCqwBUupGwABAp7YY=
Thread-topic: [Xen-devel] [PATCH 1/3] Xen MCE test: utilities to inject fake MCE for X86
User-agent: Microsoft-Entourage/12.27.0.100910
I took the original patch, using getopt_long. We use getopt_long in many
other places (console daemon and client, xl, ...) and it provides a nicer
user experience by allowing use of long option names.

 -- Keir

On 24/12/2010 02:47, "Hao, Xudong" <xudong.hao@xxxxxxxxx> wrote:

> Chris, thanks comments.
> 
> This patch use getopt instead of getopt_long.
> 
> -Xudong
> 
> Christoph Egger wrote:
>> On Wednesday 22 December 2010 02:10:22 Hao, Xudong wrote:
>>> A sofeware MCE injection tool, which is based on Xen MCE injection
>>> mechanism. It fake MCE error and inject this error to a assigned
>>> Domain Physical Address. Makefile make sure the tool can be built on
>>> Xen. 
>>> A README explain the usage for this tool.
>> 
>> getopt_long(3) is GNU specific.
>> Please use getopt(3) instead for portability.
>> 
>> Other than that this is fine.
>> 
>> Christoph
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel