GitHub user sureshanaparti opened a pull request:
https://github.com/apache/cloudstack/pull/828
CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in
ESXi hypervisors
CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in
ESXi hypervisors
Problem Description: CloudStack doesnât add a USB controller to the Apple
Mac OS X VMs created in ESXi hypervisors. But, vSphere Client, by default, adds
a USB Controller to the Mac OS VMs. Mac OS X machines require USB Controller
for USB mouse and keyboard access.
Root Cause: The Guest OS details are specified in the Virtual Machine
Configuration Spec for creating the VM (using the SDK API) in the EXSi
hypervisor. No USB Controller is added to the Virtual Machine Configuration
Spec. As the guest OS Identification details are specified in the VM
Configuration Spec, It is assumed that the Create VM SDK API would create the
defaults in the VM same as vSphere Client. But, as per the observation, USB
Controller is not added to the Guest OS - Mac OS VM created through the SDK API.
Resolution: When the Guest OS is Apple Mac OS, Add the USB Controller
(EHCI+UHCI - Mac supported) to the Virtual Machine Configuration Spec before
Creating or Starting the VM. For any existing Mac OS VMs, Stop and Start to add
the USB Controller. For new VMs with Mac OS, USB Controller is added
automatically.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sureshanaparti/cloudstack CLOUDSTACK-8854
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/828.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #828
----
commit f532ea728fadfa326706a9afd2a04a8118d0116f
Author: Suresh Kumar Anaparti <[email protected]>
Date: 2015-09-15T10:05:38Z
CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in
ESXi hypervisors
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---