# (C) Copyright 2008-2009 Hewlett-Packard Development Company, L.P.
# README_AVIONET.txt
# HPVM's "Windows Guest AVIO Driver kit"

Table of Contents
=================
    The HPVM Windows 2003 Server AVIO Guest Kit Introduction
    HpvmDrivers.msi Kit Contents
    How to install the Windows 2003 AVIO Guest Kit
    Verifying Installation
    AVIO Lan Setup Configuration
    Release Notes


HpvmDrivers.msi Kit Contents
========================
    README_AVIONET.txt       This file.
    avionet.inf              Windows .inf file containing needed driver parameters
                             (Placed in c:\Windows\inf directory)
    avionet.sys              Windows guest driver for AVIO defined Network Adapters
                             (Placed in c:\Windows\system32\drivers directory)


HPVM Windows 2003 Server AVIO Guest Kit Introduction
========================================================
    This kit enables use of the high performance network lan interface for 
    Windows Guests.  AVIO is the HPVM custom tailored Advanced Virtual Input/Output
    replacement for standard virtualized IO.  This kit contains the Windows
    driver for the AVIO lan defined interfaces only.

    Guest network cards are defined for each Windows guest using the HPVM
    HOST Command Line Interface (CLI) command "hpvmmodify".   Using this command 
    you can create AVIO virtual network devices in the Windows guest.

    The following instructions will help you define and use the AVIO interface.



How to install the Windows 2003 AVIO Guest Kit
==============================================
1.  From within the booted Windows 2003 Guest, copy the HpvmDrivers.msi file into a
    temporary directory on the Windows guest.

2.  From the guest's Windows Explorer double click to execute the HpvmDrivers.msi file.

3.  Follow the instructions presented to load the software.  Using the 
    "typical" installation should be adequate for most Windows 2003 guests.

4.  Shutdown the virtual Windows guest.

5.  From the HP-UX command line, invoke the "hpvmmodify" command to add one
    or more virtual AVIO lan devices.  An example of this is:
    "hpvmmodify -P guestname -a network:avio_lan::vswitch:myswitch"
    At this point, make sure you leave the existing, primary VIO lan interface.
    Later, you will be able to remove it using "hpvmmodify".

6.  Boot the Windows guest again.  At this moment, you will have avio drivers &
    avio devices in the guest.  Now you need to install the avio drivers on the
    avio devices.

7.  Start the Windows guest's "Computer Management" dialog box from right-click 
    of "My Computer->Manage" or 
    from Start->Programs->Administrative Tools->Computer Management.

    Select "Device Manager", then "Network adapters". 
    You should see your new "Ethernet Controller" entries for the AVIO devices
    that you added to the guest.   If you do not, right-click "Network adapters",
    select "Scan for hardware changes".   You should now see the new avio devices
    and be ready to match the avio driver to the avio device.

8.  Select each of the "Ethernet Controller" avio entries.  (You can always tell
    which devices are avio devices by right-click "Ethernet Controller", selecting
    "Properties" and viewing "Details->Hardware Ids".  The PCI device shown will
    be of the form "PCI\VEN_103C&DEV_1338&SUBSYS_1338103C")

9.  For each device highlighted, right-click and select "Update Driver...".
    From the Hardware Update Wizard, select "No, not this time" when asked to
    use Windows Update for searching.  Next, select the "Install the software
    automatically(Recommended) and select "Next>".   The wizard should find the
    correct driver.  It is labeled "HP AVIO PCI Ethernet Adapter".  Select
    "Continue Anyway" when warning box for Windows Logo is presented.   The 
    next dialog box asks you where the file 'avionet.sys' is.  Enter, browse
    or select 'C:\Windows\System32\drivers'.  The driver should be matched to the
    AVIO device now and it will also show up as a device from the "Network 
    Connections" dialog box.

10. To configure avio lan devices for use, refer to the configuration instructions
    in the next section.

 
Verifying Installation 
======================

    Verify correct file placement.  avionet.inf must be in the "c:\windows\inf"
    directory.  avionet.sys must be in the c:\windows\system32\drivers" 
    directory.  Both files  are put in these directories by running the HpvmDrivers.msi.


AVIO Lan Setup Configuration
============================

    To configure each lan, bring up the "Network Connections" dialog box. You should 
    see new lan devices labeled "HP AVIO PCI Ethernet Adapter".   To configure an 
    IP address/subnet, select an AVIO lan device,  right-click to select "Properties".  
    Highlight the "Internet Protocol(TCP/IP)" connection entry, then select "Properties" 
    button.  

    From Properties for TCP/IP you can configure the lan to use a static or DHCP served 
    IP.  This is all done in accordance with standard lan configuration in Windows. 
    Other standard device settings are available, just as with "physical" hardware.



Release Notes
=============

1. Customers should leave the primary VIO lan enabled on the guest until verifying
   that at least one of the AVIO lan connections is working correctly on a PUBLIC
   network.   To test this use "Remote Desktop connection" to connect to the AVIO 
   IP on the Windows guest.   Only after verifying access can all VIO lan devices be
   removed.

2. To avoid severe performance issue when using MTUs greater than the default, 1500,
   make sure that if "Jumbo Frames" are not disabled ALL mtus along the hardware path
   to the target IP are enabled for the same MTU setting.   Make sure the HOST's 
   physical NIC MTU matches the guest MTU.   All guests using a given physical NIC
   will have the same MTU as the physical NIC.

3. Advanced Options on the HP AVIO PCI Ethernet Adapter should have adequate defaults 
   for most applications.  Adjust "Recieve Frame Descriptors", "Transmit Control Blocks",
   & "Coalesce Buffers" with cautious testing before going full production. 

