A.146 sendVmMessage

Sends a key/value pair message to a running virtual machine.

Syntax

sendVmMessage Vm instance key=value message=value log= { Yes | No }

Where instance is:

{ id=value | name=value }

Description

This command sends a key/value pair message to a running virtual machine.

Options

The following table shows the available options for this command.

Option

Description

key=value

The message key.

message=value

The message content.

log= { Yes | No }

Whether to log the message.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyVM.

Examples

Example A.196 Sending a message to a virtual machine

OVM> sendVmMessage Vm name=MyVM key=com.oracle.linux.network.device.0 message=eth0 log=No

See Also