libvirt/src/remote
Eric Blake 2deb32ae02 virterror: avoid API breakage with vmware
Fix glitch in commit cddd2a06 (thankfully post-0.8.6, so no
released version has the glitch).

Document and try to workaround glitch in commit 46e9b0f (in 0.8.0),
which invalidated 6 virErrorNumber values dating as far back as 0.7.1.

My audit did not find any other glitches until pre-0.1.0 days.  I'm
not sure how to add a syntax-check off the top of my head, but
hopefully the explicit numbering will make people think twice about
renumbering in the future.

* include/libvirt/virterror.h (virErrorDomain): Avoid inserting
new values in the middle, and add explicit numbering to help avoid
this in the future.
(virErrorNumber): Add explicit numbering, and document the snafu.
* src/remote/remote_driver.c (remoteIO): Compensate for the snafu.
2010-12-22 09:09:04 -07:00
..
qemu_protocol.c Qemu remote protocol. 2010-07-23 17:30:33 -04:00
qemu_protocol.h Qemu remote protocol. 2010-07-23 17:30:33 -04:00
qemu_protocol.x Qemu remote protocol. 2010-07-23 17:30:33 -04:00
remote_driver.c virterror: avoid API breakage with vmware 2010-12-22 09:09:04 -07:00
remote_driver.h maint: use gnulib configmake rather than open-coding things 2010-11-17 08:58:58 -07:00
remote_protocol.c implement the remote protocol 2010-11-23 15:04:42 -07:00
remote_protocol.h implement the remote protocol 2010-11-23 15:04:42 -07:00
remote_protocol.x implement the remote protocol 2010-11-23 15:04:42 -07:00
rpcgen_fix.pl cygwin: Handle differences in the XDR implementation 2010-04-27 09:31:28 +02:00