]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
libvirt-qemu: use unsigned flags
authorEric Blake <eblake@redhat.com>
Fri, 8 Jul 2011 16:56:15 +0000 (10:56 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 13 Jul 2011 14:48:09 +0000 (08:48 -0600)
Like commit 1740c381, but for libvirt-qemu.

* src/remote/qemu_protocol.x (qemu_monitor_command_args): Adjust
type to match API.
* src/qemu_protocol-structs: Update accordingly.

src/qemu_protocol-structs
src/remote/qemu_protocol.x

index 9c5f6aaae6190c2fb0acee52faaf950d09cee5dc..e284b596a1215f7efcfb170c16a335948e1c2536 100644 (file)
@@ -7,7 +7,7 @@ struct remote_nonnull_domain {
 struct qemu_monitor_command_args {
         remote_nonnull_domain      dom;
         remote_nonnull_string      cmd;
-        int                        flags;
+        u_int                      flags;
 };
 struct qemu_monitor_command_ret {
         remote_nonnull_string      result;
index 9792f709a590362b948bd0bcd4e08c102d0eb94f..0bafbafa770679316a2265309fb39b5446866181 100644 (file)
@@ -3,7 +3,7 @@
  *   remote_internal driver and libvirtd.  This protocol is
  *   internal and may change at any time.
  *
- * Copyright (C) 2010 Red Hat, Inc.
+ * Copyright (C) 2010-2011 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -30,7 +30,7 @@
 struct qemu_monitor_command_args {
     remote_nonnull_domain dom;
     remote_nonnull_string cmd;
-    int flags;
+    unsigned int flags;
 };
 
 struct qemu_monitor_command_ret {