Re: [PATCH virt-what] Add support for detecting bhyve

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

 



On Sat, Jul 30, 2016 at 08:14:40PM +0000, Leonardo Brondani Schenkel wrote:
> ---
>  virt-what.in | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/virt-what.in b/virt-what.in
> index 0e048a2..b1eff0d 100644
> --- a/virt-what.in
> +++ b/virt-what.in
> @@ -134,6 +134,13 @@ if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then
>      echo virtualbox
>  fi
>  
> +# Check for bhyve.
> +if [ "$cpuid" = "bhyve bhyve " ]; then
> +  echo bhyve
> +elif echo "$dmi" | grep -q "Vendor: BHYVE"; then
> +  echo bhyve
> +fi
> +
>  # Check for OpenVZ / Virtuozzo.
>  # Added by Evgeniy Sokolov.
>  # /proc/vz - always exists if OpenVZ kernel is running (inside and outside

Didn't see this patch until now.

The patch needs tests.  Have a look at how these have been implemented
in some of the other commits.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux