Expand Minimize

HV_CONNECTION_INFO structure

The HV_CONNECTION_INFO structure contains information about a connection.

Syntax


typedef struct _HV_CONNECTION_INFO {
  HV_PORT_TYPE PortType;
  UINT32       Padding;
  union {
    struct {
      UINT64 RsvdZ;
    } MessageConnectionInfo;
    struct {
      UINT64 RsvdZ;
    } EventConnectionInfo;
    struct {
      HV_GPA MonitorAddress;
    } MonitorConnectionInfo;
  };
} HV_CONNECTION_INFO, *PHV_CONNECTION_INFO;

Members

PortType

A HV_PORT_TYPE value that identifies the type of the port for which HV_CONNECTION_INFO provides information.

Padding

Padding bytes for the first 64-bit value to the native interface.

MessageConnectionInfo

A structure that describes the message connection information if PortType is set to HvPortTypeMessage. This structure contains the following members:

RsvdZ

A 64-bit value that is reserved and should be set to zero.

EventConnectionInfo

A structure that describes the event connection information if PortType is set to HvPortTypeEvent. This structure contains the following members:

RsvdZ

A 64-bit value that is reserved and should be set to zero.

MonitorConnectionInfo

A structure that describes the monitor connection information if PortType is set to HvPortTypeMonitor. This structure contains the following members:

MonitorAddress

An HV_GPA value that specifies the guest physical address to be used for the connection. HV_GPA is defined as an unsigned 64-bit (UINT64) value.

Remarks

A client specifies connection information in an HV_CONNECTION_INFO structure. The client then passes a pointer to this HV_CONNECTION_INFO in a call to the HvConnectPort function to connect a port.

Requirements

Header

HvSynicApi.h (include Hvgdk.h)

See also

HV_PORT_TYPE
HvConnectPort

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.