Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 19:17:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221698] emulators/open-vm-tools: FreeBSD 11 VM (pre hw version 14) are reported as "FreeBSD Pre-11"
Message-ID:  <bug-221698-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221698

            Bug ID: 221698
           Summary: emulators/open-vm-tools: FreeBSD 11 VM (pre hw version
                    14) are reported as "FreeBSD Pre-11"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jpaetzel@FreeBSD.org
          Reporter: jwolfe@vmware.com
             Flags: maintainer-feedback?(jpaetzel@FreeBSD.org)
          Assignee: jpaetzel@FreeBSD.org

Created attachment 185647
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185647&action=
=3Dedit
patch for lib/misc/hostinfoPosix.c

VMware virtual HW version 14 added a distinction between FreeBSD 11 and lat=
er
and FreeBSD 10 and earlier system.  FreeBSD VMs created prior to hw version=
 14
may be reported as a "FreeBSD Pre-11" guest based on the guestOS type selec=
ted
when the VM was created.

The accompanying patches to open-vm-tools 10.1.10 will allow the FreeBSD
release to be verified through the running open-vm-tools and reported
correctly.

Before the patch:    vim-cmd vmsvc/get.guest <vm-id>  will report:

| - open-vm-tools 10.1.10 GA:
| (vim.vm.GuestInfo) {
| toolsStatus =3D "toolsOk",
| toolsVersionStatus =3D "guestToolsUnmanaged",
| toolsVersionStatus2 =3D "guestToolsUnmanaged",
| toolsRunningStatus =3D "guestToolsRunning",
| toolsVersion =3D "2147483647",
| toolsInstallType =3D "guestToolsTypeUnknown",
| toolsUpdateStatus =3D (vim.vm.GuestInfo.ToolsUpdateStatus) null,
| guestId =3D "freebsd64Guest",
| guestFamily =3D "otherGuestFamily",
| guestFullName =3D "FreeBSD Pre-11 versions (64-bit)",    <=3D=3D=3D=3D=3D=
=3D=3D wrong

Following application of the two patches:

| (vim.vm.GuestInfo) {
| toolsStatus =3D "toolsOk",
| toolsVersionStatus =3D "guestToolsUnmanaged",
| toolsVersionStatus2 =3D "guestToolsUnmanaged",
| toolsRunningStatus =3D "guestToolsRunning",
| toolsVersion =3D "2147483647",
| toolsInstallType =3D "guestToolsTypeUnknown",
| toolsUpdateStatus =3D (vim.vm.GuestInfo.ToolsUpdateStatus) null,
| guestId =3D "freebsd11_64Guest",
| guestFamily =3D "otherGuestFamily",
| guestFullName =3D "FreeBSD 11 or later versions (64-bit)",


The patches were generated with "p4 diff -du" from common source trees.   T=
he
actual location in the open-vm-tools source release is in the patch file na=
me.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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