Re: [PATCH] silence xen-detect detection

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

 



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@xxxxxxxxxx>
>> ---
>> 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@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux