diff options
author | Laszlo Ersek <lersek@redhat.com> | 2013-03-06 22:59:29 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-03-11 18:57:49 -0500 |
commit | 70e133a7080116340b1a8898893c6d455bd47299 (patch) | |
tree | d563a2633a029cfaa97f2dd2040f20c21b91a8b5 /qga/commands-posix.c | |
parent | a1bca57f758a1ebe2ee808aa6c94f7687f9cfdd0 (diff) |
qga: introduce guest-get-vcpus / guest-set-vcpus with stubs
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/commands-posix.c')
-rw-r--r-- | qga/commands-posix.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c index c253f97fa7..03a41a23cf 100644 --- a/qga/commands-posix.c +++ b/qga/commands-posix.c @@ -1167,6 +1167,18 @@ void qmp_guest_fstrim(bool has_minimum, int64_t minimum, Error **err) } #endif +GuestLogicalProcessorList *qmp_guest_get_vcpus(Error **errp) +{ + error_set(errp, QERR_UNSUPPORTED); + return NULL; +} + +int64_t qmp_guest_set_vcpus(GuestLogicalProcessorList *vcpus, Error **errp) +{ + error_set(errp, QERR_UNSUPPORTED); + return -1; +} + /* register init/cleanup routines for stateful command groups */ void ga_command_state_init(GAState *s, GACommandState *cs) { |