* [PATCH] silence xen-detect detection
@ 2010-03-07 12:52 Luca Berra
[not found] ` <20100307125208.GA26671-hdG+WfPrfN2JmafXlB/IVQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Luca Berra @ 2010-03-07 12:52 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
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
--
Luca Berra -- bluca-APJUtua8uzqonA0d6jMUrA@public.gmane.org
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] silence xen-detect detection
[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>
0 siblings, 1 reply; 3+ messages in thread
From: Harald Hoyer @ 2010-03-17 10:56 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
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
>
pushed
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] silence xen-detect detection
[not found] ` <4BA0B55D.90007-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2010-03-17 12:27 ` Karel Zak
0 siblings, 0 replies; 3+ messages in thread
From: Karel Zak @ 2010-03-17 12:27 UTC (permalink / raw)
To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-17 12:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.