[Bug 221698] emulators/open-vm-tools: FreeBSD 11 VM (pre hw version 14) are reported as "FreeBSD Pre-11"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 21 19:17:03 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221698

            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 at FreeBSD.org
          Reporter: jwolfe at vmware.com
             Flags: maintainer-feedback?(jpaetzel at FreeBSD.org)
          Assignee: jpaetzel at FreeBSD.org

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

VMware virtual HW version 14 added a distinction between FreeBSD 11 and later
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 selected
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 = "toolsOk",
| toolsVersionStatus = "guestToolsUnmanaged",
| toolsVersionStatus2 = "guestToolsUnmanaged",
| toolsRunningStatus = "guestToolsRunning",
| toolsVersion = "2147483647",
| toolsInstallType = "guestToolsTypeUnknown",
| toolsUpdateStatus = (vim.vm.GuestInfo.ToolsUpdateStatus) null,
| guestId = "freebsd64Guest",
| guestFamily = "otherGuestFamily",
| guestFullName = "FreeBSD Pre-11 versions (64-bit)",    <======= wrong

Following application of the two patches:

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


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

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


More information about the freebsd-ports-bugs mailing list