[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15714056#comment-15714056
 ] 

ASF subversion and git services commented on CLOUDSTACK-8854:
-------------------------------------------------------------

Commit 3ef775dc4d17b256308e709512d6105220381082 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3ef775d ]

Merge pull request #828 from sureshanaparti/CLOUDSTACK-8854

CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in ESXi 
hypervisorsCLOUDSTACK-8854: Apple Mac OS/X VM get created without USB 
controller in ESXi hypervisors

Problem Description: CloudStack doesnt 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.

* pr/828:
  CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in ESXi 
hypervisors

Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>


> Apple Mac OS/X VM get created without USB controller in ESXi hypervisors
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8854
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8854
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: VMware
>            Reporter: Suresh Kumar Anaparti
>            Assignee: Suresh Kumar Anaparti
>             Fix For: Future
>
>
> ISSUE
> ==================
> Apple Mac OS/X VM get created without USB controller. For mouse/keyboard to 
> function in CS Console window VM has to have USB controller. It seems CS 
> doesn't use the same procedure as native vSphere client because natively when 
> OS is specified as OS/X vSphere always adds USB controller to empty VM shell.
> EXPECTED BEHAVIOR
> ==================
> USB device added to VM when created on CS
> ACTUAL BEHAVIOR
> ==================
> No USB device added



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to