<div dir="ltr">Hello All,<div><br></div><div>I wanted to know the feasibility of VirtualBox source to be built with Clang/LLVM on Linux. As far as I researched, tried</div><div>and experimented so far, it turned out that there are many hard-coded gcc/g++-specific Makefile variables, etc which I tried</div><div>to update beforehand via configure script. And also tried to work upon some of the code that used non-standard VLAIS</div><div>that gcc supports as an extension but clang doesn't. With that, I was able to some of the code with Clang/LLVM and still</div><div>there are some more to build that are likely to throw some more compilation errors, etc due to gcc/clang extensions differences.</div><div>I also tried to reuse the MacOS/darwin settings(as an experiment) as it seems to use Clang/LLVM as the compiler - but</div><div>appeared to require more effort than using Linux(OS) specific Makefile settings to point to Clang/LLVM and get the build</div><div>going. So, before proceeding further, I wanted to know if there have been attempts to build Virtualbox using Clang/LLVM</div><div>on Linux for Linux. I saw an old thread discussing about the same being possible for FreeBSD. So, I tried to set the OS to</div><div>be FreeBSD and get going to see how far the build can go - it failed in the first few steps when it didn't find some FreeBSD</div><div>specific settings which I had expected to happen as I am using Ubuntu 17.10 x86_64 as the host to build Virtualbox using</div><div>Clang/LLVM. So, any thoughts on this?</div><div><br></div><div>By the way, I was successful in building all of the Virtualbox kernel modules(vboxpci, vboxnetadp, vboxnetfltm, vboxdrv),</div><div>using Clang/LLVM and they are completely working as expected as I verified the same by running Ubuntu 17.10 x86_64</div><div>as the guest within the installed Virtualbox(v5.2.8) on the same host <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Ubuntu 17.10 x86_64 I am using for the above</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Clang/LLVM/Virtualbox/Linux </span>building process. Below are the metadata embedded within these kernel modules showing</div><div>the compiler used to build them to be Clang/LLVM along with the other details of host and VirtualBox guest to give a</div><div>better context in this regard.</div><div><br></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Cheers,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Raghavan Santhanam</div><br></div><div><br></div><div><b><u>On host Ubuntu 17.10 x86_64 with Clang-built kernel 4.15.10 an Clang-built Nvidia driver 390.25 :</u></b></div><div><b><u><br></u></b></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## VirtualBox version<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ VirtualBox --help | head -1<br></b></font><font face="monospace, monospace" size="1"><b>Oracle VM VirtualBox Manager 5.2.8<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## VirtualBox clang-built kernel modules loaded on host<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ lsmod | grep vbox<br></b></font><font face="monospace, monospace" size="1"><b>vboxpci                28672  0 <br></b></font><font face="monospace, monospace" size="1"><b>vboxnetadp             28672  0 <br></b></font><font face="monospace, monospace" size="1"><b>vboxnetflt             32768  0 <br></b></font><font face="monospace, monospace" size="1"><b>vboxdrv               487424  4 vboxpci,vboxnetadp,vboxnetflt<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## VirtualBox kernel modules built using Clang/LLVM having the Clang/LLVM specific metadata within<br></b></font><font face="monospace, monospace" size="1"><b>## them<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/misc/vboxdrv.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxdrv.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/misc/vboxnetadp.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxnetadp.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/misc/vboxnetflt.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxnetflt.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/misc/vboxpci.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxpci.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## VirtualBox kernel modules showing VirtualBox version info<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ virtualboxmeta <br></b></font><font face="monospace, monospace" size="1"><b>++ grep 'VirtualBox\|^version='<br></b></font><font face="monospace, monospace" size="1"><b>+++ uname -r<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxdrv.ko<br></b></font><font face="monospace, monospace" size="1"><b>description=Oracle VM VirtualBox Support Driver<br></b></font><font face="monospace, monospace" size="1"><b>version=5.2.8 r121009 (0x00290001)<br></b></font><font face="monospace, monospace" size="1"><b>++ grep 'VirtualBox\|^version='<br></b></font><font face="monospace, monospace" size="1"><b>+++ uname -r<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxnetadp.ko<br></b></font><font face="monospace, monospace" size="1"><b>description=Oracle VM VirtualBox Network Adapter Driver<br></b></font><font face="monospace, monospace" size="1"><b>version=5.2.8 r121009 ((0xA2CDe001U))<br></b></font><font face="monospace, monospace" size="1"><b>++ grep 'VirtualBox\|^version='<br></b></font><font face="monospace, monospace" size="1"><b>+++ uname -r<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxnetflt.ko<br></b></font><font face="monospace, monospace" size="1"><b>description=Oracle VM VirtualBox Network Filter Driver<br></b></font><font face="monospace, monospace" size="1"><b>version=5.2.8 r121009 ((0xA2CDe001U))<br></b></font><font face="monospace, monospace" size="1"><b>++ grep 'VirtualBox\|^version='<br></b></font><font face="monospace, monospace" size="1"><b>+++ uname -r<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/misc/vboxpci.ko<br></b></font><font face="monospace, monospace" size="1"><b>description=Oracle VM VirtualBox PCI access Driver<br></b></font><font face="monospace, monospace" size="1"><b>version=5.2.8 r121009<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## Clang-built 4.15.10 kernel used by host Ubuntu 17.10 x86_64<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ cat /proc/version <br></b></font><font face="monospace, monospace" size="1"><b>Linux version 4.15.10 (tp@tp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #2 SMP Thu Mar 15 16:24:39 PDT 2018<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ dmesg | grep clang<br></b></font><font face="monospace, monospace" size="1"><b>[    0.000000] Linux version 4.15.10 (tp@tp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #2 SMP Thu Mar 15 16:24:39 PDT 2018<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## DMI specific host hardware information<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ sudo dmidecode -t system | grep "Manufacturer:\|Version"<br></b></font><font face="monospace, monospace" size="1"><b><span style="white-space:pre">        </span>Manufacturer: LENOVO<br></b></font><font face="monospace, monospace" size="1"><b><span style="white-space:pre">  </span>Version: Lenovo Y50-70 Touch<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ sudo dmidecode -t bios | grep "Vendor"<br></b></font><font face="monospace, monospace" size="1"><b><span style="white-space:pre">        </span>Vendor: LENOVO<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## Clang-built NVIDIA 390.25 host graphics driver info<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ nvidia-smi<br></b></font><font face="monospace, monospace" size="1"><b>Fri Mar 16 00:28:49 2018       <br></b></font><font face="monospace, monospace" size="1"><b>+-----------------------------------------------------------------------------+<br></b></font><font face="monospace, monospace" size="1"><b>| NVIDIA-SMI 390.25                 Driver Version: 390.25                    |<br></b></font><font face="monospace, monospace" size="1"><b>|-------------------------------+----------------------+----------------------+<br></b></font><font face="monospace, monospace" size="1"><b>| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |<br></b></font><font face="monospace, monospace" size="1"><b>| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<br></b></font><font face="monospace, monospace" size="1"><b>|===============================+======================+======================|<br></b></font><font face="monospace, monospace" size="1"><b>|   0  GeForce GTX 860M    Off  | 00000000:01:00.0 Off |                  N/A |<br></b></font><font face="monospace, monospace" size="1"><b>| N/A   53C    P8    N/A /  N/A |    527MiB /  4046MiB |      0%      Default |<br></b></font><font face="monospace, monospace" size="1"><b>+-------------------------------+----------------------+----------------------+</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## Clang-built NVIDIA 390.25 host graphics driver modules having Clang/LLVM compiler specific<br></b></font><font face="monospace, monospace" size="1"><b>## metadata within them<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/kernel/drivers/video/nvidia.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/kernel/drivers/video/nvidia.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/kernel/drivers/video/nvidia-modeset.ko| head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/kernel/drivers/video/nvidia-modeset.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/kernel/drivers/video/nvidia-modeset.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/kernel/drivers/video/nvidia-modeset.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/kernel/drivers/video/nvidia-uvm.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/kernel/drivers/video/nvidia-uvm.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ eclang /lib/modules/4.15.10/kernel/drivers/video/nvidia-drm.ko | head -1<br></b></font><font face="monospace, monospace" size="1"><b>++ strings -a /lib/modules/4.15.10/kernel/drivers/video/nvidia-drm.ko<br></b></font><font face="monospace, monospace" size="1"><b>++ grep clang<br></b></font><font face="monospace, monospace" size="1"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## NVIDIA 390.25 driver modules loaded on host<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ lsmod | grep nvidia<br></b></font><font face="monospace, monospace" size="1"><b>nvidia_uvm            815104  0 <br></b></font><font face="monospace, monospace" size="1"><b>nvidia_drm             24576  2 <br></b></font><font face="monospace, monospace" size="1"><b>nvidia_modeset       1097728  5 nvidia_drm<br></b></font><font face="monospace, monospace" size="1"><b>nvidia              14352384  427 nvidia_uvm,nvidia_modeset<br></b></font><font face="monospace, monospace" size="1"><b>ipmi_msghandler        61440  2 nvidia,ipmi_devintf<br></b></font><font face="monospace, monospace" size="1"><b>drm                   454656  6 nvidia_drm,i915,drm_kms_helper<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>##<br></b></font><font face="monospace, monospace" size="1"><b>## OpenGL/ES info for NVIDIA 390.25 host graphics driver<br></b></font><font face="monospace, monospace" size="1"><b>##</b></font><font face="monospace, monospace" size="1"><b><br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ glxinfo | grep NVIDIA<br></b></font><font face="monospace, monospace" size="1"><b>server glx vendor string: NVIDIA Corporation<br></b></font><font face="monospace, monospace" size="1"><b>client glx vendor string: NVIDIA Corporation<br></b></font><font face="monospace, monospace" size="1"><b>OpenGL vendor string: NVIDIA Corporation<br></b></font><font face="monospace, monospace" size="1"><b>OpenGL core profile version string: 4.5.0 NVIDIA 390.25<br></b></font><font face="monospace, monospace" size="1"><b>OpenGL core profile shading language version string: 4.50 NVIDIA<br></b></font><font face="monospace, monospace" size="1"><b>OpenGL version string: 4.6.0 NVIDIA 390.25<br></b></font><font face="monospace, monospace" size="1"><b>OpenGL shading language version string: 4.60 NVIDIA<br></b></font><font face="monospace, monospace" size="1"><b>OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.25<br></b></font><font face="monospace, monospace" size="1"><b>tp@tp:~$ </b></font></blockquote></div><div><br></div><div><b><u>Within VirtualBox guest <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Ubuntu 17.10 x86_64 with the default kernel and drivers installed using the standard Ubuntu 17.10 ISO :</span></u></b></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ dmesg | grep VirtualBox<br></b><b style="font-family:monospace,monospace;font-size:x-small">[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006<br></b><b style="font-family:monospace,monospace;font-size:x-small">[    1.403681] usb 1-1: Manufacturer: VirtualBox<br></b><b style="font-family:monospace,monospace;font-size:x-small">[    1.424711] input: VirtualBox USB Tablet as /devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input6<br></b><b style="font-family:monospace,monospace;font-size:x-small">[    1.424873] hid-generic 0003:80EE:0021.0001: input,hidraw0: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:00:06.0-1/input0<br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ </b><font face="monospace, monospace" size="1"><b><br></b></font><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ sudo dmidecode -t system | grep "Manufacturer\|Product\|Version"<br></b><b style="font-family:monospace,monospace;font-size:x-small"><span style="white-space:pre">     </span>Manufacturer: innotek GmbH<br></b><b style="font-family:monospace,monospace;font-size:x-small"><span style="white-space:pre">  </span>Product Name: VirtualBox<br></b><b style="font-family:monospace,monospace;font-size:x-small"><span style="white-space:pre">    </span>Version: 1.2<br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ </b></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace" size="1"><b>exp@exp:~$ <br></b></font><font face="monospace, monospace" size="1"><b>exp@exp:~$ sudo dmidecode -t bios | grep "Vendor\|Version"<br></b></font><font face="monospace, monospace" size="1"><b><span style="white-space:pre">   </span>Vendor: innotek GmbH<br></b></font><font face="monospace, monospace" size="1"><b><span style="white-space:pre">  </span>Version: VirtualBox<br></b></font><font face="monospace, monospace" size="1"><b>exp@exp:~$  </b></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace" size="1"><b><br></b></font><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ cat /proc/cmdline <br></b><b style="font-family:monospace,monospace;font-size:x-small">BOOT_IMAGE=/boot/vmlinuz-4.13.0-21-generic root=UUID=01b1b4a5-b38a-4998-bbae-8abbb8efcc70 ro quiet splash<br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ cat /proc/version<br></b><b style="font-family:monospace,monospace;font-size:x-small">Linux version 4.13.0-21-generic (buildd@lgw01-amd64-037) (gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3)) #24-Ubuntu SMP Mon Dec 18 17:29:16 UTC 2017<br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ </b><font face="monospace, monospace" size="1"><b><br></b></font><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ lspci | grep VirtualBox<br></b><b style="font-family:monospace,monospace;font-size:x-small">00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter<br></b><b style="font-family:monospace,monospace;font-size:x-small">00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service<br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ </b><font face="monospace, monospace" size="1"><br></font><font face="monospace, monospace" size="1"><b><br></b></font><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ <br></b><b style="font-family:monospace,monospace;font-size:x-small">exp@exp:~$ lsb_release -a<br></b><b style="font-family:monospace,monospace;font-size:x-small">No LSB modules are available.<br></b><b style="font-family:monospace,monospace;font-size:x-small">Distributor ID:<span style="white-space:pre">    </span>Ubuntu<br></b><b style="font-family:monospace,monospace;font-size:x-small">Description:<span style="white-space:pre">  </span>Ubuntu 17.10<br></b><b style="font-family:monospace,monospace;font-size:x-small">Release:<span style="white-space:pre">        </span>17.10<br></b><b style="font-family:monospace,monospace;font-size:x-small">Codename:<span style="white-space:pre">      </span>artful<br></b><font face="monospace, monospace" size="1"><b>exp@exp:~$ </b></font></blockquote><div><br></div><div><br></div><div><br></div><div><br></div></div>