A.91 sendVmMessage

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

Syntax

sendVmMessage Vm instance key=value message=value log= { yes | no }

Where instance is:

{ id=id | name=name }

Description

This command sends a key/value pair 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=id | name=name }

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

Examples

Example A.125 Sending a message to a virtual machine

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