提交 0f8552a2 编写于 作者: O Osier Yang

undefine: Wire up the remote protocol

上级 b26a9fa9
/*
* remote_internal.c: driver to provide access to libvirtd running
* remote_driver.c: driver to provide access to libvirtd running
* on a remote machine
*
* Copyright (C) 2007-2011 Red Hat, Inc.
......@@ -4187,6 +4187,7 @@ static virDriver remote_driver = {
.domainCreateWithFlags = remoteDomainCreateWithFlags, /* 0.8.2 */
.domainDefineXML = remoteDomainDefineXML, /* 0.3.0 */
.domainUndefine = remoteDomainUndefine, /* 0.3.0 */
.domainUndefineFlags = remoteDomainUndefineFlags, /* 0.9.4 */
.domainAttachDevice = remoteDomainAttachDevice, /* 0.3.0 */
.domainAttachDeviceFlags = remoteDomainAttachDeviceFlags, /* 0.7.7 */
.domainDetachDevice = remoteDomainDetachDevice, /* 0.3.0 */
......
......@@ -848,6 +848,11 @@ struct remote_domain_undefine_args {
remote_nonnull_domain dom;
};
struct remote_domain_undefine_flags_args {
remote_nonnull_domain dom;
unsigned int flags;
};
struct remote_domain_inject_nmi_args {
remote_nonnull_domain dom;
unsigned int flags;
......@@ -2383,7 +2388,9 @@ enum remote_procedure {
REMOTE_PROC_NODE_GET_CPU_STATS = 227, /* skipgen skipgen */
REMOTE_PROC_NODE_GET_MEMORY_STATS = 228, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229, /* autogen autogen */
REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230 /* skipgen skipgen */
REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231 /* autogen autogen */
/*
* Notice how the entries are grouped in sets of 10 ?
......
......@@ -546,6 +546,10 @@ struct remote_domain_define_xml_ret {
struct remote_domain_undefine_args {
remote_nonnull_domain dom;
};
struct remote_domain_undefine_flags_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_inject_nmi_args {
remote_nonnull_domain dom;
u_int flags;
......@@ -1859,4 +1863,5 @@ enum remote_procedure {
REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,
REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,
REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,
REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 231,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册