Home

eVM™ for Windows User Manual

image

Contents

1. Change applied Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICH10R DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Figure 4 51 Device Configuration Change Applied The legacy IRQ COM1 device has now been passed to eVM for exclusive use by the guest OS 4 6 3 Conflict Example when Passing Legacy IRQ Device to eVM Remember the issue with sharing an interrupt between Windows and the guest OS This would make the guest OS dependent on a Windows interrupt handler running to maintain a deterministic system It is not allowed to assign a devic
2. TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 88 Copyright 2010 TenAsys Corporation All Rights Reserved Eg Windows devices AG Display adapters Gg IDE ATA ATAPI controllers AP Network adapters Intel R 82567LM 3 Gigabit Network Connection MSI capable D Other devices J Ports COM amp LPT lt gt Storage controllers HJM System devices Universal Serial Bus controllers 1 69 evM devices evm 1 Ports COM amp LPT L Communications Port COM1 Ready NUM 4 Figure 4 62 Network Adapter Back Under Windows Control TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 89 03 01 10 Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICHOR ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows In
3. Command Line WISE_SETUP_EXE_PATH C DOCUME 1 3RMa in LOCALS 1 Temp evmL00 10056 1 e PROPERTY CHANGE Adding PackageCode property Its value is C06C90B6 D60F 581 B84A Product Code cased to Engine Initialize P Product Code from property table before transforms ea ap eee gal tele th Product Code from property table after transforms amp 713FEDC 4C78 46DE 8E91 770967 Product not registered beginning first time install PROPERTY CHANGE Adding ProductState property Its value is 1 emeena ng msiconfigurationMmanager setLastusedsource User policy value Searchorder is nmu Adding new sources is allowed PROPERTY CHANGE Adding pac agecodechanging property Its value is 1 Package name extracted from package path evmi00 msi Package to be registered evml00 msi Note 1 2262 2 AdminProperties 3 2147287038 Machine policy value Disablemsi is 0 Machine policy value AlwaysInstallelevated is 0 User policy value AlwaysInstallelevated is 0 Running product amp 713FEDC 4C78 4BDE 8E91 77D9B7C23C50 with user privileges It s c c c c c c c c c c c c c c c c G c c c c c c ARRABARRABARRARRARBARRARBRARARARRRARARRRARRAR v Figure F 27 eVM Installation Wizard Installation Log TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97
4. Welcome to Microsoft Visual C 2008 Redistributable Setup Figure F 7 Installing Visual C 2008 Redistributable TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 110 03 01 10 ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved Read and accept the Microsoft Visual C 2008 Redistributable license by checking the checkbox Figure F 8 Then click Install Microsoft Visual C 2008 Redistributable Setup Be sure to carefully read and understand all the rights and restrictions described in the license terms You must accept the license terms before you can install the software MICROSOFT SOFTWARE LICENSE TERMS MICROSOFT VISUAL C 2008 RUNTIME LIBRARIES X86 464 AND X64 These license terms are an agreement between Microsoft Corporation or based on where you live one of its affilates and you Please read them They apply to the software named above which includes the media on which you received it if any The terms also apply to any Microsoft Press the Page Down key to see more text Mir have read and accept the license terms Figure F 8 Accept the Microsoft Visual C 2008 Redistributable License TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 111 03 01 10 te n Asys Copyright 2010 TenAsys Corporation All Rights Reserved 9 A progress dialog will show the redistributable installation an
5. devices Figure F 25 There are 4 virtual serial ports supported so you will be prompted to continue with the driver installation four times Click Continue Anyway for each of the hardware installation prompts to install all 4 virtual devices and continue with the eVM for Windows installation i7 M for Windows 1 0 Setup Updating System The features you selected are currently beng installed e n Asys fool toee Vrteatuatios SY Installing virtual sanal diver Ss Time remaining 1 seconds Hardware Installation A The software you are installing for this hardware TerAsys Com Emulator driver with Windows XP has not passed Windows Logo testing to verily its Sees Tell me why this testing is mportart Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing TOP aan Figure F 25 Com Emulator Driver Installation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 124 t e n As IS Copyright 2010 TenAsys Corporation y All Rights Reserved 25 When all components and features of eVM that you selected have been installed the Wizard will indicate that the installation was completed successfully Figure F 26
6. 5 In ATAO master path click the button at the right and navigate to your disk image and open it TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 60 e n Asy S Copyright 2010 re 6 In section 4 Serial change COM1 access to Windows Note the Windows COM driver name This is the other end of the virtual serial link from the guest to Windows and is the device which your terminal emulator will open 7 In section 8 BIOS settings change Boot device 1 to Disk so the BIOS knows to look for a disk device to boot from 8 Save your settings File gt Save You are now ready to test your configuration Open a terminal emulator and use it to open the serial port you noted in step 6 above Start your guest by clicking on the Start button on the toolbar or by selecting Guest gt Start from the dropdown 4 4 4 Installing your operating system from installation materials In some cases you can install your target operating system using standard installation materials so long as these do not depend on a video keyboard console If you have a floppy boot disk image you should copy this to the eVM Data Folder EVMCFG and assign the image to the floppy drive of your guest configuration To do this 1 Open eVM Control Panel and in the right panel expand the Floppy device 2 For Floppy A enabled select Enabled 3 In Floppy A path click on the button to the right nav
7. Basic Guest name 2 ATAO disk controller 3 ATA1 disk controller 4 Serial 5 Hoppy 6 Network 7 Parallel 8 BIOS settings HH AHRHAAA Guest name The name of the quest with cfg appended this is the name of the configuration file Figure 4 34 eVM Control Panel Selecting the Guest OS TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 56 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 3 From the toolbar click the start button green triangle Figure 4 35 File Guest Tools Help Basic Start the selected guest 3 ATA1 disk controller 4 Serial 5 Hoppy 6 Network 7 Parallel 8 BIOS settings Guest name The name of the guest with cfg appended this is the name of the configuration file Figure 4 35 eVM Control Panel Start the Selected Guest OS TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 57 t n A S 7 S Copyright 2010 TenAsys Corporation i All Rights Reserved 4 The guest OS iRMX will boot in the virtual machine an eVM Console window will open and the default debug output from iRMX will be output to the virtual COM device and show up in the terminal emulator window Figure 4 36 ge Com PuTTY iRMX eVM Control Panel File Guest Tools Help 2 eVM console ler a E 1 Basic Configuration Guest name eVM guests 2 ATA
8. If you want to view the installation log to see what the Wizard did check the checkbox to view the log Whether you view the log or not note the path where the log is saved If you experience difficulties with the installation that you cannot resolve TenAsys technical support may ask to see this log to help determine the problem Now click Finish i eVM for Windows 1 0 Setup sva EVM for Windows 1 0 has been ten Asy S successfully installed Teri theme Vitesi karen Leperts Click the Finish button to exit this installation V View the install log CADOCUME 1JRMalin LOCALS 1 T emp MS 1c35a L0 G Figure F 26 eVM Installation Wizard Successful Installation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 125 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 26 If you chose to view the installation log you will see something similar to Figure F 27 After viewing the log you can close Notepad MSI1c35a LOG Notepad Fie Edt Format View Help verbose logging started 2 27 2010 10 34 54 Build type SHIP UNICODE 4 05 6001 00 Calling process C WINDOWS A MSI c r h 34 54 i890 Resetting cached policy values SC AC 10 34 54 890 machine policy value Debug is 0 10 34 54 890 eo RynEngine tk Product C DOCUME 1 JRMalin LOCALS 1 Temp evm100 10056 1 evml00 msi VNR Action Kill CommandLine lb tetetete aa r oc 154 Machine
9. System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICHOR ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System NuM 2 Figure 4 56 MSI Network Adapter Device Passed to eVM 4 6 5 Bus Master Warning Example To illustrate the bus master warning that the eVM Device Manager will issue when passing an MSI device to a platform that does not support VT d we turned off VT d support in the BIOS of our test platform and check using VtProbe that VT d support had been disabled Figure 4 57 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 83 03 01 10 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved e
10. Vista or XP running ona dedicated processor Core Un modified guest OS Real time or other PC compatible embedded OS running on a dedicated processor Core eVM for Windows runs on its own independent of Windows and the guest OS Virtual I O device interface allows guest OS to use Windows supported I O devices O devices that are under the control of Windows and Memory that is partitioned for the exclusive access by Windows O devices that are under the control of Windows and Memory that is partitioned for the exclusive access by the Guest OS Figure 1 1 eVM for Windows TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 t e n As IS Copyright 2010 TenAsys Corporation y All Rights Reserved 2 Quick Start Guide 03 01 10 It is important to understand the theory behind eVM virtualization before attempting to install and use this product The next section provides the technical details and background of virtualization and eVM If you already understand the technical specifics of eVM or just can t wait to get your hands on it sections 4 1 through 4 4 are quick start guide Section 4 1 will walk you through the eVM installation process Section 4 2 will describe installing virtual serial ports Section 4 2 2 will describe configuring the virtual Ethernet device Finally Section 4 3 will guide you through executing the sample guest OS iRMX that is provided with
11. You should only run software from publishers you trust How can I decide what software to run Figure F 1 Run evm100 install exe Installer TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 103 03 01 10 All Rights Reserved t E n Asys Copyright 2010 TenAsys Corporation 2 Windows XP required a number of support upgrades i e NET Framework Visual Studio 2008 Redistributable Package and an upgrade to the Microsoft Installer The eVM Installer prompts you that this will be done automatically for you and that the installation will require a reboot of the system for all changes to take effect Install eYM 1 0 iis Microsoft Welcome tc Setup NET Status amp VM 1 0 requires NET version 2 0 or greater met 2 0 is being installed V52008 Redistributable Status eVM 1 0 requires the VS 2008 Redistributable Package V52008 Redistributable will be installed Microsoft Installer Version INtime 4 requnes MS Installer version 4 or greater MS installer 4 5 vil be nstabed evM wil be installed after a reboot Figure F 2 eVM Installer System Upgrade Status Dialog TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 104 tenAs S Copyright 2010 TenAsys Corporation All Rights Reserved 3 If the NET Framework 2 0 Setup dialog is not the top dialog click on it to give it the focus Click Next to install the NET Framework 2
12. eVM OpenConsole received status 0000 from Windows mailbox 2180 type 0003 Guest iRMX started at 2 2 2010 12 14 AM Figure 4 37 eVM Control Panel Stopping the Guest OS 7 Click Yes and iRMX will be stopped 4 4 Installation of a Guest OS Installing a guest OS on eVM consists of obtaining a disk or image of the target system and creating a configuration for the guest OS TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 59 4 4 1 4 4 2 4 4 3 03 01 10 All Rights Reserved gt u FL Copyright O 2010 TenAsys Corporation ten sys The disk image can either be copied from an existing system or in some cases it can be installed directly from the installation materials The configuration is created through the eVM Control Panel utility For a list of enabled guest OSes see Appendix C Configure your existing system By reference to the Virtual Machine specification Appendix B 2 configure your system in order to match the Virtual Machine hardware interface The primary point to notice is the absence of a video device and keyboard so any console usually has to be directed to a serial port by configuration Make a disk image of your system When the system is configured make a disk image by using a suitable tool In some cases the disk could be attached to your Windows system and an imaging tool used to make a binary image of the disk If you are not going to copy th
13. ersal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICH9R ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Figure 4 50 Platform Restart Required to Apply New Device Configuration When the platform has been restarted launch eVM Device Manager and expand the Ports COM amp LPT node under Windows devices and under eVM devices Figure 4 51 You will see that the Communications Port COM1 is no longer listed as a Windows device but it is now listed as an eVM device TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 77 ten sys Copyright O 2010 TenAsys Corporation All Rights Reserved SERT P Bi Display adapters 4m IDE ATA ATAPI controllers g 2 Network adapters Other devices 5 Ports COM amp LPT JE ECP Printer Port LPT1 JE INtime Com Emulator driver COM3 Storage controllers gM System devices E Universal Serial Bus controllers eVM devices D evM 2 17 Ports COM amp LPT XP Communications Port COM1
14. t e n S y S Copyright 2010 es Windows and Windows Vista are registered trademarks of Microsoft Corporation TenAsys INtime and iRMX are registered trademarks of TenAsys Corporation eVM is a trademark of TenAsys Corporation Intel is a registered trademark of Intel Corporation All other company names and products herein may be trademarks of their respective owners TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 3 gt 7C Copyright 2010 TenAsys Corporation t C n Sy S All Rights Reserved Table of Contents LT Introductohsamvudssaqasgauedtannser ea ee Rt 7 1 1 Overview of eVM for Windows musnrnnrnranannvnnnnvnnrnnvnvnranenurnnnnenannrnsnurevenurnsnnnnnnnvnsnurevensrnsnnnnnnnnsenn 7 Z Quick Start GUIS unge aaien esel ae eid 9 3 Product Technical Description rrrrrnnnnnnnnnrrrrrrnnnnnnnrnrvrnssnannnnnnvnnssnsnannnnnnnsnnssnnannnnnnnnssssnnnannnnrrnssnnnnnnnnn 10 3 1 What is Real Time embedded virtualization msrerannrnnonvnnrnvnnrnrrnnnnrnnnnnnnenvnnrrrrnennranennnnsernneenn 10 3 2 Theory of Operation Of EVM rrrrnnnnrnrvnnnsnnnnnrnrvnnrrnsnannnnnnnsrssrnnnnnnnrnnnsnssrnnnnnnnsnnssnsnnnannnnnsnnsnsnnnnnns 10 3 2 1 Whatis EVM unsern aranan ea aaa eiaa Ta eaa eaa aR Daea eien das 10 3 2 2 Introduction to virtualization ereeennonrrrvnrvrrrrnnrrnnnnnnner vener rnnnnranennrnnenenesernernraesnrnsenvneennn 10 3 2 3 EVM and Virtualiza
15. 0 setup Figure F 3 iy Microsoft NET Framework 2 0 Setup Figure F 3 NET Framework 2 0 Setup Dialog Box TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 105 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 4 Read and accept the End User License Agreement Figure F 4 and click Install 03 01 10 iy Microsoft NET Framework 2 0 Setup End User License Agreement End User License Agreement MICROSOFT SOFTWARE SUPPLEMENTAL LICENSE TERMS MICROSOFT NET FRAMEWORK 2 0 Microsoft Corporation or based on where you live one of its affiliates licenses this supplement to you IF you are licensed to use Microsoft Windows operating system software the software you may use this supplement You may not use it if you do not have a license for the software You may use a copy of this supplement with each validly licensed copy of the software v By clicking I accept the terms of the License Agreement and proceeding to use the product I indicate that I have read understood and agreed to the terms of the End User License Agreement Figure F 4 NET Framework 2 0 End User License Agreement TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 106 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 5 A progress dialog Figure F 5 will be displayed as NET Framework 2 0 is installed
16. 4 4 1 Configure vour Existing System ss asteroidene arsen 60 4 4 2 Make a disk image of yo r SYStEM ararorrrnnanannnnnvvrnrrrsnnnnnnrnnnrnrrrnannnnrnnnsrssrannnnnnrnnssnsnsnnnnnnnn 60 4 4 3 Make guest configurati Msisi aiite AEE Eia Eeka eiiiai 60 4 4 4 Installing your operating system from installation materials cccc ccccccssssssssceeeeeseesees 61 4 5 Specific steps for certain Guest OSES ccccccccccscssssssseeececsseeseaececesceesesasaeeesecuseesesaseeeeseessesaaeens 61 4 5 1 Installation and configuration of QNX 6 4 ccccecsesssseceesessecsaeeeeeceseesseceeeeseesseseeaeeeeeessnees 61 4 5 2 Installation and configuration of Windows CE rarsrrrnnsnannnnnvvnnssnsnnnnnnrnnvrnssrnnnnnnrsnnsnssrnnnnnnen 65 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 4 gt TE IO Copyright O 2010 TenAsys Corporation t C n Sy S All Rights Reserved 4 6 Driver configuration and SETUP arorrrrrnnrnannnnrrrrrrnrnannnnnrnrnrrannnnnnrnnnrnssnannnnnrnnssnsnnnnnnnnnsnnssnsnnnnnn 65 4 6 1 EVM Device Manager mmmmmmmmmmmmmmmmemmmmmemememememeemeseusssussnnnnnnnnnnnnnnnnnnnnnnnnnnnrnnnnnnnrssnsssnnnes 65 4 6 2 Passing a Legacy IRQ Device to EVM rarananannnannnnnravnvnrnrnrnrnrnrnrnrnrnnnsnsnsnsnsnsnsnsnssssssnsnsnsnsnnen 70 4 6 3 Conflict Example when Passing Legacy IRQ Device to EVM rnnarnnnrnnannnnnnnrvenssnsnnnnnnvnnsennsnn 78 4 6 4 Passing an MSI Device to eVMe rar
17. 8E91 77D9B Product not registered beginning first time install PROPERTY CHANGE Adding Productstate property Its value is 1 s poe ig CMsiConfigurationmanager SetLastUsedsource User policy value Searchorder is nmu Adding new sources is allowed PROPERTY CHANGE Adding Packagecode hanging property Its value is 1 Package name extracted from package path evml00 msi Package to be registered evm100 msi Note 1 2262 2 AdminProperties 3 2147287038 E8 22 52 34 Machine policy value Disablemsi is 0 Figure 4 13 eVM Installation Wizard Installation Log TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 33 t e n As S Copyright 2010 TenAsys Corporation i y All Rights Reserved 13 After you click Finish in the dialog shown in Figure 4 12 the Wizard will prompt you that you now need to restart your system see Figure 4 14 A restart is required so eVM can take the memory that it needs for eVM and the guest OS from Windows In general resizing Windows available memory requires a restart of the Windows OS Click Yes and wait for the system to reboot eVM Control Panel File Guest Tools Help aa loc x paleo Reboot required To tell the eVM driver where eVM memory starts the system must be restarted After restarting start the eVM Control Panel again Would you like to restart the system now Figure 4 14 eVM
18. Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 Copyright O 2010 TenAsys Corporation All Rights Reserved 53 tenAsys Configuring the guest OS side Copyright 2010 TenAsys Corporation All Rights Reserved 1 Open eVM Control Panel select the guest OS and select the Network section which has an item named Virtual Ethernet NE2000 Figure 4 33 rc eVM Control Panel File Guest Tools Help aalec hxdalo E System Configuration eVM guests BG iRMX BE 1 Basic Guest name EE 2 ATAO disk controller FE 3 ATA disk controller E 4 Serial EE 5 Hoppy E 6 Network Virtual Ethemet NE2000 NE2000 1 0 address NE2000 interrupt NE2000 mode NE2000 MAC address E 7 Parallel H 8 BIOS settings iRMX Enabled 0280 12 1 42 00 00 00 00 01 f Virtual Ethernet NE2000 Is there a virtualized Ethemet NE2000 device Figure 4 33 eVM Control Panel Guest OS Virtual Ethernet Device Configuration TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 54 gt ETO Copyright 2010 TenAsys Corporation t C n Sy S All Rights Reserved 1 Inthe box next to Virtual Ethernet NE2000 select Enabled to enable the virtual Ethernet device 2 You will now see the configuration for the virtual Ethernet adapter for the virtual machine Match the I O address and interrupt to what the Guest OS expects Note we will d
19. Control Panel Restart Prompt 14 After the system has rebooted wait for the eVM services to start which will be indicated by the e icon showing up in the system tray see Figure 4 15 Seep la 3 x 3 36 AM Figure 4 15 eVM System Tray Icon TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 34 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 15 Click on the eVM tray icon and select eVM Control Panel to launch the eVM Control Panel see Figure 4 16 eVM stopped eVM Control Panel Autostart this icon About eVM Figure 4 16 Launching the eVM Control Panel from the system tray TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 35 t E n Asys Copyright 2010 TenAsys Corporation All Rights Reserved 16 When the eVM Control Panel launches if you chose the Standard Installation you will see the system configuration and no eVM guests installed Figure 4 17 If you look at the configuration in the right pane 2 virtual serial ports have been installed with the option of next_free selected a oe 5 t JK MVE LOM IF Aiddi File Help da oc hx dale E Configuration Auto start kemel No Directory C Program Data TenAsys evm evmCo Guest Memory size 256 Virtual serial ports 2 Virtual serial port 1 next free Virtual serial port 2 next free Hibemate Power Option Shutdown eVM kemel on Hibem
20. Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 131 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved G Windows XP Configuration of the Virtual Ethernet Device There are two parts to setting up eVM to manage the Virtual Ethernet connection the virtual Ethernet device on the Windows side and the virtual Ethernet device on the guest OS side This appendix only describes the configuration steps for the Windows side when running on Windows XP 1 Open the Windows Control Panel and double click on Network Connections Figure G 1 amp Control Panel File Edt View Favorites Tools Help QO S JO search 1 Folders Address B gt Control Panel Vs Control Panel a Accessibiity Add Hardware Add or Administrative JER r oe Folder Options Fonts Game Keyboard Mouse Op Windows Update Controllers Options ea te amp Bg Network Setup Phone and Power Options Printers and Regional and Scanners and Wizard Modem Faxes Language Cameras Sounds and Speech System Taskbar and User Accounts poi Audio Devices Start Menu SG 3 Windows Wireless Firewal Network Set Connects to other computers networks and the Internet Figure G 1 Windows Control Panel Select Network Connections TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 132 ten As S Copyright 2010 TenAsys Corporation y All Rights
21. Detect VT support xX t e n As ys VT x is Intel Virtualization Technology for x86 Platforms Real time Virteatication Experts Platform has support for VT x and it is enabled VT d is Intel Virtualization Technology for Directed I O Platform does not have support for VT d A platform can have one or more logical processors There are 2 logical processors evM Congratulations i platform meets the requirements for eVM For information about eVM and TenAsys Corporation see www tenasys com Figure 4 57 VT x Support Enabled but VT d Support Disabled Then we repeated the exercise in Section 4 6 4 passing the MSI network device to eVM When we select Pass to eVM the eVM Device Manager issues a warning for the network device Figure 4 58 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 84 t E n Asys Copyright 2010 TenAsys Corporation All Rights Reserved Q eVM Device Manager fo S js File Action View Help INR i Windows devices Display adapters H IDE ATA ATAPI controllers H A Network adapters amp Intel R 82567LM 3 Gigabit Network Connection MSI capable P Intel R Gigabit CT Desktop Adapter 4 MSI capable l Other devices Y Ports COM amp LPT lt gt Storage controllers gM System devices i Universal Serial Bus controllers 9 evM devices You have requested the following changes Pass co
22. Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 128 03 01 10 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 30 When the eVM Control Panel launches if you chose the Standard Installation you will see the system configuration and no eVM guests installed If you chose the Complete Installation not only has eVM been installed with the 2 virtual serial ports Figure F 31 but also has the sample guest RTOS iRMX complete with a sample configuration been installed Figure F 32 eVM Control Panel eVM guests iRMX Auto start kernel Directory Guest Memory size Virtual serial ports Virtual serial port 1 Virtual serial port 2 Hibernate Power Option Standby Power Option Disable Bug Check Interception Time of Day Update Default quest Auto start kernel Start the kemel automatically No C Documents and Settings VAI Users Ar 256 2 next_free next free Shutdown A M kernel on Hibernation Shutdown A M kernel on Standby Trap Windows Bug Check Exceptions 300 Figure F 31 Complete eVM Installation Showing System Configuration TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 129 tenAs S Copyright 2010 TenAsys Corporation All Rights Reserved Figure F 32 Complete eVM Installation Showing iRMX Guest Configuration TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 130 t e n s S Copy
23. Emulator driver COM3 gt Storage controllers System devices i a Universal Serial Bus controllers 2 69 evM devices LeO eVM Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 Windows 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3JA6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System NUM 4 Figure 4 44 COM1 properties in eVM Device Manager Figure 4 44 shows that COM 1 is a Windows device that can be passed and is a legacy interrupt device In the left pane click on the Communications Port COM1 and then either click on the Pass to eVM button Figure 4 45 TenAsys Corporation 1400 NW Compton Drive Suite 3
24. PCI ID 8086 7113 This device emulates the ACPI hardware controller for the chipset Power management features are not emulated in the VM but all other ACPI hardware features are enabled B 3 Optional Virtual Machine Components Ethernet controller An NE2000 virtual controller is provided which provides a shared memory and non interrupt driven Ethernet link to a Windows Ethernet driver Shared memory device A shared memory device will be provided which allows for the development of a simple interface to a memory area shared between Windows and the guest operating system A simple signaling mechanism is provided by the interface which generates interrupts from the virtual device The Windows side of the interface is handled through an API provided in the product B 4 BIOS The VM has a BIOS which provides the standard functionality of a PC BIOS including all of the functions required to boot a guest operating system The default action of the eVM is to execute the BIOS when first started which then attempts to boot the guest operating system via the virtual IDE or floppy interface from a disk or CDROM image TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 98 gt A Vi Copyright 2010 TenAsys Corporation t C n Sy S All Rights Reserved C Guest OSes Currently Enabled The following OSes have been tested in basic configurations and the intention is to provide an 03 01 10 adaptable c
25. devices 5 F Universal Serial Bus controllers eVM Virtual Devices Figure 4 20 Windows Device Manager You can see that the TenAsys Virtual Ethernet Adapter has been installed as well as the two virtual serial ports The property of each virtual serial port was to use the next available COM device so you can see that in this system configuration it resulted in the virtual serial ports becoming COM3 and COM4 We will discuss the configuration of the virtual Ethernet Adapter later 4 2 Virtual Ports Using eVM allows two discrete hardware platforms each with its own operating system and applications to be consolidated onto a single hardware platform Not only does this provide a reduction in hardware required to host the two systems it also provides a unique opportunity to simplify communications and connectivity between them Instead of having real hardware communications devices on each discrete hardware platform that are hard wired together eVM TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 39 4 2 1 03 01 10 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved can provide a virtual software connection between the two systems further reducing the hardware requirement to host the two interconnected systems Installation of Virtual Serial Ports When eVM was installed 2 virtual serial ports were also installed If you want to add additional serial
26. distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law Figure 4 4 eVM Installation Wizard Starting TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 24 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 5 Read and accept the TenAsys eVM Software License Agreement and click Next to continue see Figure 4 5 License Agreement You must agree with the license agreement below to proceed TENASYS CORPORATION eVM SOFTWARE LICENSE AGREEMENT YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS BEFORE OPENING THE SOFTWARE MEDIA PACKAGE OR ACCESSING THE SOFTWARE PACKAGE BY ANY MEANS BY OPENING OR OTHERWISE ACCESSING THE SOFTWARE PACKAGE SOFTWARE YOU INDICATE THAT YOU ACCEPT THESE TERMS AND CONDITIONS IF YOU DO NOT AGREE WITH THESE TERMS AND CONDITIONS YOU SHOULD PROMPTLY RETURN THE UNOPENED PACKAGE TO TENASYS FOR A FULL REFUND L LICENSE Wise Installation Wizard RF Figure 4 5 TenAsys eVM Software License Agreement TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 25 te n As S Copyright 2010 TenAsys Corporation y All Rights Reserved 6 Select the folder where you would like the installer to put the eVM installation files The default location is C Program Files eVM
27. qansi m on 3 Configure the network parameters for the virtual Ethernet subnet between Windows and QNX We are going to define a subnet of 10 100 200 0 and give it two nodes one for Windows and one for QNX Edit re local to load the ne2000 device and configure it by adding the following lines io pkt v4 dne2000 irq 12 ioport 0x280 ptcpip ifconfig end 10 100 200 2 up inetd amp qconn amp 4 In Windows edit the properties of the TenAsys Virtual Ethernet network connection and set the IP address to 10 100 200 1 5 Now make an image of your disk You can use dd and write the image to another partition or device for example dd if dev hdO0 of mnt tmp qnximg bin count 9900 Note the size ifs parameter must include both the boot sector and the partition that you want to include in the image TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 64 4 5 2 gt A 7C Copyright 2010 TenAsys Corporation t C n Sy S All Rights Reserved 6 Copy the output file to your Windows EVMCFG directory and assign it as the first hard drive for your QNX configuration 7 Make sure that you have at least one virtual serial terminal defined and add it to the configuration Installation and configuration of Windows CE This is an example of installing a guest operating system using the materials provided by the vendor 1 Create a DOS bootable floppy diskette 2 Copy the foll
28. removed from the Windows memory pool and dedicated to the guest OS using similar standard Windows configuration mechanisms as for the thread control This memory will be non paged because it s not under Windows control anymore The memory that is dedicated to eVM and the guest OS is allocated before Windows boots BEFORE AFTER Two Platforms One Platform Windows RTOS Windows PC Platform PC Platform PC Platform FFFF FFFFH FFFF FFFFH FFFF FFFFH Windows Top of Memory gt Guest OS RTOS Windows Guest Memory amp Top of Memory evM Topof Top of Windows Wenes 0000 0000H 0000 0000H Figure 3 1 Memory Map TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 13 All Rights Reserved gt u FL Copyright O 2010 TenAsys Corporation ten sys All memory addresses have to be translated to appear to be addressed from address 0 of the virtual PC so it looks like a real dedicated PC VT x assists this memory remapping in hardware thus there is no modification of the guest OS required 3 2 7 3 Interrupts In order to access a device directly from the guest OS it is necessary to dedicate any interrupt resource associated with that device to eVM so eVM can manage it and not Windows eVM maintains the control of these resources and then passes control to the Guest OS With eVM not Windows managing these interrupt resources the guest OS maintains a deterministic sys
29. the current libc so its will point to the last e g libc so 1 libc so libhiddi so libusbdi so internal Libe so Copyright 2010 TenAsys Corporation All Rights Reserved It will be created as a real file using SONAME with libc so being a symlink to it The symlink so if an earlier libc is needed add it before the this line Include all the files for the default filesystems libcam so io blk so cam disk so fs qnx4 s0 fs qnx6 so fs dos so fs ext2 so cam cdrom so fs cd so fs udf so USB for console driver devu ehci so devu ohci so devu uhci so devh usb so devh ps2ser so data copy seedres pci bios devb eide devb umass devb ahci devb mvSata devb adpu320 devb aha8 umass enum search MKIFS_PATH QNX_TARGET etc io usb io hid diskboot slogger fesh mount devc ser8250 umass enum cfg TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 63 ay AT O14 Copyright O 2010 TenAsys Corporation t C n Sy S All Rights Reserved devc con devc con hid These files will be unlinked after the system has started to release the memory back to the system They are only needed during boot If needed later on they will be loaded from the boot device unlink_list proc boot devb 2 Now configure your console device by editing etc config ttys and add a line for dev ser1 serl bin login
30. the device use MSI Message Signaled Interrupts a unique interrupt number will be assigned device must be the full device name as shown in the eVM Device Configuration utility under the eVM tree You may replace trailing characters by a single star if that still leaves a unique device name When more than one device matches the full device name an instance number must be specified zero indicates the first instance A 4 Command Line Installation of Virtual Serial Ports When the guest OS needs one or more virtual serial ports these can also be installed from within the eVM Control Panel or from the command line evmconf s number Where number is the number of virtual serial ports you want to install from 0 to 4 The configuration result is the same as opening the eVM Control Panel and in the System Configuration properties setting Virtual Serial Ports to number setting each virtual serial port to next_free and then saving the system configuration Using O will remove all virtual serial ports A 5 Debug logging When eVMconf is running debug information is presented in the bottom pane of the window You can choose to save the session s logging to a file evmconf log in the EVMCONF TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 93 t gt LUKQ Copyright O 2010 TenAsys Corporation en Asys All Rights Reserved directory tree Please n
31. time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICH9R ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Nm 4 Figure 4 47 Device Pass Request Selected To actually apply the requested change in device configuration you must save the configuration This is done by either clicking the Save configuration button Figure 4 48 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 74 ten sys GA vi File Action View Help Copyright O 2010 TenAsys Corporation All Rights Reserved as ta Display adapters cg IDE ATA ATAPI controllers av Network adapters 1 4 Other devices Jy PCI Serial Port MSI capable D PCI
32. 006 USA 03 01 10 Rev 2 7 126 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 27 After you click Finish in the dialog shown in Figure F 26 the Wizard will prompt you that you now need to restart your system Figure F 28 A restart is required so eVM can take the memory that it needs for eVM and the guest OS from Windows In general resizing Windows available memory requires a restart of the Windows OS Click Yes and wait for the system to reboot eVM Control Panel Fie Guest Tools Help H ecc axha eVM Control Panel Reboot required To tell the eVM driver where eVM memory starts the system must be restarted After restarting start the evM Control Panel again Would you like to restart the system now Figure F 28 eVM Control Panel Restart Prompt 28 After the system has rebooted wait for the eVM services to start which will be indicated by the e icon showing up in the system tray Figure F 29 Figure F 29 eVM System Tray Icon TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 127 te n As S Copyright 2010 TenAsys Corporation y All Rights Reserved 29 Click on the eVM tray icon and select eVM Control Panel to launch the eVM Control Panel Figure F 30 evM stopped w Autostart this icon About e M Exit Figure F 30 Launching the eVM Control Panel from the system tray TenAsys Corporation 1400 NW Compton
33. 01 Beaverton OR 97006 USA 03 01 10 Rev 2 7 71 gt I File Action View ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved a M _ 8 E H Vie NK y nor deices Legacy interrupt usage or svapters 5 G IDE ATA ATAPI controllers ide Network adapters Standard PS 2 Keyboard Other devi 4 Windows m Er ENE Communications Port COM1 in PCI Serial Port MSI capable 8 Windows fa PCI Simple Communications Controller MSI capable System CMOS real time clock 1 Ports COM amp LPT 11 Windows INtime RT Interface Driver 12 Windows 1 INtime Com Emulator driver COM3 go ae aaa eee lt gt Storage controllers 16 Windows 5 du Intel R ICH10 Family PCI Express Root Port 1 3A70 HD System devices Intel R ICHLO Family USB Universal Host Controller 3A67 Universal Serial Bus controllers 17 Windows eVM devices Intel R ICH10 Family PCI Express Root Port 2 3A72 vm Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICHIOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R I
34. 6 USA 03 01 10 Rev 2 7 122 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 23 The eVM Installation Wizard will next install the virtual Ethernet device Windows XP will prompt and ask if you want it proceed with that device installation Figure F 24 Click Continue Anyway to install the device and continue with the installation i gt eVi for Windows 1 0 Setup Updating Syst The eas as selected are currently bewg installed t e n Asys Seal trwe Virtertization Leperts Installing Virtual Ethernet driver s VTN Time remaining I seconds Hardware Installation A The software you are installing for this hardware Ten sys Vetual Ethemet Adapter has not passed Windows Logo testing to verily its compatibiity with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Teme Figure F 24 Virtual Ethernet Driver Installation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 123 All Rights Reserved t e n Asys Copyright 2010 TenAsys Corporation 24 The eVM Installation Wizard will next install the COM Emulator driver for virtual serial port
35. 9 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Ready CAP NUM pi Figure 4 55 MSI Capable Device Pass Request Save the device configuration as before and restart the platform and the change will be applied to the platform After saving the configuration and restarting launch the eVM Device Manager and expand the Network adapters device nodes under Windows devices and eVM devices and you will see that the network device has been removed from Windows control and is now dedicated to eVM for use by the guest OS Figure 4 56 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 82 anes Copyright 2010 TenAsys Corporation All Rights Reserved 3 ap evM D File onsen View Help FEN NARR B Windows devices _ SY Display adapters G IDE ATA ATAPI controllers aS Network adapters Pk ap Intel R 82567LM 3 Gigabit Network Connection MSI capable a b Other devices 8 1 Ports COM amp LPT lt gt Storage controllers sl System devices i fe Universal Serial Bus controllers oe eVM devices 2 0 eM Ee 2 Network a sg Ports COM amp LPT JG Communications Port COM1 Ready Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows
36. C Program Files e VM Figure F 18 Select eVM Installation Folder TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 118 03 01 10 All Rights Reserved te n Asys Copyright 2010 TenAsys Corporation 19 Select the type of installation that you would like If you choose Standard Installation Figure F 19 eVM will be installed with virtual port support If you choose Complete Installation Figure F 20 eVM with virtual port support all the utilities and a sample guest OS iIRMX will be installed You can also choose a custom installation After selecting the installation type click Next to continue je eVM for Windows 1 0 Setup Select Installation Type velo n tenAsys Reol tome Vorteeitzatier Legerts Standard Installation g The eY M for Windows 1 0 runtime components vall be installed Pi 7a O Complete Installation g installed AE All avM for Windows 1 0 components and a sample guest vall be Ocustom gs Use this option to choose which application features you want O sinstalled and where they wil be installed Recommended for af advanced users Wise Installation Wizard R Figure F 19 Choosing Standard Installation Type TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 119 All Rights Reserved ten Asys Copyright 2010 TenAsys Corporation ie eVM for Windows 1 0 Setup Select Installation Type
37. CH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System _ Pass control of the device to eVM 03 01 10 Num 4 Figure 4 45 Pass Device Using Pass to eVM Button Or from the dropdown select Action gt Pass to eVM with legacy IRQ Figure 4 46 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 72 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved Es oe File Adon View Help rie J Pass to Windows ag Pass to eVM with legacy IRQ Legacy interrupt usage cs Pass to eVM non interrupt or MSI 1 Windows E Undo pass to Windows im kor gig PS 2 Keyboard indows HE Popes Communications Port COM1 i R 8 Windows mooi SI capable System CMOS real time clock f Ports COM amp LPT 11 Windows Y M INtime RT Interface Driver 12 Windows 81 INtime Com Emulator driver COM3 sal Fr one J St troll pene PES az Intel R ICHLO Family PCI Express Root Port 1 3A70 g System devices Intel R ICHLO Family USB Universal Host Controller 3467 Universal Serial Bus controllers 17 Windows ae eVM devices Intel R ICH10 Family PCI Express Root Port 2 3A72 uf EVM Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICHAR ICHLOR DO SATA RAID Controller Intel R IC
38. Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 134
39. D disk controller gt iRMX 3 ATA disk controller 4 Serial 5 Hoppy 6 Network 7 Parallel 8 BIOS settings BHAA Guest name The name of the guest with cfg appended this is the name of the configuration file eVM OpenConsole received status 0000 from Windows mailbox 2180 type 0003 Guest iRMX started at 2 2 2010 12 14 AM a a 2 s is Figure 4 36 Guest RTOS iRMX Booting in the Virtual Machine Note for this example we are using the freeware PuTTY application but any terminal emulation application can be used TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 58 t e n As S Copyright 2010 TenAsys Corporation y All Rights Reserved 5 Once iRMX boots you can now type iRMX system commands in the terminal emulator and iRMX will respond exactly as if it were running on its own dedicated hardware platform 6 To stop iRMX in the eVM Control Panel from the toolbar select the stop button blue square and the eVM Control Panel will prompt you if you want to stop the guest OS iRMX eVM Control Panel lo amp 3 File Guest Tools Help d lcc fix b al El System EI 1 Basic I Configuration Guest name e VM quests 2 ATAO disk controller gt RMX 3 ATA1 disk controller 4 Serial 5 Hoppy 6 Network 7 Paral BRERA F Guest name The name of the guest with cfg appended this is the name of the configuration file
40. Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 30 03 01 10 ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved 10 You will then see a progress dialog see Figure 4 11 the will show you the status of the components and features that are being installed e coe Updating System The features you selected are currently being installed t e n Ag ys Real time Virtualization Experts Wise Installation Wizard Ri Figure 4 11 eVM Installation Wizard Progress Dialog TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 31 t e n As IS Copyright 2010 TenAsys Corporation y All Rights Reserved 11 When all components and features of eVM that you selected have been installed the Wizard will indicate that the installation was completed successfully see Figure 4 12 If you want to view the installation log to see what the Wizard did check the checkbox to view the log Whether you view the log or not note the path where the log is saved If you experience difficulties with the installation that you cannot resolve TenAsys technical support may ask to see this log to help determine the problem Now click Finish eVM for Windows 1 0 has been ten Asy S successfully installed Real time Virtsalicatsan Experts Click the Finish button to exit this installation 7 View the install log C Users Name AppData Local T emp MSidbda3 LOG evM lt Back Canc
41. Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A64 coo Intel R ICHLO Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A66 Intel R ICH10 Family USB Universal Host Controller 3467 i Intel R ICH10 Family USB Universal Host Controller 3A68 i Intel R ICH10 Family USB Universal Host Controller 3A69 EB evM devices ZB WM Conflict Warning Ready Copyright 2010 TenAsys Corporation All Rights Reserved You have requested the following changes Pass control to eVM Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 Windows Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICHLO Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows
42. H10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Pass control of the device to eVM NUM pr Figure 4 46 Pass Device Using Action Dropdown When you select the device to pass the right pane will show that you have selected COM1 to be passed but at this point the device configuration has not changed Figure 4 47 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 73 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved Windows devices E Display adapters IDE ATA ATAPI controllers 8 Network adapters Other devices fn PCI Serial Port MSI capable fy PCI Simple Communications Controller MSI capable Ports COM amp LPT 1 ECP Printer Port LPT1 JE INtime Com Emulator driver COM3 gt Storage controllers System devices fa Universal Serial Bus controllers eVM devices You have requested the following changes Pass control to eVM Communications Port COM1 Change selected but not applied Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows System CMOS real
43. IDE Controller Intel R ICH8R ICHOR ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICHLO Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Nm Z Figure 4 43 eVM Device Manager Showing All Devices 4 6 2 Passing a Legacy IRQ Device to eVM For this example let s choose COM1 as the legacy IRQ device To confirm that this device fits the criteria from the dropdown select View gt Devices that can be passed and look at the right pane and see if COM 11 is listed as a device with Legacy interrupt usage Then look at the left pane and expand the Windows devices Ports COM amp LPT device node to see that COM 1 is a Windows device that is a device that can be passed to eVM TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 70 tenAsys Ce Manag View Help Copyright O 2010 TenAsys Corporation All Rights Reserved EA Windows devices W Display adapters IDE ATA ATAPI controllers ey Network adapters JD Other devices Jp PCI Serial Port MSI capable fa PCI Simple Communications Controller M J Ports COM amp LPT F Communications Port COM1 F ECP Printer Port LPT1 F INtime Com
44. In this example iRMX has been set up for COM1 and COM1 to access Windows virtual COM devices 7 Then to select the COMn device in Windows that the guest COMm device will connect to select COMn Windows device and select the desired COMm device for Windows For this example iRMX COM1 will be connected to Windows COM3 and iRMX COM2 will be connected to Windows COM4 Configuring the Virtual Ethernet Device In this example we look at the case where we have two platforms interconnected via Ethernet that are now consolidated onto one platform with the Ethernet connection being managed by eVM via virtual Ethernet devices The consolidated system will consist of Windows as the host OS and Windows CE as the guest RTOS There are two parts to setting up eVM to manage the Virtual Ethernet connection the virtual Ethernet device on the Windows side and the virtual Ethernet device on the guest OS side Configuring the Windows side The follow step by step guide is for Windows 7 Vista If you have installed eVM for Windows on Windows XP following the step by step guide in Appendix G TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 47 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 1 Open the Windows Control Panel and click on Network and Sharing Center Figure 4 27 zoe Jw EF gt Control Panel All Control Panel Items v 63 Search Control Panel 2 Adjust your c
45. Intel R ICH10 Family USR Universal Host Controller 3A64 eVM CONFLICT Intel R ICH10 Family USB Enhanced Host Controller 3A6A 81 Windows Microsoft ACPI Compliant System Interrupts can not be shared between a Windows and an eVM device When your changes are accepted one or more interrupt conflicts arise Nm 4 Figure 4 53 eVM Device Manager Flagging a Conflict In the right pane see the conflict warning that is posted by eVM Device Manager Figure 4 53 4 6 4 Passing an MSI Device to eVM In our example system we have two Ethernet devices One is an onboard controller that Windows is using and the other is a PCI Express adapter with MSI capability that can be dedicated to eVM for the guest OS to use If we expand the Windows devices Network adapters node in the left pane of this system we will see the Intel Gigabit CT Desktop Adapter MSI capable device To illustrate another way to pass a device to eVM right click on the Intel Gigabit CT Desktop Adapter MSI capable device and select Pass to eVM non interrupt or MSI Figure 4 54 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 80 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved E Windows devices Legacy interrupt usage BY Display adapters G IDE ATA ATAPI controllers av Network adapters 1 Windows Standard PS 2 Keyboard 4 eVM KP Intel R 82567LM 3 Gigabit Netw
46. NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 22 t e n As S Copyright 2010 TenAsys Corporation i y All Rights Reserved 3 A progress dialog will show the redistributable installation and setup When it is complete the following dialog in Figure 4 3 will be displayed Click Finish to continue with the installation Setup Complete Microsoft Visual C 2008 Redistributable has been successfully installed Itis highly recommended that you download and install the latest service packs and security updates for this product For more information visit the following Web site Product Support Center Figure 4 3 Visual C 2008 Redistributable Setup Complete TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 23 03 01 10 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 4 With the Visual C 2008 Redistributable installation complete the eVM Installation Wizard is automatically launched see Figure 4 4 Click Next Real time Virtesliretoon Experts e tag r sy S Welcome to the eVM 1 0 Installation Wizard It is strongly recommended that you exit all Windows programs before running this setup program Click Cancel to quit the setup program then close any programs you have running Click Next to continue the installation WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or
47. Reserved 2 The Network Connection dialog will open and if you browse the connections displayed you will see the TenAsys Virtual Ethernet Adapter in this example it is Local Area Connection 3 Figure G 2 Double click on that local area connection Network Connections File Edt View Favorkes Tools Advanced Help GQ vx 3 gt Search 5 Folders E Address e Network Connections B a Go A Name Type D Network Tasks LAN or High Speed Internet JE seas oi Local Area Connection LAN or High Speed Inter Connected Firewalled Intel R 82567LM 3 Gigabit Network Connection Ex LAN or High Speed Inter Network cable unplugge TenAsys Virtual Ethernet Adapter Set up home or small office network dh Local Area Connection 2 LAN or High Speed Inter Network cable unplugge Intel R Gigabit CT Desktop Adapter Change Windows Firewall settings Figure G 2 Network Connections 3 This will open the Local Area Connection Properties Click on Internet Protocol TCP IP and then click the Properties button Figure G 3 so that we can set up the TCP IP properties of the virtual Ethernet device Local Area Connection 3 Properties Gen de Connect using B Tendsys Virtual Ethemet Adapter This connection uses the following items MV Client for Microsoft Networks M JB File and Printer Sharing for Microsoft Networks v Internet Protocol TCPAP Description Transmission Control Protocol Inte
48. Select the desired installation type t e n S ys Reel tome Vorteeiizatior Leperts Standard Installation g The e M for Windows 1 0 runtime components will be installed o amp Complete Installation JE Al evM for Windows 1 0 components and a sample guest will be g installed installed and where they wil be installed Recommended for O Custom g Use thes ophon to choose which application features you want 5 i Ebe advanced users Wise Installation Wizard R Figure F 20 Choosing Complete Installation Type 20 The eVM Installation Wizard will now prompt you to enter your name organization and your eVM activation code that you received when you purchased and downloaded eVM Figure F 21 Make sure you fill out all the fields properly and be sure that you are connected to the Internet as the activation code will be verified with TenAsys over the Internet Then Click Next to proceed with the installation i eVM for Windows 1 0 Setup User Information Enter the following information to personalize your installation t e n As ys Reel ter Virtweitzetion Leperts Ful Name Entes Name Organization Entes Organization Enter the eVM activation code you received le nter Activation Code Wise Installation Wizard R cm Figure F 21 eVM Activation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 120 Copyright 2010 TenAsys Corporation te
49. Simple Communications Controller MSI capable 5 1 Ports COM amp LPT 1 ECP Printer Port LPT1 JG INtime Com Emulator driver COM3 KG Storage controllers gM System devices E g Universal Serial Bus controllers eVM devices i Zev _ Make the device passings effective You have requested the following changes Pass control to eVM Communications Port COM1 Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3467 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Nm Figure 4 48 Using the Save Configuration Button Or from the dropdo
50. USA 03 01 10 Rev 2 7 65 Device Jan anemant 7 VEVICE MANdageErIENt Guest name 2 ATAD disk controller 3 ATA disk controller 4 Serial 5 Hoppy 6 Network 7 Parallel 8 BIOS settings Copyright O 2010 TenAsys Corporation All Rights Reserved 03 01 10 Figure 4 38 Launching eVM Device Manager from eVM Control Panel TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 66 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved Programs 1 e devconfig exe P See more results Figure 4 39 eVM Device Manager launch from Widows Vista or Window 7 Type the name of a program Folder document or Internet resource and Windows will open it for you ope devotee O Figure 4 40 eVM Device Manager launch from Widows XP TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 67 te n s S Copyright 2010 TenAsys Corporation f y All Rights Reserved When the eVM Device Manager launches you will see two active panes Figure 4 41 The left pane shows two trees of device classes and devices one controlled by Windows and the other managed by eVM In either tree you can expand and collapse classes Q eVM Device Manager n feta File ren View Help wen P Legacy interrupt usage fly Display adapters lt 4g IDE ATA ATAPI controllers 1 W
51. Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3469 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System NuM 4 Figure 4 60 Request to Pass the Network Controller back to Windows The eVM Device Manager will prompt you to restart the platform to apply this change Figure 4 61 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 87 tenAsys a em Device Manager File Action View Help Copyright 2010 TenAsys Corporation All Rights Reserved gt EEE a D ce Ready 03 01 10 Venn a id Windows devices Display adapters lt q IDE ATA ATAPI controll
52. able all disabled privileges before calling Install on Server 7519 End dialog not enabled 4 Gr totes package gt C uUsers SRP RDSER NOE a ae evm100 msi Package we re Dhak from gt C uUsers AppData Local Temp evm100 msi APPCOMPAT Compatibility mode property overrides found APPCOMPAT looking for appcompat database entry with Productcode E713FEDC 4C78 4B APPCOMPAT no matching Productcode found in database MSCOREE not loaded loading copy from system32 Machine policy value Transformssecure is 0 User policy value TransformsAtSource is 0 Machine policy value Disablepratch is 0 Machine policy value AllowLockdownPatch is 0 Machine policy value DisableLuaPatching is 0 Machine policy value ilies de jr Arn p is 0 Enabling baseline caching for this transaction since all active patches are MSI 3 0 APPCOMPAT looking for appcompat database entry with Productcode E713FEDC 4C78 4B APPCOMPAT no matching Productcode found in database Transforms are not secure PROPERTY CHANGE Adding MsiLogFileLocation property Its value is C Users Command Line WISE_SETUP_EXE_PATH C Users papare cea ETO EXE cu PROPERTY CHANGE Adding Packagecode property Its value is 620342AB AE80 49A7 BC3 Product Code passen to Engine Initialize E Product Code from property table before transforms Er REED ACTE AEDE es ZDI Product Code from property table after transforms E713FEDC 4C78 4BDE
53. allel 8 BIOS settings HHA AAA Figure 4 19 Complete eVM Installation Showing iRMX Guest Configuration TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 38 ten sys Copyright O 2010 TenAsys Corporation All Rights Reserved 17 Finally let s look at the devices that are now in the Windows host system Open Windows Device Manager by going to Start gt All Programs gt Administrative Tools gt Computer Management and click on Device Manager Figure 4 20 2 Computer Management File Action View Help e AG ae Computer Management Local a System Tools Task Scheduler Event Viewer gt 2 Shared Folders gt Local Users and Groups Performance Device Manager 4 Storage tay Disk Management Es Services and Applications 4 OptiPlex960 JE Computer D vg Disk drives Display adapters 3 DVD CD ROM drives gt og IDE ATA ATAPI controllers gt lt 2 Keyboards Mice and other pointing devices amp Monitors PE Network adapters ke ME 8 eVM Intel R Gigabit CT Desktop Adapter 4 i EP Intel R 82567LM 3 Gigabit Network Connection hA TenAsys Virtual Ethernet Adapter 5 Other devices 4 1 Ports COM amp LPT i JE Communications Port COM1 XDP ECP Printer Port LPT1 J TenAsys Com Emulator driver COM3 kes bed TenAsys Com Emulator driver COM4 BB Processors lt Storage controllers gli System
54. ananannnnnnnvnrnvnvnvnrnnnrnrnrnnnrnsnsnsnsnsnsnsnsnsnsnsnsnssenssnsesnnssnsesenen 80 4 6 5 Bus Master Warning Example rrrsnnrororrrnononnnnrnrrrnrsnnnnnnnnrnnsnnsnnnnnnrnrsnnssnsnnnnnrsnsssssnnnnnnnnnsne 83 4 6 6 Passing a Device back to Windows rarerrrnnsnannnnnvvrnsrnnnnnnnnrnnnnnssnsnnnnnrsnnsnssrnnnnnnnvsnssnsnnnnnnnnns 85 Ax Pr dudtioninstallation iuuuuuteemmttrutneeidninauiaie aini aat aata a a id 90 A 1 Saving the configuration with the e OPtiOn ccccccsscecssceessccssseecsseceesseeeseecseeeesseeeesaeceasecees 90 A 2 Restoring or importing a known configuratioOn mrrrnnrorrrrrrrnonannrrrrrrrrrrnnnnnnrrnrsnsnnnnnnrnnnrnssnnnnnnnnn 91 A 3 Assigning devices to EVM on the command line rnnnororvrnnonannnrnrvnnrrnnnnnnnnrnvvnnsnnnnnnnnrsnnsnssnnnnnnnnn 93 PCV GOVICES snarvei 93 A 4 Command Line Installation of Virtual Serial Ports rrerannrnnonvnnnnvnnnnrannnnrnnvnvnnnnrnnvnranennrnsenvnnennn 93 A 5 DEDUS IOS BING uns 93 B VM Virtual Machine sisisi aeia ae a a aeaaeai 95 B 1 System Requirements sssini enai a aa a ET Eaa AEE A EEE EEEa 95 B 2 Base Virtual Machine Specification cccccssscceceesesessececeeecesecseaececeeseeeseasaeeesesseeseaeeeeeesseeeeas 95 CPU vs 95 MEMON eiiieaenii aea a i e a aa a a aaa ia ea a aa iaa ii 95 Intertupt controller 8259A PIC eccerre E A 96 System Timer S254 PIT heenreis 96 CMOS amp Real Time Cl ckuu unnnnariardanamnserde tendere midre en 96 POP IDLmed
55. ase insensitive A 1 Saving the configuration with the e option 03 01 10 Syntax usage evmconf e export file name and full path Once you have configured eVM on your target development system the e option of evmconf exe will allow you to export the known working configuration to a file that can be used later to import into other systems to configure them to the same setup parameters as the target development system that this configuration was exported from or it can also be used to restore the eVM configuration of your target development system to this known state if you have made configuration changes after saving this configuration In the example below we have a system that is already configured whose configuration has been labeled My Old OS TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 90 t e n A Q V Q Copyright O 2010 TenAsys Corporation ae All Rights Reserved la eVM Control Panel fo S is File Guest Tools Help aa lec hxr alo 8 BIOS settings System E 1 Basic Configuration Guest name iRMX a eVM guests E 2 ATAO disk controller My Old OS 3 ATA disk controller E 4 Serial E 5 Hoppy E 6 Network BE 7 Parallel a Figure 4 63 eVM Configuration for My Old OS We are going to save that configuration in a file named MyeVMConf ecf by first closing the eVM Control Panel and then entering the command shown below from the run CMD Shel
56. atform must translate the physical addresses to direct the read write operation to the correct physical memory address or the device driver must be modified to make this translation explicitly This appendix describes how to make this modification E 1 Discovering the guest physical base address The guest physical base address is the offset at which the guest is located on the host This offset must be added to physical addresses programmed into any bus master device This offset is discovered using an interface to the VMM via the VMCALL instruction The VMCALL instruction causes an exit to the VMM which then processes the request based on the contents of the CPU registers To find the guest physical address execute the VMCALL instruction with EAX set to the value 0x80020001 If the call succeeds then the carry flag will be clear and the guest physical base address is returned in register EBX The size of the memory allocated to the guest will be returned in register ECX The VMCALL instruction is described in detail in Intel documentation E 2 Using the guest physical base offset value Once the base address has been obtained it can be used to offset any physical address generated by the device Anywhere in a device driver where an address is provided which the device will use to generate a physical address has to be modified in this way A pseudocode implementation of a function to implement this might look like this OsGetPhysicalAddress is assu
57. atform is a simple process that provides instant access to modern multi core computing platforms as well as access to all of the applications the development environment and the rich graphic user interface capabilities that are available under Windows The key features of eVM for Windows are Memory partitioning such that the guest embedded OS and Windows maintain their integrity there is no chance for the one operating system to corrupt the other s memory space Memory re mapping allows both Windows and the guest embedded OS to run native code without any modification to drivers and other memory mapped utilities Hardware access and interrupt mapping of specific O s to the embedded OS so that they can continue to be served with legacy drivers under the embedded OS Means of emulating legacy O s to minimize the rewriting of legacy code Thus a legacy ISA based system can easily be migrated to a state of the art and less expensive single board computer with the simple re direction of the ISA peripheral to an equivalent on board PCI device Access to Windows I O resources by the embedded OS via virtual I O device drivers TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 7 tenAsys Windows XP 03 01 10 2 Guest RTOS Copyright O 2010 TenAsys Corporation All Rights Reserved O Multi core Intel Processor platform supporting Virtual technology Un modified Windows 7
58. ation dt live All Rights Reserved Example Ethernet controller capture If an Ethernet controller that uses IRQ18 is to be captured and dedicated to the virtual machine and hence the guest OS the first thing that eVM will do is install an interrupt handler for IRQ18 to manage the real interrupt on the hardware Next eVM will map that interrupt into one of the virtual machine s IRQs a different IRQ from the actual hardware interrupt Then in operation the eVM interrupt handler will handle IRQ18 It will map IRQ18 to an available IRQ on the virtual machine and it will forward the interrupt to the guest OS when the guest OS is ready to handle it There is some additional latency introduced by the forwarding and mapping of the real hardware interrupt to the interrupt on the virtual machine but this latency is fixed and bounded Because this latency is fixed and bounded the guest OS can still run in a deterministic fashion eVM has been optimized to minimize this latency but this latency is also determined by the hardware Some CPU chipset and board designs are faster than others but the hardware contribution to this latency will be fixed The virtual machine will still be deterministic 3 2 9 5 System hardware considerations what eVM can or can t do There are some restrictions to what can and cannot be done when mapping interrupts to the virtual machine and still maintain a deterministic system Legacy interrupts from PCI devices prese
59. ation Standby Power Option Shutdown eVM kemel on Standby Disable Bug Check Interception Trap Windows Bug Check Exceptions Time of Day Update 300 Default quest Auto start kernel Start the kemel automatically Figure 4 17 eVM Control Panel with iRMX Guest RTOS Installed If you chose the Complete Installation not only has eVM been installed with the 2 virtual serial ports Figure 4 18 but also has the sample guest RTOS iRMX complete with a sample configuration been installed Figure 4 19 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 36 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved File Guest Tools Help da ec fix db ajo No C Program Data TenAsys evm evmConf 256 2 next_free next_free Hibemate Power Option Shutdown eVM kemel on Hibemation Standby Power Option Shutdown eVM kemel on Standby Disable Bug Check Interception Trap Windows Bug Check Exceptions Time of Day Update 300 Default guest Figure 4 18 Complete eVM Installation Showing System Configuration TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 37 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved eVM Control Panel File Guest Tools Help aa lec hxd ale EI 1 Basic Guest name 2 ATAO disk controller 3 ATAT disk controller 4 Serial 5 Hoppy 6 Network 7 Par
60. be to run the device in a polled mode The device would be configured with interrupts turned off and register access can still be dedicated to the guest OS It should be noted that MSI interrupts do not have this problem TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 18 t E n As VS Copyright 2010 TenAsys Corporation md a All Rights Reserved 3 2 9 6 DMA A DMA device can generate its own memory accesses without CPU intervention Such a device is a bus master device For bus master devices the Intel Virtualization Technology VT x plays no part VT x manages address remapping for the CPU Addresses that the DMA engine of a bus master device would use must be remapped for the virtual machine The view of the memory that is assigned to the virtual machine starts at address zero but the actual physical address of that memory is offset from memory address zero an amount dependent on the system configuration Any addresses that the DMA engine would use must be mapped to the actual physical address of the memory so the physical memory offset must be added to the virtual memory addresses of the virtual machine This DMA address mapping can be handled in two ways One way is to modify the device driver so that it will do the DMA address mapping This requires that a modified device driver must be prepared and installed on the guest OS The modified device driver must be able to determine the memory o
61. ch begins the installation process by installing the Microsoft Visual C 2008 Redistributable see Figure 4 1 29 Install eVM1 0 icy Microsoft Visual C 2008 Redistributable Setup Welcome to Microsoft Visual C 2008 Redistributable Setup This wizard will guide you through the installation process evM will be installed Figure 4 1 Installing Visual C 2008 Redistributable TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 21 03 01 10 ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved 2 Accept the Microsoft Visual C 2008 Redistributable license by checking the checkbox see Figure 4 2 Then click Install Be sure to carefully read and understand all the rights and restrictions described in the license terms You must accept the license terms before you can install the software MICROSOFT SOFTWARE LICENSE TERMS MICROSOFT VISUAL C 2008 RUNTIME LIBRARIES X86 IA64 AND X64 These license terms are an agreement between Microsoft Corporation or based on where you live one of its affiliates and you Please read them They apply to the software named above which indudes the media on which you received it if any The terms also apply to any Microsoft Press the Page Down key to see more text 7 I have read and accept the license terms Figure 4 2 Accept the Microsoft Visual C 2008 Redistributable License TenAsys Corporation 1400
62. d setup When it is complete the following dialog in Figure F 9 will be displayed Click Finish to continue with the installation ie Microsoft Visual C 2008 Redistributable Setup Setup Complete Microsoft Visual C 2008 Redistributable has been successfully installed It is highly recommended that you download and install the latest service packs and security updates For this product For more information visit the Following Web site Product Support Center Figure F 9 Visual C 2008 Redistributable Setup Complete TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 112 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 10 Next the installer needs to update the Microsoft Installer with a Hotfix for Windows XP Figure F 10 This will provides the support services for the eVM Installation Wizard Click Next to install the Hotfix Software Update Installation Wizard Use this vazard to install the following software update Hotfix for Windows XP KB942288 v3 Before you install this update we recommend that you Back up your system Close all open programs You might need to restait your computer after you complete this update To continue click Next Cancel Figure F 10 Windows Installer Hotfix TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 113 03 01 10 tenAsys Copyright 2010 T
63. dropdown you have Devices that can be passed as one of the choices TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 69 tenAsys Vanager View Help Devices that can be passed Refresh Properties atus Bar B 2 8 8 8 8 LO i i m 1 INtime RT Interface Devices lt 2 Keyboards A Mice and other pointing devices Monitors E Network adapters 84 Non Plug and Play Drivers gt Other devices IP Ports COM amp LPT 0 Processors lt gt Storage controllers JE System devices Universal Serial Bus controllers oe eVM devices M eVM H A A A H A fr Control which devices are shown in the device tree Legacy interrupt usage Copyright O 2010 TenAsys Corporation All Rights Reserved 1 Windows Standard PS 2 Keyboard 4 Windows Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI
64. e box next to Virtual serial port 1 you will see the COM port choices Figure 4 23 We will leave the selection for next free for this example TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 42 ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved eVM Control Panel File Guest Tools Help ida co hixd alo EI Configuration Auto start kemel No Directory C Program Data TenAsys evm evmConf Guest Memory size Virtual serial ports Virtual serial port 1 Hibemate Power Option Standby Power Option Disable Bug Check Interception Time of Day Update Default quest Virtual serial port 1 The Windows device name to reach ire Figure 4 23 Virtual Serial Port COM Port Selections TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 43 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 3 To apply this configuration change you must save the new configuration From the eVM Control Panel dropdown select File gt Save all Figure 4 24 Start eVM Kernel Stop the eVM kernel Reconfigure System Parameters Export System Configuration Export System and Guests Bug Check Interception Import Configuration Day Update z guest Exit No C ProgramData TenAsys evmevmConf 256 1 next_free Shutdown eVM kemel on Hibemation Shutdown eVM kemel on Standby Trap Windows Bug Check Except
65. e USB memory disk interfaces through the USB controller It is not interfaced directly to the bus nor is it accessed directly by the device driver 3 2 9 2 Identifying your device s capabilities The following describes the 3 classes of device capability that are of interest when configuring devices in eVM for dedicated access by the guest OS 1 Device Access The method of device access to the device registers must be determined The device can either use the I O space or be memory mapped The CPU Virtualization Technology VT x can manage the mapping of direct memory or I O space for the virtual machine The VT x mapping also provides memory protection Any access to a memory or I O space that is not mapped would be trapped by eVM and blocked Thus errant driver software in the guest OS could not corrupt the Windows platform Legacy devices must be explicitly configured Their I O ranges will have to be determined and configured in eVM so that eVM can allow access to these I O ports by the guest OS PCI and PCle devices can be discovered All the PCI PCle register and memory access information is contained in the PCI header eVM reads the Windows configuration for the device and sets up the device s registers and memory to be transparently accessible from the guest OS No interaction is necessary by the user to configure this device after it has been assigned to eVM 2 Interrupt Capability The interrupt capability of the device need
66. e Vertuainratsee sperts TENASYS CORPORATION eVM SOFTWARE LICENSE AGREEMENT YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS BEFORE OPENING THE SOFTWARE MEDIA PACKAGE OR ACCESSING THE SOFTWARE PACKAGE BY ANY MEANS BY OPENING OR OTHERWISE ACCESSING THE SOFTWARE PACKAGE SOFTWARE YOU INDICATE THAT YOU ACCEPT THESE TERMS AND CONDITIONS IF YOU DO NOT AGREE WITH THESE TERMS AND CONDITIONS YOU SHOULD PROMPTLY RETURN THE UNOPENED PACKAGE TO TENASYS FOR A FULL REFUND l LICENSE accept the license agreement O I do not accept the icense agreement Figure F 17 TenAsys eVM Software License Agreement Wise Installation wizard R TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 117 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 18 Select the folder where you would like the installer to put the eVM installation files The default location is C Program Files eVM Figure F 18 Then click Next to continue iE eVM for Windows 1 0 Setup Destination Folde Tma meste mssins CEN SYS Reol tome Vertecitzetier Liperta Fer talag Installation Wizard will install the files for evM for Windows 1 0 in the following der To install into a different folder click the Browse button and select another folder You can choose not to install eVM for Windows 1 0 by clicking Cancel to exit the Wise Installation Wizard Destination Folder
67. e entire drive make sure you have included the Master Boot Record MBR of the disk as well as the partition containing your software There are many Windows tools available to do this such as the shareware utility Selflmage If you are making an image from a Compact Flash CF drive you may need to adjust the CHS values in the configuration file so that it will boot correctly Some CF parts have unusual configurations and these are typically not copied with the data from the drive When you have a disk image copy it to the directory where eVM stores its images This varies depending on which version of Windows you are using but the environment variable EVMCFG always contains the name of this directory There is also a link to it in the Start menu Go to Start gt eVM for Windows gt eVM Data Folder to open an Explorer Window in this location Copy your disk image file here Make a guest configuration Now you have a disk image you need to create a configuration for your system We will assume that your system has one disk image and its console is the first serial port COM1 1 Open the eVM Control Panel use the eVM system tray icon or navigate to Control Panel gt eVM Control Panel Start a new configuration by clicking on Guest gt New In section 1 of the right hand panel Basic name your configuration Configuration names may have up to 12 characters Assign your disk image In section 2 change ATAO enabled to Yes
68. e n Sy S All Rights Reserved Interrupt controller 8259A PIC The standard interrupt controller is the twin 8259 PIC architecture found in the legacy PC platform This is emulated in the VM All modes are supported except non 8086 mode and Special Fully Nested Mode The default interrupt map for the VM is as follows IRQ Usage 0 System timer interrupt from 8254 1 reserved 3 Serial port 1 COM2 4 Serial port 0 COM1 5 PCI IRQ or 6 Floppy disk controller or PCI IRQ 7 Spurious interrupt or PCI IRQ 8 CMOS RTC 9 PCI IRQ 10 PCI IRQ 11 PCI IRQ 12 NE2000 13 Legacy FPU error 14 Primary IDE controller 15 Secondary IDE controller Table B 1 Virtual IRQ s APIC mode will also be supported in an early update of the VMM System Timer 8254 PIT The system timer is the standard 8254 Programmable Interval Timer found in the legacy PC platform It is emulated in the VM Modes 1 4 and 5 are currently not supported nor is any BCD counting mode or 8 bit counting modes Port 61 bits 1 and 4 are functional speaker data and refresh timer bits CMOS amp Real Time Clock The CMOS access ports 70 and 71 are fully supported and a CMOS RAM image is built at guest boot time from the eVM configuration data The real time clock is accessible through the CMOS ports in the normal way and it will generate IRQ 8 as expected Port 92 Port 92 bits 0 high speed reset and 1 A20 c
69. e provides virtual interrupt services for the guest OS The guest OS may mask and unmask interrupts in the virtual machine eVM monitors this and holds off interrupt forwarding for interrupts that are masked in the virtual machine and then forwards those interrupts to the virtual machine when they are unmasked 3 2 9 4 Software Considerations To provide a PC like virtual machine eVM must manage both classes of interrupt and act as an interrupt controller for the virtual machine The guest OS interacts with the virtual interrupt controller of eVM as if it were a hardware interrupt controller The eVM virtual interrupt controller provides interrupt signaling to the guest OS interrupt masking capability and interrupt enabling and disabling Therefore if the guest has interrupts disabled then eVM must wait until the interrupts are enabled before passing the interrupt to the guest OS The virtual machine that supports the guest OS has a different interrupt mapping for the virtual machine than the actual hardware platform The virtual machine presents an 8259 legacy interrupt controller as the means for interfacing the dedicated device interrupts to the guest OS eVM maps both classes of interrupts legacy and MSI as IRQ s in the virtual machine The guest OS sees all interrupts as legacy IRQ interrupts in the virtual machine irrespective of whether the real hardware interrupt was a legacy interrupt or an MSI interrupt eVM is acting like a software
70. e to the guest and a device to Windows that share a common interrupt The eVM Device Manager will flag an attempt to do this as a conflict To illustrate this open the eVM Device Manager and under Windows devices expand Universal Serial Bus controllers Figure 4 52 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 78 tenAsys File Action View Help Copyright 2010 TenAsys Corporation All Rights Reserved aes X aand SKE LER SR Windows devices SY Display adapters G IDE ATA ATAPI controllers av Network adapters gt Other devices 1 Ports COM amp LPT Storage controllers Mi System devices a Universal Serial Bus controllers ntellk ICHIV Fami DE Intel R ICHLO Family USB En Intel R ICH10 Family USB Universal Host Controller 3A64 Intel R ICH10 Family USB Universal Host Controller 3A65 V Intel R ICH10 Family USB Universal Host Controller 3A66 9 9 Host Controller 3 AGC nhanced hanced Intel R ICH10 Family USB Universal Host Controller 3A67 Intel R ICH10 Family USB Universal Host Controller 3A68 2 69 eVM devices evM Ready Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 Windows Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windo
71. e without modification or customization to the virtual environment eVM partitions the platform Some resources are driven completely by Windows and some resources are driven by the guest OS To maximize performance eVM dedicates a whole CPU hardware thread to the guest OS environment The hardware thread is not virtualized in that the dedicated hardware thread is available to run the guest software whenever the guest is ready to run Devices that are critical to the applications running on the guest OS are dedicated to the guest OS and are directly accessible to the applications running on the guest OS without going through a virtualization layer The VT x technology assists the CPU to translate memory addresses in accessing the memory dedicated to the guest OS There are also two virtual interfaces for communication between Windows and the quest OS There is a virtual serial interface and a virtual Ethernet interface that emulate wired links between the operating systems A single virtual Ethernet link and up to four virtual serial links are supported Finally there are devices on the virtual machine that are completely emulated because Windows has control of the real PC hardware Devices such as CMOS access to the PCI bus timers and basic core PC functionality fall into this category eVM system requirements brief overview The following lists the hardware requirements for a host platform that can run eVM e A multicore Intel processor
72. el Figure 4 12 eVM Installation Wizard Successful Installation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 32 ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved 12 If you chose to view the installation log you will see something similar to Figure 4 13 After viewing the log you can close Notepad Edit Format View Help gt Z oOo o o aaia neem verbose logging started 2 1 2010 22 52 34 Build type SHIP UNICODE 5 00 7600 00 Calling process C windows a MSI 68 30 22 52 34 504 Font created Charset Req 0 Ret 0 Font Req MS Shell Dlg Ret MS Shell Dlg I MSI 230 22 52 34 504 Font created Charset Req 0 Ret 0 Font Reg MS Shell Dlg Ret M5 Shell Dlg MSI 5 52 34 504 Resetting cached policy values MSI 52 34 504 Machine policy value Debug is 0 3 152 34 504 RunEngine reser Product C users AppData Local Temp evm100 msi ren ACTION Fe We ee ee ae CommandLine DE eee ee 52 34 504 Machine policy value DisableuserInstalls is 0 504 SOFTWARE RESTRICTION POLICY verifying package gt C Users AppData Local 1504 Note 1 2262 2 Digitalsignature 3 2147287038 504 SOFTWARE RESTRICTION POLICY C uUsers AppData Local Temp evm100 msi is not 1504 SOFTWARE RESTRICTION POLICY C Users AppData Local Temp evm100 msi is perm 7504 Cloaking enabled 2504 Attempting to en
73. enAsys Corporation All Rights Reserved 11 Read and accept the license agreement for the Windows Installer Hotfix by clicking the I Agree radio button Figure F 11 and then click Next to continue with the installation Software Update Installation Wizard License Agreement Vg Please read the following icense agreement To continue with setup you must accept the agreement MICROSOFT SOFTWARE LICENSE TERMS MICROSOFT WINDOWS INSTALLER VERSION 4 5 These license terms are an agreement between Microsoft Corporation or based on where you live one of its affiliates and you Please tead them They apply to the software named above which includes the media on which you 1 Do Not Agree amp Agree toe Figure F 11 Windows Installer License Agreement TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 114 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 12 A progress dialog will show the progress of the Windows Installer Hotfix installation Then the installer will prompt to allow the Windows Installer Service to be stopped and restarted to affect the update Click Continue to continue with the installation Software Update Installation Wizard Updating Your System KB942288 v3 Setup In order to successfully complete this installation the following services will automaticaly be stopped and restarted Windows Installer Figure F 12 Wind
74. ers Network adapters Other devices 2 7 Ports COM amp LPT lt gt Storage controllers System devices i BE Universal Serial Bus controlle 2 8 eVM devices eVM 1 Ports COM amp LPT Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows p ean me clock You must restart your computer to apply these changes Before restarting save any open files and close all programs Restart Now 18 Windows Standard Dual Channel PCI IDE Controller 22 Windows 23 Windows 81 Windows Microsoft ACPI Compliant System Figure 4 61 Restart Request to Apply Device Configuration Changes PCI Express Root Port 1 3A70 USB Universal Host Controller 3A67 PCI Express Root Port 2 3A72 E urd USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 Intel R ICH8R ICH9R ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 Nm 4 After restarting the platform launching the eVM Device Manager and expanding the device nodes in the left pane it can be seen that the network adapter is back under Windows control Figure 4 62
75. eseeecsseesesaeaeeescesseeeseeeesesseeseeseeeeseesees 99 D MUP FOG siri a e a AE A aa E aaa aa aaa e e ie N ai 100 E Modifying device drivers for bus master devices ccccecsesssceceecessesseaeeeeeessesseeseeeeseessnseaaeeeeeesensees 102 E 1 Discovering the guest physical base address rrrrrrrnrnnrnrrrnrnrnrnnnnrvrnrnrsnnnrnnnrrnnrrrsrrnnnnnrsnnsssnnnn 102 E 2 Using the guest physical base offset value ccccccccccccssssssecececessesssaeaeeeeessseseeaeeeeeessessesaeeeesens 102 F Windows XP Installation of eVM for Windows snnrarnvrnnnnvnnnnvnnenvnnnevrnnnnranennrnsnnnnsnvrnennrasennrnsnnnnsense 103 G Windows XP Configuration of the Virtual Ethernet Device rrnnrorrrnrnnnnnnnnrvvrrnnsnnnnnnnnrsnrensnnnnnnrsnsene 132 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 6 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved 1 Introduction 1 1 Overview of eVM for Windows eVM for Windows provides a virtual machine environment hosting an embedded or real time 03 01 10 operating system alongside Microsoft Windows eVM for Windows runs in parallel to Windows on any Intel multi core or multi threaded PC platform that features Intel Virtualization Technology VT Both Windows and the embedded OS run natively as if they were running on their own dedicated platforms The result is that moving an embedded OS plus the application running on it to an eVM pl
76. ffset of the virtual machine s physical memory and apply that offset to any DMA operation see Appendix E The other method for DMA address mapping is to use hardware that is specifically designed to provide address mapping of bus master devices Intel Virtualization Technology VT d or Virtualization for Directed I O is the hardware mechanism that is available for DMA address mapping The VT d technology resides in specific chipsets that contain a DMA redirection unit that translates bus master address accesses on the fly 3 2 9 7 Hardware consideration VT d 3 2 10 eVM defines an address domain that is assigned to the virtual machine for the guest OS Any device assigned to eVM is also assigned to that memory domain in hardware eVM will then translate any address that is generated in that domain and map it to the physical address of the virtual machine domain If a device tries to access memory outside its domain it is blocked by eVM providing memory security and hardware protection as well as memory mapping If VT d is not present a standard bus master driver will not work and will compromise Windows because a bus master device that is operating with a device driver that has not been modified for the virtual machine will address the wrong area of memory and almost certainly corrupt Windows memory The bus master driver must be modified to work with the virtual machine and do the appropriate address translations to be able to function i
77. ia E E E add 96 Serial ports 16550 UART eissira sninen EAEE AAEE EAEE 97 DMA controller 8237 DMA controller c ccccccsccccessscecseseceesesseceessseeecsesaececsesseeeceeseeeesesaeeeeeesaeeeeeas 97 Floppy Disk C ntroll r renren hee ees Oe ni ene 97 IDECOMEMON GF assess sscs cuca tes a e E cases duee chan lens dav RE EA EEEE S DES AEA ca AEEA AE dana evatl ugredbana cadence 97 PCI Host Bridge 440FX Host Bridge PCI device 0 rrrrrrnnrrrrnnnnrernnnnrrrrnnnnrvrnnnnnvennnnnvvrnnnnarsrnnnnnvennnnnns 97 ISA Bridge 440FX ISA Bridge PCI ID 8086 7000 sccsceeccessesececeeeeeeecaeeseseeseeceaecaeseeeeaesaeeeeseeeaes 97 EIDE Controller PCI ID 8086 7010 cesccsseescescesecceeseseeceaecaeeaeeeeeaecaeeeaeeaecaaeeaecaeseeseaecaeeeeeeaeeaseaes 97 ACPI Controller PIIX4 ACPI Controller PCI ID 8086 7113 rnrrrrnrrrrnnrnrnnvnnenvvnrrnvrrrnvrrnnrnnennnnrnnvnssnnne 98 B 3 Optional Virtual Machine Components errrrrrnnrannnnvnvvnnsnannnnnnrnvnrnssnnnnnnnvvnnssnsnnnnnnnnnsenssnnannnnnsnnsnee 98 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 5 ay ETO Copyright 2010 TenAsys Corporation t C n Sy S All Rights Reserved Ethernet Controller iL usann kamera aaaea a aa aiaa denn a EO RE a RE 98 Shared memory CeViCe ss oreta eare s aa A a e ra e e aea a Rae EE eA CETER 98 B 4 BIOS EE E E E 98 C Guest OSes Currently Enabled ccccccccssssecececseseseeeeceeecescaes
78. ices as one of the choices TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 68 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved All devices Refresh Legacy interrupt usage Properties 1 Windows Standard PS 2 Keyboard 4 Windows Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICHLO Family PCI Express Root Port 2 3A72 Intel R ICHLO Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICH9R ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Control which devices are shown in the device tree Figure 4 42 eVM Device Manager Showing Devices that can be Passed Figure 4 43 shows eVM Device Manager with all devices being displayed and when you select the View
79. igate to the floppy boot disk image file and select it 4 From the dropdown select File gt Save all to apply the change 4 5 Specific steps for certain Guest OSes Two example configurations are illustrated here For more examples visit the TenAsys website www tenasys com su 4 5 1 Installation and configuration of QNX 6 4 This is an example of customizing a target operating system and creating a disk image QNX 6 4 may be installed onto eVM for Windows in the following way You will need to create a configuration which will boot without the use of the video card A sample build file is included in this example 1 Use mkifs to create a boot image from this build file and then copy the boot image to boot The build file for QNX Neutrino booting on a PC linker ntox86 ld TSQNX TARGET x86 lib nto link h 0 Ttext OxSt S d 0 Tdata Ox d o0 0 i M L i uinit n lmod n TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 61 t Ui Copyright 2010 TenAsys Corporation en sys All Rights Reserved virtual x86 bios compress boot Reserve 64k of video memory to handle multiple video cards startup bios s64k PATH is the safe path for executables confstr CS PATH LD LIBRARY PATH is the safe path for libraries confstr _CS_LIBPATH i e This is the path searched for libs in setuid setgid executables PATH proc boot bin
80. image takes the form of a binary file There will also be support for access to whole devices such as disks or FLASH memory devices in an early update of the VMM PCI Host Bridge 440FX Host Bridge PCI device 0 A virtualized 440FX host bridge vendor ID 0x8086 device ID 0x1237 is presented by the VMM which allows it to present a virtualized PCI local bus PCI configuration space accesses are intercepted by the virtual host bridge which allows other virtual and real PCI devices to be inserted into the virtual PCI local bus ISA Bridge 440FX ISA Bridge PCI ID 8086 7000 This virtual device is primarily used to route PCI interrupts to the interrupt controller and to emulate the APM registers mostly non functional since power management is not emulated in the VM The VM provides four PCI IRQ links PIRQA through PIRQD which are routed via this device to inputs on the interrupt controller The routing is initialized according to the VM configuration at startup and dynamically controlled through the IRQ routing registers in this device EIDE Controller PCI ID 8086 7010 This device emulates the EIDE controller providing EIDE functionality for the disk controller The DMA functionality is provided by the VMM software TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 97 All Rights Reserved t gt A UQ Copyright O 2010 TenAsys Corporation en sys ACPI Controller PIIX4 ACPI Controller
81. indows Pd Network adapters Standard PS 2 Keyboard LE er 4 Windows i lb ENER Communications Port COM1 F Ports COM amp LPT 8 Windows i Storage controllers System CMOS real time clock i gill System devices 11 Windows i E Universal Serial Bus controllers INtime RT Interface Driver 2 69 eVM devices 12 Windows 2 M PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICH9R ICH10OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Ready NUM 4 Figure 4 41 eVM Device Manager You can use the View menu to select between showing only devices that can be passed or all devices Figure 4 42 shows eVM Device Manager with only the devices that can be passed being displayed and when you select the View dropdown you have All dev
82. indows Now let s give the network adapter that was passed to eVM in Section 4 6 4 back to Windows Select the Intel Gigabit CT Desktop Adapter in the eVM Network adapters node in the left pane of the eVM Device Manager and click on the Pass to Windows button Figure 4 59 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 85 tensys N File Ad Copyright O 2010 TenAsys Corporation All Rights Reserved IVRET F Windo Mi Display adapters IDE ATA ATAPI controllers Cy Network adapters m P Intel R 82567LM 3 Gigabit Network Connection MSI capable gt Other devices JE Ports COM amp LPT lt gt Storage controllers Mi System devices Universal Serial Bus controllers eVM devices vm i Communications Port COM1 l Pass control of the device to Windows i Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller I
83. ink Layer Topology Discovery Responder vent Description Transmission Control Protocol Intemet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Figure 4 31 Selecting TenAsys Virtual Ethernet Adapter TCP IPv4 Properties TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 52 tensys 03 01 10 In the Internet Protocol Version 4 TCP IPv4 Properties window select the Use the following IP address radio button and enter 10 0 0 1 in the IP address Keep the default Subnet mask of 255 0 0 0 Figure 4 32 Internet Protocol Version 4 TCP IPv4 Properties General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings 5 Obtain an IP address automatically Use the following IP address IP address Subnet mask Default gateway Obtain DNS server address automatically Use the following DNS server addresses Preferred DNS server Alternate DNS server E Validate settings upon exit Figure 4 32 Setting the Static IP Address for the TenAsys Virtual Ethernet Adapter 7 To accept this new IP address setting click OK 8 Close the Network Connections window and the Windows side of the virtual Ethernet connection configuration is complete TenAsys Corporation 1400 NW
84. interrupt controller Specific mapping of devices to IRQs in the virtual machine is described by the Virtual Machine specification see Appendix B TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 16 t e n As IS Copyright 2010 TenAsys Corporation y All Rights Reserved Guest OS RTOS Figure 3 2 eVM Interrupt Mapping Device A Is a PCI device and the driver supports MSI Note Windows XP and earlier versions of Windows do not support MSI Device B Is handled normally by Windows Device C and D Devices share the same IRQ line and the RTOS needs to access the Device D so the device is passed to the RTOS but not the IRQ Device C remains a fully functional Windows device Device D may be polled by the Guest OS but it cannot deliver an interrupt to the guest OS Device E Is passed on to the guest OS IRQ E is serviced by eVM then delivered to the RTOS as a virtual IRQ Device F Is an MSI device The MSI is handled by eVM and delivered to the RTOS as a virtual IRQ Note eVM always handles the IRQ meaning that eVM s interrupt handler runs when the interrupt fires The eVM interrupt handler converts the interrupt to an input for the virtual Peripheral Interrupt Controller PIC and forwards the translated vector to the guest OS TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 17 t E n As VS Copyright 2010 TenAsys Corpor
85. ion Needs As we Said earlier the goal of eVM is to provide a virtual environment hosted on a Windows platform that looks and performs like a dedicated PC for the guest OS The following discusses the performance issues to be aware of To provide bounded real time performance for the guest OS the design of eVM is such that interrupts are delivered to the guest RTOS in order to be handled in a deterministic way This is accomplished in part by making sure that real time interrupts are not handled by Windows and Windows is prevented from ever masking a real time interrupt The other part of deterministic interrupt handling is the design of the interrupt forwarding mechanism which is optimized to reduce interrupt latency and jitter and to provide a direct handoff to the real time guest OS Hardware performance of the guest OS is maximized by providing a dedicated hardware thread for the guest OS The guest does not have to share that core or hardware thread with any other operating system Since the guest OS has a dedicated hardware thread Windows has its own dedicated hardware threads Thus Windows performance is not reduced by having to share CPU resources Windows interrupts are handled directly by Windows Aside from removing one core and some memory from the Windows system there is minimal impact to Windows normal operation Communications between Windows and the Guest Virtual Device Interfaces When discussing the performance aspects
86. ions 300 Virtual serial ports The maximum number of virtual serial ports used by any guest Figure 4 24 Saving eVM Control Panel Configuration TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 44 te n As S Copyright 2010 TenAsys Corporation y All Rights Reserved 4 Now let s confirm that the virtual serial port has been added Open Windows Device Manager by going to Start gt All Programs gt Administrative Tools gt Computer Management and click on Device Manager Under Ports COM amp LPT you will now see the virtual serial port INtime Com Emulator driver COM3 Figure 4 25 7 De Ma ni ger File Action View Help e90 nIBDIB mE Ee Rs 4 4 OptiPled60 gt gti Computer b va Disk drives E Display adapters gt 3 DVD CD ROM drives gt qj IDE ATA ATAPI controllers gt a Keyboards b A Mice and other pointing devices gt i Monitors P Network adapters all Intel R 82567LM 3 Gigabit Network Connection Intel R Gigabit CT Desktop Adapter i og TenAsys Virtual Ethernet Adapter gt Other devices ip PCI Serial Port iy PCI Simple Communications Controller 4 Ports COM amp LPT i i 1 Communications Port COM1 181 ECP Printer Port LPT1 jo INtime Com Emulator driver COM3 gt Processors lt gt Storage controllers gt gill System devices b Universal Serial Bus controllers Figure 4 25 Windows De
87. iscuss more about the guest OS device parameters in general and with respect to QNX and Windows CE specifically in Section 4 5 3 The guest OS needs to be configured to use an IP address on the same sub net as the virtual Ethernet adapter on the Windows side In this example with iRMX we entered 10 0 0 2 as the IP address in the boot loader The guest OS now sees a virtual NE2000 Ethernet device at I O 0x280 interrupt 12 and configures its NE2000 driver to use IP address 10 0 0 2 for that device The actual guest OS needs to talk to the IP address of the Windows side 10 0 0 1 and when the Windows side responds it needs to know to talk to the IP address of the guest OS side 10 0 0 2 When we did our Windows CE example we told the Windows host to find a client at 10 0 0 2 and send the image to it 4 3 Running the Sample Guest RTOS iRMX 03 01 10 Now that we have eVM installed and a virtual COM device installed and configured let s run the sample guest RTOS iRMX 1 In Windows open a terminal emulator program and configure it to connect to the first virtual COM device Recall from Figure 4 20 that the first virtual COM device was COM3 in our example TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 55 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 2 Open eVM Control Panel and select iRMX under eVM guests Figure 4 34 File Guest Tools Help aale enx E 1
88. l or Start Search command line evmconf e c MyeVMConf ecf This will create a file called MYeVMConf ecf in the root directory of the C drive Note any file extension can be used The ecf extension is the default A 2 Restoring or importing a known configuration When you first install eVM there are no settings included in the configuration as shown in the screen capture Figure 4 64 below The i option of the evmconf exe command allows you to import a known setting from another system and allows you to restore a saved setting to a modified configuration Syntax usage evmconf i saved configuration file name and full path TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 91 All Rights Reserved t A VU Copyright O 2010 TenAsys Corporation en sys Ps p TEE evM Control tedak File Guest Tools Help dale cji i System E Configuration Configuration Auto start kemel No E eVM guests Directory C ProgramData TenAsys evm evmConf Guest Memory size 256 Virtual serial ports 2 Virtual serial port 1 next_free Virtual serial port 2 next_free Hibemate Power Option Shutdown eVM kemel on Hibemation Standby Power Option Shutdown eVM kemel on Standby Disable Bug Check Interception Trap Windows Bug Check Exceptions Time of Day Update 300 Default guest Auto start kemel Start the kemel automatically Figure 4 64 eVM Configuration To import the se
89. med to be the operating system s regular call Paddr_t LibGetRealPhysicalAddress PVOID logical address Paddr_t real address OsGetPhysicalAddress logical address Uint32 sys offset Uint32 regs 4 regs 0 GETMEMPARAMS if do_vmcall regs 0 sys offset regs 1 else sys_offset 0 return real address sys offset TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 102 t e n As S Copyright 2010 TenAsys Corporation i y All Rights Reserved F Windows XP Installation of eVM for Windows 03 01 10 The steps for installing eVM for Windows on Windows XP are different that for Windows 7 Vista due to differences in services provided and differences in the GUI for Windows XP versus Windows 7 Vista The following provides a step by step guide of the installation screens with comments as necessary for Windows Xp including eVM setup and License activation 1 Run evm100 install exe which begins the installation process Windows XP will prompt if you want to run the installer Figure F 1 Click Run Open File Security Warning The publisher could not be verified Are you sure you want to run this software Name evmi00 install exe Publisher Unknown Publisher Type Application From E InternetDownload TenAsysjevM V Always ask before opening this file This file does not have a valid digital signature that verifies its publisher
90. met Protocol The defaut wide area network protocol that provides communication across diverse interconnected networks C Show icon in notification area when connected V Notify me when this connection has limited or no connectivity Figure G 3 TenAsys Virtual Ethernet Adapter Local Area Connection Properties TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 133 t e n As S Copyright 2010 TenAsys Corporation y All Rights Reserved 4 You will now see the Internet Protocol TCP IP Properties Figure G 4 Select the Use the following IP address radio button and enter 10 0 0 1 in the IP address Keep the default Subnet mask of 255 0 0 0 Then click OK to apply the new settings Internet Protocol TCP IP Properties p General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automaticaly Use the following IP address IP address Subnet mask Defauk gateway Use the following DNS server addresses Preferred ONS server Alternate DNS server Figure G 4 Setting the Static IP Address for the TenAsys Virtual Ethernet Adapter 5 Close the Local Area Connection Properties window and the Network Connections window and the Windows side of the virtual Ethernet connection configuration is complete TenAsys
91. n the virtual machine if VT d is not present Therefore it is highly desirable to have VT d supported by the hardware and enabled through the BIOS if bus master devices are to be dedicated to the virtual machine and hence the guest OS What Happens when a Device is assigned to eVM When the eVM Device Manager is used to assign a device to eVM from Windows the following actions are taken e Access to the device by Windows is stopped by removing the Windows device driver for that device TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 19 03 01 10 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved Device identity information is passed from Windows to eVM so eVM can recognize it Thus when eVM next starts up it gets notified that it now owns this device Device identity can be passed to eVM with its IRQ or without its IRQ If the device is passed with its IRQ then a check is made for an interrupt sharing violation If there is an interrupt sharing violation the eVM Device Manager will post a warning When eVM next starts and sees that this device now belongs to eVM it obtains the device identifier and discovers the device If the device has an IRQ eVM will assign an interrupt handler for it If it is PCI device eVM inserts the device into one of the virtual PCI slots that are provided by the virtual machine The virtual machine that eVM creates has 5 virtual PCI slot
92. nAsys ooo 21 When your activation code has been verified the eVM Installation Wizard will then prompt you to confirm that you want to proceed with the installation Figure F 22 If you want to check or change anything at this point you can click the Back button if eVM for Windows 1 0 Setup Ready to Install the Applicati tad to rae ee t e n Asys Real time Virteatzation Lagerts Click the Back button to reenter the installation information or click Cancel to ext the wizard During installation of the TenAsys Virtual Ethernet driver you may see a dialog box concerning that fact that the driver has not been certified by Microsoft Choose the Continue anyway option to install the driver System Configuration LocalKemel Local HAL class 4 Windows Version 501 Wise Installation Wizard R Figure F 22 eVM Installation Verification To proceed with the installation click Next TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 121 tenAs S Copyright 2010 TenAsys Corporation All Rights Reserved 22 You will then see a progress dialog Figure F 23 the will show you the status of the components and features that are being installed i eVM for Windows 1 0 Setup Updating System The features you selected are currently being installed Figure F 23 eVM Installation Wizard Progress Dialog TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 9700
93. ns the choice of hardware is going to have to be done carefully and evaluated with the appropriate measurements to determine the optimum hardware platform 3 2 9 Device Management The eVM Device Manager utility is used for the management of devices that will be dedicated to that guest OS Before using the eVM Device Manager to manage devices it is important to know what devices can be dedicated to the guest OS what devices cannot and why 3 2 9 1 What is a device The devices that eVM can dedicate to a guest OS are PCI devices PCI Express PCle devices and legacy devices COM LPT etc These devices come in a variety of flavors so it is important to determine if the device can in fact be dedicated to a guest OS The hardware features that will be used to determine the device s suitability for being a dedicated guest OS device are TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 14 t E n As VS Copyright 2010 TenAsys Corporation at an All Rights Reserved 1 Device Access Does the device use memory mapped registers or I O mapped registers 2 Interrupt capability Does the device generate an interrupt and if so what type of interrupt does it generate 3 Bus Master capability Is the device a bus master device i e does the device generate its own memory accesses An example of a device that cannot be dedicated to the guest OS would be a USB memory disk That is because th
94. nt a restriction because multiple PCI devices can share a single interrupt In fact PCI is designed to share an interrupt This interrupt sharing presents a problem if the devices that are sharing an interrupt are not configured to be used by the same OS That is to say if one device is to be used as a Windows device and another device is to used as a guest OS device and they both share the same interrupt then there is no way to provide deterministic response for the guest device since it is dependent on a Windows interrupt handler running When an interrupt occurs on a shared interrupt the interrupt handlers for all devices sharing that interrupt must be run to determine which device caused the interrupt and to clear the interrupt so it will be available to handle a subsequent event This would mean that the guest OS would be dependent on a Windows interrupt handler running to maintain a deterministic system Therefore it is not allowed to assign a device to the guest and a device to Windows that share a common interrupt The eVM Device Manager will flag an attempt to do this as a conflict A conflict of this type is a property of the motherboard and or chipset design There is no way to configure around that so it is important to chose a hardware design that will allow interrupt isolation of devices that are to be dedicated to the guest OS One alternative for a device that would have an interrupt conflict with another device used by Windows would
95. ntel R ICH8R ICHOR ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller JA6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Nm 4 Figure 4 59 Select the Network Adapter and Pass It Back to Windows Again eVM Device Manger will show the request in the right pane except this time it shows that we are requesting to pass the device to Windows Figure 4 60 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 86 03 01 10 ten sys Copyright O 2010 TenAsys Corporation All Rights Reserved S E Windows devices Display adapters G IDE ATA ATAPI controllers P Network adapters P Intel R 82567LM 3 Gigabit Network Connection MSI capable D Other devices 19 Ports COM amp LPT lt gt Storage controllers sl System devices Universal Serial Bus controllers eVM devices 1 69 eM a Network adapters i i INtime Intel R Gigabit CT Desktop Adapter MSI capable 2 7 Ports COM amp LPT E F Communications Port COM1 You have requested the following changes Pass control to Windows Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8
96. ntrol to eVM Intel R Gigabit CT Desktop Adapter 4 Legacy interrupt usage A A 8 2 JR The device you are passing is a potential bus master L M e Unless you are planning not to use this feature or have explicitly handled DMA translation in your guest software then you need to have the VT d feature enabled on this platform to avoid corruption of Windows memory Press Yes to implement the changes regardless of these conflicts or No to get a chance to make changes or undo them 3A70 troller 3A67 3A72 troller 3A65 troller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICH9R ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Ready NUM Aa Figure 4 58 Bus Master Warning for no VT d Support If you allow the eVM Device Manager to pass this device to eVM such a condition would require that the bus master driver be modified to manage the address offset for the virtual machine or bus master capability would have to be disabled in the device if possible 4 6 6 Passing a Device back to W
97. nts and a sample guest will be i m installed zy Custom Use this option to choose which application features you want al installed and where they will be installed Recommended for advanced users Wise Installation Wizard A Figure 4 7 Choosing Standard Installation Type TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 27 03 01 10 ten Asys Copyright 2010 TenAsys Corporation All Rights Reserved fon 4 wren J Select Installation Type Select the desired installation type t E n Asys Real time Virtualization Experts Standard Installation g lt A The evM for Windows 1 0 runtime components will be installed F o Zi Complete Installation m All eVM for Windows 1 0 components and a sample guest will be EH installed H Custom gm Use this option to choose which application features you want E pr O installed and where they will be installed Recommended for a advanced users Wise Installation Wizard RA Figure 4 8 Choosing Complete Installation Type TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 28 t F n As IS Copyright 2010 TenAsys Corporation y All Rights Reserved 8 The eVM Installation Wizard will now prompt you to enter your name organization and your eVM activation code that you received when you purchased and downloaded eVM see Figure 4 9 Make sure
98. of eVM the isolation between Windows and the guest OS has been emphasized but there will be times when both OSes will want to communicate with one another and share data With both OSes on the same hardware there are some unique opportunities to provide efficient communication mechanisms between the OSes for example there is a Virtual Ethernet connection that provides communication between the guest OS and Windows This has an NDIS driver on the Windows side and an NE2000 interface on the guest OS side This virtual interface uses shared memory to move packets between Windows and the guest OS as if there were a wired Ethernet link between the two OSes There are also virtual serial ports that provide data interchange between Windows and the guest OS via a standard serial port interface TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 12 T C ight 2010 TenAsys C tion ten sys a 3 2 7 eVM Architecture Partitioning the PC between Windows and Guest OS Let s take a look at how the PC platform is partition using eVM to separate Windows and a guest OS 3 2 7 1 Hardware Threads On installation one hardware thread is removed from Windows control and dedicated to the Guest OS This uses standard Windows configuration mechanisms to manage this In a multicore platform this will dedicate a core to eVM and the guest OS 3 2 7 2 Memory On installation the memory required for eVM and the guest OS is
99. omputer s settings View by Large icons v Action Center Backup and Restore Administrative Tools AutoPlay BitLocker Drive Encryption Color Management Credential Manager Date and Time Default Programs Desktop Gadgets Device Manager Devices and Printers Display Ease of Access Center eVM Control Panel Folder Options Fonts Getting Started HomeGroup Indexing Options Intel R GMA Driver Location and Other pos Sensors Network and Sharing Center Performance Information and Tools Internet Options Mouse Notification Area Icons 4 ES 2 A amp amp B Mi G OwWoRkOwWe Parental Controls Personalization Figure 4 27 Windows Control Panel Select Network TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 48 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 2 Inthe upper left of the Network and Sharing Center click on Change adapter settings Figure 4 28 TE ror a e SS All Control Panel Items Network and Sharing Center 4 Search Control Panel 2 Control Panel Home View your basic network information and set up connections Change adapter settings L gt See full map Change advanced sharing setti a OPTIPLEX960 Network Internet ngs z This computer View your active networks Connect or disconnect Access type Internet Network SE SEES HomeGroup Joined Connections g Local Area Connecti
100. on Change your networking settings lt Set up a new connection or network Set up a wireless broadband dial up ad hoc or VPN connection or set up a router or access point Connect to a network Connect or reconnect to a wireless wired dial up or VPN network connection Choose homegroup and sharing options Access files and printers located on other network computers or change sharing settings Troubleshoot problems e Diagnose and repair network problems or get troubleshooting information ee also HomeGroup Internet Options Windows Firewall Figure 4 28 Windows Network and Sharing Center TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 49 te n Asys Copyright 2010 TenAsys Corporation All Rights Reserved 3 Now you will see Network Connections and one of the network connections displayed is the TenAsys Virtual Ethernet Adapter Figure 4 29 Double click on the TenAsys Virtual Ethernet Adapter Gr LEJ Network and Internet Network Connections v Organize v Local Area Connection Local Area Connection 2 Local Area Connection 3 Network _ Network cable unplugged _ Network cable unplugged Intel R 82567LM 3 Gigabit Netwo x MP Intel R Gigabit CT Desktop Adapt x MP TenAsys Virtual Ethernet Adapter TenAsys Virtual Ethernet Adapter Figure 4 29 Windows Network Connections TenAsys Corporation 1400 NW Compton Dri
101. onfiguration of the targeted guest OS with eVM These need to support headless operation with a serial console mode Microsoft Win CE 6 0 QNX Neutrino WindRiver VxWorks SuSE Linux Siemens RMOS TenAsys iRMX For an up to date listing of enabled guest OSes check the following website www tenasys com and click on Support gt TenAsys Knowledge Base TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 99 Copyright 2010 TenAsys Corporation tenAsys Toe D VtProbe VtProbe is one of the tools contained in the eVM installation It is used during installation to determine if the hardware platform has the required virtualization features to support eVM It can also be run standalone to manually check a hardware platform for eVM compatibility To run VtProbe do a Start gt Run and enter vtprobe or enter vtprobe in Search programs and files If the platform does not support eVM you will see that VT x is not supported In Figure D 1 the hardware platform is found to support neither VT x nor VT d t e n sys VT x is Intel Virtualization Technology for x86 Platforms Real time Virtealicetoon Experts Platform does not have support for VT x VT d is Intel Virtualization Technology for Directed I O A platform can have one or more logical processors There are 4 logical processors evM var platform cannot be used for eVM ou need at least VT x support For informa
102. ontrol are supported Other port 92 bits are not currently supported TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 96 gt TT IO Copyright O 2010 TenAsys Corporation t C n Sy S All Rights Reserved Serial ports 16550 UART An emulation of the standard 16550 UART is supported by the VMM and up to four serial ports are configurable All modes of the 16550 UART are supported Accesses to the virtual device may be either passed through to a real UART or else the virtual UART transmits and receives data to and from a Windows virtual serial driver so a virtual serial link may be established between Windows and the guest software DMA controller 8237 DMA controller The legacy 8237 DMA controller pair is virtualized by the VMM Currently the only device supported by the virtual controller is the virtual floppy disk controller Floppy Disk Controller This device simulates a standard floppy disk controller Two devices are supported drives A and B and only 1 44 Mbyte diskettes are currently virtualized The media itself is a disk image of floppy disk medium served by a Windows process to the VMM IDE controller The standard IDE controller is virtualized by the VMM and presents two IDE controllers primary and secondary to the VM Each virtual disk is actually a device image presented by the VMM from a Windows process Virtual hard disk drives and CDROM devices are supported The device
103. oots you will be prompted to continue the eVM installation Figure F 15 Click Yes Do you want to continue installing evM s _ Figure F 15 Continue eVM for Windows Installation after Reboot TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 116 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 16 With all the Windows services and upgrades successfully installed the eVM Installation Wizard is automatically launched Figure F 16 Click Next is eVM for Windows 1 0 Setup gt Welcome to the eVM for ten Asy S Windows 1 0 Installation Wizard Real time Virtaal raton Leperts It is strongly recommended that you ext all Windows programs before running this setup program Chek Cancel to quit the setup program then close any programs you have running Click Next to continue the installation WARNING This program is protected by copynght law and intemational treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and wil be prosecuted to the maximum extent possible under law Figure F 16 eVM Installation Wizard Starting 17 Read and accept the TenAsys eVM Software License Agreement and click Next to continue Figure F 17 ie eVM for Windows 1 0 Setup License Agreement You must agree with the license agreement below to proceed t E n SYS Real tom
104. or a single core processor with hyperthreading e Intel Virtualization Technology for x86 CPUs Intel VT x and a BIOS that supports enabling VT x e The default amount of RAM that will be taken away from Windows and dedicated to the guest OS and eVM is 320 MB The minimum memory requirement would be 64 MB for eVM plus the minimum memory requirement for the guest OS e Inthe case where the guest OS will access a device which uses DMA it is desirable to have Intel Virtualization Technology for Directed I O Intel VT d which eVM will use for DMA remapping If VT d is supported by the chipset then the platform must also have a BIOS that enables VT d TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 11 3 2 5 3 2 6 t E n As VS Copyright 2010 TenAsys Corporation at kn All Rights Reserved It can be difficult to determine which PC platforms and motherboards have VT x and or VT d support The specific details about the Intel Virtualization Technology support and the BIOS support is not well documented on much of the hardware available today It may take some discussions with technical support from the hardware manufacturer when trying to choose appropriate hardware It may even require obtaining an evaluation sample for actual testing TenAsys provides a tool VtProbe which checks a given platform for VT x and VT d support see Appendix D Performance How eVM addresses RTOS Windows Applicat
105. ork Connection MSI capable Communications Port COM1 7 ENG ae z 8 Windows 5 Other devices EE System CMOS real time clock 19 Ports COM amp LPT Pass to eVM with legacy IRQ 1 Windows lt gt Storage controller Pass to eVM non interrupt MSI INtime RT Interface Driver gM System devices 12 Windows Universal Serial Bu Undo pass to Windows PS 2 Compatible Mouse 16 Windows con EE Undo pass to VM Intel R ICHLO Family PCI Express Root Port 1 3A70 i Intel R ICH10 Family USB Universal Host Controller 3A67 H P Ports COM amp LPT Rename 17 Windows Properties Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICH9R ICH1OR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Figure 4 54 Right Click a Device to Pass it to eVM TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 81 te n As S Copyright 2010 TenAsys Corporation f y All Righ
106. ote that the file will only save the current session and a new session will start with a new blank file evmconf I You can also log additional information to the file with the v verbose switch evmconf I v TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 94 gt A TT IO Copyright O 2010 TenAsys Corporation te n Sy S All Rights Reserved B eVM Virtual Machine The TenAsys eVM product presents a virtual machine to guest software within a Windows environment which emulates an Intel x86 based PC with certain chipset and other characteristics In order to run eVM there is at least an Intel dual core platform required that supports VT x The specification for the virtual machine created by eVM is described as follows B 1 System Requirements The minimum requirement to run eVM is a PC platform running Windows XP Windows Vista or Windows 7 with an Intel dual core processor or single core processor with hyperthreading and VT x supported by the CPU and enabled in the BIOS B 2 Base Virtual Machine Specification The base platform consists of the following components CPU One core of the platform processor is used for the virtual machine The other core or cores are used by Windows Most of the native characteristics are available but some features are hidden such as support for VT x VT x features are not supported in the guest operating system CPUID instructions are intercepted and
107. ow Installer Service Restart Prompt 13 A service management dialog box will be displayed Figure F 13 as the update is managed Software Update Installation Wizard Updating Your System Please wat while setup inspects your current configuration archives your current files and updates your files Stopping services m Details Stopping service Windows Installer Figure F 13 Windows Installer Service Update Dialog TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 115 t e n s S Copyright 2010 TenAsys Corporation i y All Rights Reserved 14 When the Windows Installer Hotfix has been successfully installed the installer will prompt you telling you of the successful completion and that the system needs to be restarted for the changes to take effect Figure F 14 Leave the checkbox unchecked and click Finish The system will be rebooted and the eVM installation will automatically continue Software Update Installation Wizard Completing the Hotfix for Windows XP KB942288 v3 Installation Wizard You have successfully completed the KB342288 v3 Setup Wizard To apply the changes the wizard has to restart Windows To restart Windows automatically click Finish If you want to restart later select the Do not restart now check box and then click Finish FT Do not restart now Figure F 14 Windows Install Hotfix Completed Successfully 15 After the system reb
108. owing files to it from your Windows CE 6 0 installation loadcepc exe eboot bin 3 Create an autoexec bat file with these commands in it echo off verify off loadcepe v e 280 12 192 168 99 2 EBOOT BIN Note this will load KITL using the NE2000 virtual Ethernet driver 4 Configure your Windows Virtual Ethernet driver to use IP address 192 168 99 1 5 Now make a disk image of your floppy diskette and copy it to the EVMCFG directory 6 Adda floppy device to your configuration and assign this file to it Note this will load the KITL components so you can now connect to the target using your Windows CE 6 0 installation 4 6 Driver configuration and setup 4 6 1 Now that we have eVM installed under Windows the host OS and have installed a guest OS we need to dedicate devices to the host OS to the guest OS or share them between both This section will describe how to use eVM Device Manager to accomplish this eVM Device Manager The eVM Device Manager can be launched from the eVM Control Panel by selecting Tools gt Device Management from the eVM Control Panel dropdown Figure 4 38 in Windows Vista or Windows 7 by clicking the Windows Start button and entering devconfig exe into Search programs and files and click on devconfig exe Figure 4 39 or in Windows XP by selecting Start gt Run enter devconfig exe and click OK Figure 4 40 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006
109. policy value DisableuserInstalls is 0 z SOFTWARE RESTRICTION POLICY verifying partaje gt CH DOCUME I JRMaTiNn LOCALS 1 Tem Note 1 2262 2 oDigitalsignature 3 2147287038 SOFTWARE RESTRICTION POLICY C DOCUME 1 JRMa in LOCALS 1 Temp evm100 10056 1 evm100 SOFTWARE RESTRICTION POLICY C DOCUME 1 JRMalin LOCALS 1 Temp evml00 10056 1Nevml00 cloaking enabled Attempting to enable all disabled privileges before calling Install on Server End dialog not enabled Original package gt C DOCUME 1 JRMalin LOCALS 1 Temp evm100 10056 1Nevml00 msi Package we re running from gt C DOCUME 1 JRMalin LOCALS 1 Temp 1c35b msi APPCOMPAT looking for appcompat database entry with Productcode E713FEDC 4C78 480D APPCOMPAT no matching Productcode found in database MSCOREE not loaded loading copy from system32 Machine policy value Transformssecure is 0 User policy value TransformsatSource is 0 Machine policy value DisablePatch is 0 Machine policy value AllowLockdownPatch is 0 Machine policy value DisableLuaPatching is 0 Machine por value Vb Te dd dd e is 0 Enabling baseline caching for this transaction since all active patches are MSI 3 0 APPCOMPAT looking for appcompat database entry with ProductCode E713FEDC 4C78 48D APPCOMPAT no matching Productcode found in database Transforms are not secure PROPERTY CHANGE Adding MsiLogFileLocation prev Its value is C DOCUME 1 JRMal
110. ports eVM supports up to 4 virtual serial ports you can add them through the eVM Control Panel Let s look at a system with no virtual serial ports installed and look at how to install and configure a virtual serial port a virtual COM device Each virtual serial port provides a virtual COM device for the virtual machine that the guest OS can use for serial communications and a corresponding virtual COM device in Windows that will looks like a standard COM device that is wired to the virtual COM device in the virtual machine eVM manages this connection between the two COM devices using a shared memory interface TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 40 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 1 Open the eVM Control Panel and in the left panel under System click Configuration Figure 4 21 File Guest Tools Help aa loc hix db alo EI Configuration Auto start kemel Directory Guest Memory size Virtual serial ports Hibemate Power Option Standby Power Option Disable Bug Check Interception Time of Day Update Default quest No C Program Data TenAsys evm evmCo i 256 0 Shutdown eVM kemel on Hibemation Shutdown eVM kemel on Standby Trap Windows Bug Check Exceptions 300 Auto start kemel Start the kemel automatically Figure 4 21 eVM Control Panel Showing System Configuration with No Virtual Serial Ports In
111. right 2010 TenAsys Corporation y All Rights Reserved 31 Finally let s look at the devices that are now in the Windows host system Open Windows Device Manager by clicking Windows start right clicking My Computer and clicking Properties Then in the System Properties dialog click the Hardware tab at the top and click the Device Manager button If you expand the Network adapters node and Ports COM amp LPT node you can see that the TenAsys Virtual Ethernet Adapter has been installed as well as the two virtual serial ports Figure F 33 The property of each virtual serial port was to use the next available COM device so you can see that in this system configuration it resulted in the virtual serial ports becoming COM3 and COM4 Device Manager File Action View Help 6 2 mn4 2 DVD CD ROM drives E IDE ATA ATAPI controllers 5 gt Keyboards 0 Mice and other pointing devices B Network adapters B InteKR S2567LM 3 Gigabit Network Connection M IntekR Gigabit CT Desktop Adapter B TenAsys Virtual Ethernet Adapter 7 Other devices 9 Ports COM amp LPT JY Communications Port COM1 Dy AF ECP Printer Port LPT1 9 TenAsys Com Emulator driver COM3 A Ten sys Com Emulator driver COMS GR Processors Sound video and game controllers eVM Virtual Devices System devices Universal Serial Bus controllers Figure F 33 Windows Device Manager Showing eVM Virtual Devices TenAsys
112. rom its physical resources When supporting multiple operating systems on the same platform some interfaces for a given operating system are emulated and some are mapped directly to a given hardware interface The emulation of the virtual interfaces is the key to successful virtualization Many of Intel s new processor and chipset families have been specifically designed with hardware capabilities that provide virtualization capability and improve the efficiency of the virtual environment through hardware support These hardware features are known as Intel TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 10 3 2 3 3 2 4 03 01 10 t E n As VS Copyright 2010 TenAsys Corporation All Rights Reserved Virtualization Technology Two of the pieces of this Virtualization Technology that are used by eVM are VT x Intel Virtualization Technology for processor support and VT d Intel Virtualization Technology for Directed I O which is chipset technology eVM and Virtualization technology eVM is designed to take advantage of the Intel Virtualization Technology to run a real time guest OS without having to modify the RTOS drivers and interfaces All that is required is to configure the guest OS for the virtual machine All important interfaces are handled directly by the guest OS and the applications running on the guest OS and not through a virtualized layer This allows the guest OS to run in real tim
113. s for dedicated PCI devices If the device is a PCI device eVM Scans the base address registers for that device and configures the virtual machine so the access to those base address registers go directly to that device and are not intercepted by eVM If the device has an interrupt eVM assigns a virtual IRQ in the virtual machine s interrupt map If the device does not have an IRQ eVM will disable the interrupt in the virtual PCI device header of the virtual machine If this device is capable of being a bus master and if VT d is enabled then eVM assigns the device to the VT d domain of the virtual machine for hardware address translation in the guest OS If this device is capable of being a bus master but VT d is not present a warning will be presented by the eVM Device Manager It is the responsibility of the developer to either provide the modified driver or disable bus master capability TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 20 te n Asys Copyright 2010 TenAsys Corporation All Rights Reserved 4 Installation 4 1 Installation of eVM for Windows The following provides a step by step guide of the installation screens with comments as necessary including Windows and eVM setup and License activation The following description is for installation on Windows 7 Vista If you are installing on Windows XP following the step by step guide in Appendix F 1 Run evm100 install exe whi
114. s to be determined If the device has interrupt capability then it needs to be determined if the interrupt will be used by the guest OS eVM then needs to be appropriately configured 3 Bus Master Capability Finally it needs to be determined if the device is a bus master device i e does the device contain a DMA engine and can it generate its own memory accesses TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 15 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved 3 2 9 3 Interrupts There are two classes of interrupts The first class is the legacy interrupts or IRQs that have the device interrupt lines connected to specific inputs of an interrupt controller and the interrupt controller manages how each interrupt IRQ is delivered to the CPU The second class is the more modern Message Signaled Interrupt MSI where the device performs a special bus write to signal the chipset The device has no interrupt lines Instead it has special parameters that the device writes to a memory space reserved for MSI interrupt activity When the device writes to the MSI memory space the interrupt is delivered directly to the CPU eVM will handle both classes of interrupts for devices that are dedicated to the guest OS All dedicated device interrupts are fielded by eVM Then eVM in turn forwards those interrupts to the guest OS when it is ready to receive interrupts The virtual machin
115. see Figure 4 6 Then click Next to continue Destination Folder Select a folder where the application will be installed t e n SYS Real time Virtealizatoen Experts The Wise Installation Wizard will install the files for eV M 1 0 in the following folder To install into a different folder click the Browse button and select another folder You can choose not to install evM 1 0 by clicking Cancel to exit the Wise Installation Wizard Destination Folder C Program Files eVM Wise Installation Wizard Ri Figure 4 6 Select eVM Installation Folder TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 26 03 01 10 t E n A S yS Copyright 2010 TenAsys Corporation All Rights Reserved 7 Select the type of installation that you would like If you choose Standard Installation Figure 4 7 eVM will be installed with virtual port support If you choose Complete Installation Figure 4 8 eVM with virtual port support all the utilities and a sample guest OS iRMX will be installed You can also choose a custom installation After selecting the installation type click Next to continue Select Installation Type Select the desired installation type t E n Asys Real time Virtualization Experts Standard Installation zl The evM for Windows 1 0 runtime components will be installed F o Zj Complete Installation f All evM for Windows 1 0 compone
116. soft Windows The virtual machine manages the hardware resources to provide a guest OS environment whereby a real time guest OS can still run as a bounded real time operating system without modification What is eVM eVM is an embedded virtualization environment that is hosted on the Windows platform to allow consolidation of the real time control capability of a guest OS with the Windows capability on a common hardware platform eVM uses the Windows platform to create a virtual machine capable of supporting a real time guest OS that can run as a guest OS without degradation in real time performance eVM is also designed to have minimal impact on the Windows platform as well Some embedded products split processing between two computers one for real time and the other for Windows interface Using the eVM virtualization environment allows you to take advantage of both the Windows services and the real time guest OS services on the same hardware platform This provides a reduction in hardware cost by not having separate hardware systems one to support Windows and the other to support the real time OS Windows and the guest OS are also tightly connected in the eVM environment which provides some advantages for communications and interaction between Windows and the real time guest OS Introduction to virtualization Virtualization is the abstraction of computing resources In this specific case this abstraction separates the target operating system f
117. some return values modified to hide features The registers modified are the four returns by CPUID with EAX 1 and all bits are configurable internally By default the following bits are disabled always return 0 in ECX VMX_CAPABLE bit 5 The following are disabled by default in EDX HTT MTRR APIC PAE Memory Memory is allocated as a single physically contiguous region to the guest software and the VMM takes care of translating the physical addresses generated by the guest software Paging is emulated using the VTLB algorithm defined by Intel in this version of the VMM Systems which do not perform well under the VTLB algorithm are demand paging systems which frequently reload the page directory pointer such as Windows or Linux As VT x2 hardware features become available this implementation will be superseded resulting in much improved performance for such guest operating systems Hardware generated memory addresses from a PCI bus master device for example will be automatically translated if the base platform supports and enables VT d technology otherwise a change will need to be made to any software such as device drivers which calculate a physical address An interface is provided to the guest software by the VMM which generates the requested offset when making such a calculation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 95 gt a u FL Copyright O 2010 TenAsys Corporation t
118. t Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System NuM 4 Figure 4 49 Using Dropdown to Save the Configuration This changes the device configuration but it will not actually be applied until the platform has been rebooted eVM Device Manager prompts you to restart the platform Figure 4 50 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 76 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved EVM Device Manager Areg Fite Action View Help EE re A Windows devices Display adapters M IDE ATA ATAPI controllers Legacy interrupt usage 1 Windows i om Standard PS 2 Keyboard H 2 ee adapters evM Kg z me LPT Communications Port COM1 E orts t 8 Windows Storage controllers star Egill System devices i ee FF Universal Serial Bus controller ae eVM devices ZB VM Ports COM amp LPT You must restart your computer to apply these changes ess Root Port 1 3A70 ersal Host Controller 3A67 Before restarting save any open files and close all programs ess Root Port 2 3A72
119. tel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved A Production installation After you have set up eVM to meet your application requirements on your target development system you are probably going to want to replicate that setup in a production environment To do that without having to configure each and every installation of eVM in production you can save the configuration from the target development system that is already set up and import that saved configuration to each of the production systems This operation is done with the evmconf exe utility that has been loaded as part of the eVM for Windows installation This utility can be executed from the Windows Run command by pressing and holding the Windows key and then hitting the R key In the Run dialog you can enter the command line parameters described below or you can also launch the CMD Shell from the Windows Run command and enter the command line parameters described below at the command prompt In Windows Vista or Windows 7 you can also enter the command line parameters described below in Windows Start Search Note for the n command line switches n is c
120. tem environment 3 2 7 4 Devices Virtual device is one class of device disc controllers CMOS PCI bus host bridge on the PCI bus timers and interrupt controller These devices are created in software and presented to the guest OS as if they were real hardware devices These virtual devices are all part of the virtual machine A second class of devices is of real devices that are assigned to the guest OS and taken away from Windows The guest OS has exclusive access to these devices and does not share them with Windows A dedicated PCle Ethernet card is an example of this PCI or PCle devices can be dedicated to the guest OS such that an application specific device is managed by the RTOS and Windows is not aware of the device 3 2 8 Resources that are not Isolated between Windows and the Guest OS Per the virtualization architecture eVM provides isolation between Windows and the Quest OS but there are shared resources that cannot be managed in software and the usage of these resources by one of the OSes can impact the other OS The memory controller internal graphics controller also uses the memory controller and the front side bus are examples of these kinds of resources For example heavy usage of the memory controller by one of the OSes is going to impact performance on the whole platform The selection of processor chipset and clocking will have an influence on the overall system performance For the very highest performance applicatio
121. ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved eVM for Windows User Manual TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 1 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved Copyright 2010 TenAsys Corporation All Rights Reserved No part of this manual may be copied duplicated reprinted and stored in a retrieval system by any means mechanical or electronic without the written permission of the copyright owner First Printing February 2010 Published in the United States by TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Attempts have been made to properly reference all copyrighted registered and trademarked material All copyrighted registered and trademarked material remains the property of the respective owners The publisher author and reviewers make no warranty for the correctness or for the use of this information and assume no liability for direct or indirect damages of any kind arising from the information contained herewith technical interpretation or technical explanations for typographical or printing errors or for any subsequent changes in this article The publisher and author reserve the right to make changes in this publication without notice and without incurring any liability TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 2
122. the installation Important If you haven t verified that your target platform has the appropriate VT x and VT d features to run eVM for Windows be aware that the installation runs a verification tool called VtProbe and the installation will be aborted if the target platform does meet the virtualization criteria The stand alone VtProbe tool VtProbe exe can be downloaded from www tenasys com VtProbe can be used to verify your platform s compatibility with eVM before you begin the product installation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 9 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved 3 Product Technical Description 3 1 What is Real Time embedded virtualization Embedded virtualization is a methodology used to partition the hardware resources of a platform between a host operating system and a guest operating system so critical hardware resources can be dedicated to the host operating system Embedded virtualization is optimized to minimize the virtualization overhead for the guest OSes Real time embedded virtualization ensures that critical hardware resources are expressly controlled by the guest OS with minimum deterministic device latency and minimal CPU overhead 3 2 Theory of Operation of eVM 3 2 1 3 2 2 03 01 10 The eVM virtualization platform provides a virtual machine that hosts real time and embedded operating systems running alongside Micro
123. the right pane of the eVM control Panel the system configuration parameters are shown Note that the Virtual serial ports parameter is 0 for this example TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 41 ten sys Copyright 2010 TenAsys Corporation All Rights Reserved 2 Double click on the 0 value in the box next to Virtual serial ports and enter 1 Figure 4 22 File Guest Tools Help dale oc h xdb ale System Configuration eVM quests E Configuration Auto start kemel Directory Guest Memory size irtual senal ports Virtual serial port 1 Hibemate Power Option Standby Power Option Disable Bug Check Interception Time of Day Update Default guest No C Program Data TenAsys evm evmConf 256 1 next_free Shutdown eVM kemel on Hibemation Shutdown e VM kemel on Standby Trap Windows Bug Check Exceptions 300 Virtual serial ports The maximum number of virtual serial ports used by any quest JU Figure 4 22 eVM Control Panel Virtual Serial Port Added You will note that a new parameter has been added under Virtual serial ports Virtual serial port 1 This is the new virtual COM device that has been added and the default is to let eVM assign the COM port number to the next available If a specific COM port number would be desired it could be specified with the Virtual serial port 1 parameter If you click on the dropdown on th
124. tion about eVM and TenAsys Corporation see www tenasys com Figure D 1 VtProbe Hardware Platform Doesn t Support eVM TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 100 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved Detect VT support Pe t e n s VS VT x is Intel Virtualization Technology for x86 Platforms Real time Virtualicatsen Experts Platform has support for VT x and it is enabled VT d is Intel Virtualization Technology for Directed I O Platform has support for VT d A platform can have one or more logical processors There are 2 logical processors eVvM ongratulations is platform meets the requirements for eVM For information about eVM and TenAsys Corporation see www tenasys com Figure D 2 VtProbe Hardware Supports Virtualization Technology In Figure D 2 the hardware platform was found to support both VT x and VT d TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 101 t E n Ag VS Copyright 2010 TenAsys Corporation a All Rights Reserved E Modifying device drivers for bus master devices Any device which generates bus cycles to transfer data is known as a bus master Such a device is programmed with physical memory addresses at which it can read or write data Whena device driver running in the guest operating system programs such a device either the pl
125. tion technology cccssssccceessessaeceeecscesseaeeceeecesseeaaeeeceeeeessaasaeeeeeens 11 3 2 4 eVM system requirements brief overview cccccsccccessscecssssececeesaeeeceeseceesssaeeeceesaeeeeesaas 11 3 2 5 Performance How eVM addresses RTOS Windows Application Needs rrrnvnrrnvrrrnrerr 12 3 2 6 Communications between Windows and the Guest Virtual Device Interfaces 12 3 2 7 eVM Architecture Partitioning the PC between Windows and Guest OS rrrnrrnannnnnnvvnsnn 13 3 2 8 Resources that are not Isolated between Windows and the Guest OS urnrarannrnnrnvnnvnvnnen 14 3 2 9 Device Management esserci aaa a de Ea aE EE aai 14 3 2 10 What Happens when a Device is assigned to EVM rrrrnnrnnnnnrnrvrnsnnnannrnrvnnrnnsnrnnnnrnvrnssrnnnnnner 19 4 Instal tion s ese a e aaa a a E aA aA 21 4 1 Installation Of eVM for Windows rrasnrnnnnnvnnennnvnrrnnnnrnnennnnsennnnerrnnnnranennensenenessressnrasennnnseneneesrsesn 21 4 2 Virtual Ports as an amdasresiku R dakiske inden 39 4 2 1 Installation of Virtual Serial Ports ssrnronnnnrnnrnnnrrnnnnrnnnnnnnrerrennnrnennrnnennnnservnsnnraenrasennnnennsee 40 4 2 2 Configuring the Virtual Ethernet Device rrrrrrnrnannnnnnvrvrrnnnnnnnnrnrvnnrrnsnrnvnrsnnssssrnnnnnrnnsnnsnnnnnn 47 4 3 Running the Sample Guest RTOS IRMX ccccccccccecssssssceeececesseseaeeeeceseeseceaeeeeeesseeeaeeeeeeeseeeea 55 4 4 Installation of Guest OS erisin aniisi p aaa dreiende 59
126. to Microsoft NET Framework 2 0 Setup End User License Agreement End User License Agreement MICROSOFT SOFTWARE SUPPLEMENTAL LICENSE TERMS MICROSOFT NET FRAMEWORK 2 0 Setup Setup is configuring the install This may take a minute or two a By clicking I accept the terms of the License Agreement and proceeding to use the product I indicate that I have read understood and agreed to the terms of the End User License Agreemert I accept the terms of the License Agreement Followed by TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 107 tenAs S Copyright 2010 TenAsys Corporation All Rights Reserved Figure F 5 NET Framework 2 0 Installation Progress Dialog TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 108 tenAs S Copyright 2010 TenAsys Corporation All Rights Reserved 6 When the installation completes successfully Figure F 6 click Finish to continue with the installation iy Microsoft NET Framework 2 0 Setup Figure F 6 NET Framework 2 0 Setup Complete TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 109 tenAs S Copyright 2010 TenAsys Corporation All Rights Reserved 7 Next the installer will install the Microsoft Visual C 2008 Redistributable Figure F 7 Click Next Microsoft Visual C 2008 Redistributable Setup
127. ts Reserved Again we will see the request to pass the device now listed in the right pane Figure 4 55 File Action View Help Bibeln sten 1 INR EA Windows devices i Display adapters Gq IDE ATA ATAPI controllers amp Network adapters E Intel R 82567LM 3 Gigabit Network Connection MSI capable hi EP Intel R Gigabit CT Desktop Adapter MSI capable 5 Other devices T Ports COM amp LPT You have requested the following changes Pass control to eVM Legacy interrupt usage Gt gt Storage controllers 1 Windows JE System devices Standard PS 2 Keyboard Universal Serial Bus controllers 4 eVM i Communications Port COM1 1 69 eVM devices i e VM 8 Windows i 5 System CMOS real time clock H P Ports COM amp LPT 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICHIR ICHLOR DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A6
128. ttings from the target development system to a new production system first close the eVM Control Panel Second copy the configuration MyeVMConf ecf file to the root directory of the C drive of the of each new production system Then import the configuration by entering the command shown below from the run CMD Shell or Start Search command line evmconf i c MyeVMConf ecf Opening the EVM Control Panel on the production system should display a configuration labeled My old OS with the settings of the imported configuration If this was used to restore the configuration of a modified system the EVM Control Panel should show that the modified system settings have been restored to the My Old OS settings TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 92 en Asys Copyright 2010 TenAsys Corporation a All Rights Reserved A 3 Assigning devices to eVM on the command line PCI devices When the guest OS needs full control of a PCI device the PCI device should be passed to the guest This can be done from within the eVM Device Configuration utility or it can be done from the command line DevConfig option device instance n Where option is either of Toevm pass a device to eVM and let the guest use the interrupt as defined in the current configuration The interrupt should not be shared with another device that is controlled by Windows Toevmnoirg pass a device to eVM and let
129. usr bin opt bin LD LIBRARY PATH proc boot lib usr lib lib dll opt lib procnto instr script startup script display_msg display_msg QNX Neutrino 6 4 for evM display_msg To save memory make everyone use the libc in the boot image For speed less symbolic lookups we point to libc so 3 instead of Libe 86 procmgr_symlink proc boot libc so 3 usr lib ldqnx so 2 display msg gt Starting PCI services seedres pci bios waitfor dev pci display_msg gt Starting console service devc ser8250 e b57600 amp waitfor dev serl reopen dev serl Default user programs to priorty 10 other scheduler pri 100 Tell diskboot this is a hard disk boot bl Tell diskboot to use DMA on IDE drives D1 Start 4 text consoles buy passing n4 to devc con o By adding e linux ext2 filesystem will be mounted as well pri 100 PATH proc boot diskboot b1 D0 odevc con n4 odevc con hid n4 display msg gt Starting EIDE driver devb eide blk auto partition dos exe all cam quiet eide nobmstr waitfor dev hdO mount dev hd0t79 mount tcd dev cdO0 fs cdO display msg gt Starting dev system sysinit ksh c etc system sysinit TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 62 tenAsys type link dev console dev serl Include
130. ve Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 50 03 01 10 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 4 You will now see the Local Area Connection Properties for the TenAsys virtual Ethernet Adapter We will be using TCP IPv4 so uncheck the checkbox for Internet Protocol 6 TCP IPv6 Figure 4 30 LOCi Ul Le Networking Connect using TenAsys Virtual Ethemet Adapter This connection uses the following items 0M Client for Microsoft Networks uy File and Printer Sharing for Micros Link Layer Topology Discovery Responder Properties Description TCP IP version 6 The latest version of the intemet protocol that provides communication across diverse interconnected networks Figure 4 30 TenAsys Virtual Ethernet Adapter Windows Local Area Connection Properties TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA Rev 2 7 51 ten As S Copyright 2010 TenAsys Corporation y All Rights Reserved 03 01 10 5 Select Internet Protocol Version 4 TCP IPv4 and click the Properties button Figure 4 31 Connect using EP TenAsys Virtual Ethemet Adapter This connection uses the following items DM Client for Microsoft Networks B File and Printer Sharing for Microsoft Networks C 4 Intemet Protocol Version 6 TCP IPv6 TRS Intemet Protoce ersi TCP IPv4 Link Layer Topology Discovery Mapper 1 0 Driver L
131. vice Manager Showing Virtual Serial Port Applications in Windows can now access this virtual COM port by connecting to COM3 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 45 All Rights Reserved ten Asys Copyright 2010 TenAsys Corporation 5 Now let s connect the virtual COM ports in the guest OS to the virtual COM ports of the Windows Open eVM Control Panel select the guest OS in the left pane in this example it is iRMX and expand the serial section in the right pane Figure 4 26 eVM Control Panel File Guest Tools Help M T NXx aG System Guest name Configuration 2 ATAO disk controller E eVM guests 3 ATA1 disk controller IRM E 4 Serial COM1 access Windows COM1 1 0 address Ox3f8 COM1 interrupt 4 COMTI Windows device COM3 COM2 access Windows COM2 1 0 address O28 COM2 interrupt 3 COM2 Windows device COM4 COM3 access Disabled COM4 access Disabled 5 Floppy 6 Network 7 Parallel 8 BIOS settings COM1 Windows device Windows device name for COM1 Figure 4 26 eVM Control Panel Showing Guest Serial Device Settings TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 46 4 2 2 t E n As VS Copyright 2010 TenAsys Corporation at fi All Rights Reserved 6 For each COM port that is to be connected to a virtual COM device in Windows select the COMn access and select Windows
132. wn select File gt Save the configuration Figure 4 49 TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 4 75 tenAsys Copyright 2010 TenAsys Corporation All Rights Reserved 3 File Action View Help Save the configuration Exit ca IDE ATA ATAPI controllers AP Network adapters llh Other devices i i PCI Serial Port MSI capable Pa PCI Simple Communications Controller MSI capable Ports COM amp LPT JP ECP Printer Port LPT1 Be INtime Com Emulator driver COM3 lt gt Storage controllers JE System devices E Universal Serial Bus controllers Make the device passings effective You have requested the following changes Pass control to eVM Communications Port COM1 Legacy interrupt usage 1 Windows Standard PS 2 Keyboard 4 eVM Communications Port COM1 8 Windows System CMOS real time clock 11 Windows INtime RT Interface Driver 12 Windows PS 2 Compatible Mouse 16 Windows Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICH10 Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCI IDE Controller Intel R ICH8R ICHAR ICH10R DO SATA RAID Controller Intel R ICH10 Family USB Universal Hos
133. ws Intel R ICH10 Family PCI Express Root Port 1 3A70 Intel R ICH10 Family USB Universal Host Controller 3A67 17 Windows Intel R ICHLO Family PCI Express Root Port 2 3A72 Intel R ICH10 Family USB Universal Host Controller 3A65 Intel R ICH10 Family USB Universal Host Controller 3A68 18 Windows Standard Dual Channel PCIIDE Controller Intel R ICH8R ICH9R ICH10R DO SATA RAID Controller Intel R ICH10 Family USB Universal Host Controller 3A66 22 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6C Intel R ICH10 Family USB Universal Host Controller 3A69 23 Windows Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB Universal Host Controller 3A64 81 Windows Microsoft ACPI Compliant System Nm Figure 4 52 eVM Device Manager Showing Windows USB Controllers In the left pane select the first USB Enhanced Host Controller and then from the dropdown select Pass to eVM TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 79 ten sys File Action View Help ssn F JA Windows devices i B eN Display adapters H E IDE ATA ATAPI controllers i Network adapters l Other devices a 1 Ports COM amp LPT lt gt Storage controllers ha HJM System devices Universal Serial Bus controllers Intel R ICH10 Family USB Enhanced Host Controller 3A6A Intel R ICH10 Family USB
134. you fill out all the fields properly and be sure that you are connected to the Internet as the activation code will be verified with TenAsys over the Internet Then Click Next to proceed with the installation User Information Enter the following information to personalize your installation t E n ays Real time Virtualization Experts Full Name Enter Name Organization Enter Organization Enter the evM activation code you received Enter Activation Code Numbe Wise Installation Wizard A Figure 4 9 eVM Activation TenAsys Corporation 1400 NW Compton Drive Suite 301 Beaverton OR 97006 USA 03 01 10 Rev 2 7 29 t F n S S Copyright 2010 TenAsys Corporation i y All Rights Reserved 9 When your activation code has been verified the eVM Installation Wizard will then prompt you to confirm that you want to proceed with the installation Figure 4 10 If you want to check or change anything at this point you can click the Back button Ready to Install the Application Click Next to begin installation t E n sys Real time Virtealizatinn Experts Click the Back button to reenter the installation information or click Cancel to exit the wizard System Configuration LocalKernel Local HAL class 4 Windows Version 601 Wise Installation Wizard Ri Figure 4 10 eVM Installation Verification To proceed with the installation click Next 03 01 10 TenAsys Corporation 1400 NW Compton

Download Pdf Manuals

image

Related Search

Related Contents

User Manual  Atomos Ninja-2 ~ QuickStart Guide  RTM2054 - Sos electronic s. r. o.      Hampton Bay L-GG013PST Instructions / Assembly  SH7612 Evaluation Chip Board (HS7612EBK81H) for the E8000  

Copyright © All rights reserved.
Failed to retrieve file