[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Hao, Xudong" <xudong.hao@xxxxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcuhwSrNETqNSfieSzCWb2Wn/IVCqwBUupGwABAp7YY=
  • Thread-topic: [Xen-devel] [PATCH 1/3] Xen MCE test: utilities to inject fake MCE for X86

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.