提交 01ed9b56 编写于 作者: E Eric Blake

libvirt-qemu: use unsigned flags

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.
上级 06dbfa6d
...@@ -7,7 +7,7 @@ struct remote_nonnull_domain { ...@@ -7,7 +7,7 @@ struct remote_nonnull_domain {
struct qemu_monitor_command_args { struct qemu_monitor_command_args {
remote_nonnull_domain dom; remote_nonnull_domain dom;
remote_nonnull_string cmd; remote_nonnull_string cmd;
int flags; u_int flags;
}; };
struct qemu_monitor_command_ret { struct qemu_monitor_command_ret {
remote_nonnull_string result; remote_nonnull_string result;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* remote_internal driver and libvirtd. This protocol is * remote_internal driver and libvirtd. This protocol is
* internal and may change at any time. * 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 * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
struct qemu_monitor_command_args { struct qemu_monitor_command_args {
remote_nonnull_domain dom; remote_nonnull_domain dom;
remote_nonnull_string cmd; remote_nonnull_string cmd;
int flags; unsigned int flags;
}; };
struct qemu_monitor_command_ret { struct qemu_monitor_command_ret {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册