Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 12:28:46 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Cc:        delphij@freebsd.org, Jung-uk Kim <jkim@freebsd.org>
Subject:   Rework hypervisor detection
Message-ID:  <3183374.mZUFeIh4pp@ralph.baldwin.cx>

next in thread | raw e-mail | index | archive | help
The current code to detect a hypervisor in FreeBSD is a git gross.  First, 
it's x86-specific, but stored in MI code.  Second, it does not follow the best 
practice of using cpuid info but only depends on DMI/SMBIOS strings.  The 
patch below attempts to improve this.  We might want to move the VM_GUEST_HV 
detection into this new function as well.

https://reviews.freebsd.org/D1010

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3183374.mZUFeIh4pp>