mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] silence xen-detect detection
Date: Wed, 17 Mar 2010 13:27:51 +0100	[thread overview]
Message-ID: <20100317122751.GY2020@nb.net.home> (raw)
In-Reply-To: <4BA0B55D.90007-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Wed, Mar 17, 2010 at 11:56:29AM +0100, Harald Hoyer wrote:
> On 03/07/2010 01:52 PM, Luca Berra wrote:
>> Signed-off-by: Luca Berra <bluca-APJUtua8uzqonA0d6jMUrA@public.gmane.org>
>> ---
>> modules.d/60xen/check | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/modules.d/60xen/check b/modules.d/60xen/check
>> index 420cdc2..f155582 100755
>> --- a/modules.d/60xen/check
>> +++ b/modules.d/60xen/check
>> @@ -1,7 +1,7 @@
>> #!/bin/bash
>>
>> # No Xen-detect? Boo!!
>> -XENDETECT=$(which xen-detect)
>> +XENDETECT=$(which xen-detect 2>/dev/null)
>> [ -z "$XENDETECT" ] && [ -d "/usr/lib/xen-default" ] &&
>> XENDETECT="/usr/lib/xen-default/bin/xen-detect"
>> [ -z "$XENDETECT" ] && exit 1

 BTW, lscpu(1) from util-linux-ng is able to detect KVM, Xen and 
 MS Hv and type of virtualization (para/full).

    Karel

-- 
 Karel Zak  <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

      parent reply	other threads:[~2010-03-17 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07 12:52 [PATCH] silence xen-detect detection Luca Berra
     [not found] ` <20100307125208.GA26671-hdG+WfPrfN2JmafXlB/IVQ@public.gmane.org>
2010-03-17 10:56   ` Harald Hoyer
     [not found]     ` <4BA0B55D.90007-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-03-17 12:27       ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100317122751.GY2020@nb.net.home \
    --to=kzak-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox