On 05/17/2011 12:20 AM, Hu Tao wrote:
support for virDomainSetSchedulerParametersFlags of remote driver.
---
daemon/remote.c | 71 ++++++++++++++++++++++++++++++++++++++++++
src/remote/remote_driver.c | 69 ++++++++++++++++++++++++++++++++++++++++
src/remote/remote_protocol.x | 9 +++++-
3 files changed, 148 insertions(+), 1 deletions(-)
Missing a patch to src/remote_protocol-structs (on Fedora, if you
install 'dwarves', which includes the pdwtags program, them 'make check'
will catch this).
ACK with this squashed in, so I'm pushing:
diff --git i/src/remote_protocol-structs w/src/remote_protocol-structs
index 28496dd..5b43cb4 100644
--- i/src/remote_protocol-structs
+++ w/src/remote_protocol-structs
@@ -188,6 +188,14 @@ struct remote_domain_set_scheduler_parameters_args {
remote_sched_param * params_val;
} params;
};
+struct remote_domain_set_scheduler_parameters_flags_args {
+ remote_nonnull_domain dom;
+ struct {
+ u_int params_len;
+ remote_sched_param * params_val;
+ } params;
+ u_int flags;
+};
struct remote_domain_set_blkio_parameters_args {
remote_nonnull_domain dom;
struct {
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org