-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop support for the oldstyle protocol
The newstyle protocol was originally written for NBD 2.9.17, released in 2009. We are 2015 now. People have had over five years to migrate their setups now. Additionally, due to the fact that I originally wrote support for the newstyle protocol in a somewhat confusing way, maintaining that part of the code has become harder than it needs be. A bug did now appear because I couldn't read my own code anymore. While it should, in theory, be possible to just fix the damn code while still retaining support for the oldstyle protocol, it's easier (and not too unreasonable) to just drop that instead. Also fix the test suite so it doesn't try to run tests using the oldstyle protocol anymore
- Loading branch information
Showing
4 changed files
with
131 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
3694019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: This breaks with qemu-nbd, as it still relies on the old-style protocol:
More info here: http://www.redhat.com/archives/libvir-list/2014-October/msg00078.html
3694019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm aware of that -- I was CC'ed on that original discussion.
It's part of why I introduced the empty name as part of the protocol in 8ea2c38; qemu hasn't yet implemented that, but I'm sure they will (and if not, I'll send them a patch).