]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Qemu remote protocol.
authorChris Lalancette <clalance@redhat.com>
Sat, 17 Apr 2010 02:09:25 +0000 (22:09 -0400)
committerChris Lalancette <clalance@redhat.com>
Fri, 23 Jul 2010 21:30:33 +0000 (17:30 -0400)
commit337d201ef2ab07ecfb5f21352dcdd8cab56e37cd
treec65ec58c28089b588fa8144a46889d1d269be801
parent057e855324f71d919a05397701c586a46d06cf37
Qemu remote protocol.

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>
19 files changed:
cfg.mk
daemon/Makefile.am
daemon/dispatch.c
daemon/libvirtd.h
daemon/qemu_dispatch_args.h [new file with mode: 0644]
daemon/qemu_dispatch_prototypes.h [new file with mode: 0644]
daemon/qemu_dispatch_ret.h [new file with mode: 0644]
daemon/qemu_dispatch_table.h [new file with mode: 0644]
daemon/remote.c
daemon/remote.h
daemon/remote_generate_stubs.pl
src/Makefile.am
src/remote/qemu_protocol.c [new file with mode: 0644]
src/remote/qemu_protocol.h [new file with mode: 0644]
src/remote/qemu_protocol.x [new file with mode: 0644]
src/remote/remote_driver.c
src/remote/remote_protocol.c
src/remote/remote_protocol.h
src/remote/remote_protocol.x