Oracle® VM Server for SPARC 3.2 管理指南

退出打印视图

更新时间: 2015 年 5 月
 
 

注册和注销

使用 <LDM_interface> 消息可注册事件。请参见<LDM_interface> 标记<action> 标记详细说明了要注册或注销的事件类型,<data> 段保留为空。

示例 22-3  事件注册请求消息示例
<LDM_interface version="1.3">
  <cmd>
    <action>reg-domain-events</action>
    <data version="3.0"/>
  </cmd>
</LDM_interface>

Logical Domains Manager 通过表示注册或注销是否成功的 <LDM_interface> 响应消息进行响应。

示例 22-4  事件注册响应消息示例
<LDM_interface version="1.3">
  <cmd>
    <action>reg-domain-events</action>
    <data version="3.0"/>
      <response>
        <status>success</status>
      </response>
    </data>
    <response>
      <status>success</status>
    </response>
  </cmd>
  <response>
    <status>success</status>
  </response>
</LDM_interface>

在事件子段中会列出每个类型的事件的操作字符串。