mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 01:04:59 +00:00
Since we are adding a new "per-hypervisor" protocol, we make it so that the qemu remote protocol uses a new PROTOCOL and PROGRAM number. This allows us to easily distinguish it from the normal REMOTE protocol. This necessitates changing the proc in remote_message_header from a "remote_procedure" to an "unsigned", which should be the same size (and thus preserve the on-wire protocol). Changes since v1: - Fixed up a couple of script problems in remote_generate_stubs.pl - Switch an int flag to a bool in dispatch.c Changes since v2: - None Changes since v3: - Change unsigned proc to signed proc, to conform to spec Signed-off-by: Chris Lalancette <clalance@redhat.com>
15 lines
454 B
C
15 lines
454 B
C
/* Automatically generated by remote_generate_stubs.pl.
|
|
* Do not edit this file. Any changes you make will be lost.
|
|
*/
|
|
|
|
{ /* (unused) => 0 */
|
|
.fn = NULL,
|
|
.args_filter = (xdrproc_t) xdr_void,
|
|
.ret_filter = (xdrproc_t) xdr_void,
|
|
},
|
|
{ /* MonitorCommand => 1 */
|
|
.fn = (dispatch_fn) qemuDispatchMonitorCommand,
|
|
.args_filter = (xdrproc_t) xdr_qemu_monitor_command_args,
|
|
.ret_filter = (xdrproc_t) xdr_qemu_monitor_command_ret,
|
|
},
|