[libvirt] [PATCH v2 3/4] remote: Implement 'reset' for remote driver

Eric Blake eblake at redhat.com
Thu Sep 29 12:59:18 UTC 2011


On 09/29/2011 02:56 AM, Xu He Jie wrote:
>
> Signed-off-by: Xu He Jie<xuhj at linux.vnet.ibm.com>
> ---
>   src/remote/remote_driver.c   |    1 +
>   src/remote/remote_protocol.x |    8 +++++++-
>   2 files changed, 8 insertions(+), 1 deletions(-)

Missing a change to src/remote_protocol-structs, which 'make check' 
validates if you have pdwtags (from the 'dwarves' package) installed. 
I'm squashing this in:

diff --git i/src/remote_protocol-structs w/src/remote_protocol-structs
index 53705bf..69175cc 100644
--- i/src/remote_protocol-structs
+++ w/src/remote_protocol-structs
@@ -400,6 +400,10 @@ struct remote_domain_reboot_args {
          remote_nonnull_domain      dom;
          u_int                      flags;
  };
+struct remote_domain_reset_args {
+        remote_nonnull_domain      dom;
+        u_int                      flags;
+};
  struct remote_domain_destroy_args {
          remote_nonnull_domain      dom;
  };
@@ -1966,4 +1970,5 @@ enum remote_procedure {
          REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,
          REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,
          REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,
+        REMOTE_PROC_DOMAIN_RESET = 245,
  };


-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list