block/archipelago: Make it compile
PATCH 1/1 block/archipelago: Make it compile
In order to use error_setg() and similar functions, we need to include qapi/error.h.
--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)
block/archipelago.c +1 -0
@@ -55,6 +55,7 @@#include "block/block_int.h" #include "qemu/error-report.h" #include "qemu/thread.h" +#include "qapi/error.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qstring.h" #include "qapi/qmp/qjson.h"
Signature · 1 line
2.12.0
Quoted 7 lines · Max Reitz
In order to use
error_setg()and similar functions, we need to includeqapi/error.h.Signed-off-by Max Reitz <[email protected]>--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)
Does this mean our automated buildbots aren't building archipelago by default?
Quoted 14 lines
block/archipelago.c +1
-0@@ -55,6 +55,7 @@#include "block/block_int.h" #include "qemu/error-report.h" #include "qemu/thread.h" +#include "qapi/error.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qstring.h" #include "qapi/qmp/qjson.h"
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 9 lines · Eric Blake
Quoted 7 lines · Max Reitz
In order to use
error_setg()and similar functions, we need to includeqapi/error.h.Signed-off-by Max Reitz <[email protected]>--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)
Quoted 4 lines
Reviewed-by Eric Blake <[email protected]>Does this mean our automated buildbots aren't building archipelago by default?
Well, at least patchew didn't catch that I definitely broke archipelago in my bdrv_truncate() errp series...
[CC-ing Fam]
Max
Quoted 9 lines · Eric Blake
Quoted 7 lines · Max Reitz
In order to use
error_setg()and similar functions, we need to includeqapi/error.h.Signed-off-by Max Reitz <[email protected]>--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)
Quoted 5 lines
Reviewed-by Eric Blake <[email protected]>Does this mean our automated buildbots aren't building archipelago by default?
Oh, I meant to add:
Should probably mention that it was commit da34e65 that introduced the problem (if I'm right?). Does that mean we have not been compiling archipelago.c since Mar 2016?
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 16 lines · Eric Blake
Quoted 9 lines · Eric Blake
Quoted 7 lines · Max Reitz
In order to use
error_setg()and similar functions, we need to includeqapi/error.h.Signed-off-by Max Reitz <[email protected]>--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)Quoted 5 lines
Reviewed-by Eric Blake <[email protected]>Does this mean our automated buildbots aren't building archipelago by default?
Quoted 5 lines
Oh, I meant to add:
Should probably mention that it was commit da34e65 that introduced the problem (if I'm right?). Does that mean we have not been compiling
archipelago.csince Mar 2016?
At least here on my machine it does indeed compile before that commit and fails afterwards. So, yes, maybe we actually have not. :-)
Max
Philippe Mathieu-Daudé
Reviewed-byQuoted 10 lines · Eric Blake
Quoted 7 lines · Max Reitz
In order to use
error_setg()and similar functions, we need to includeqapi/error.h.Signed-off-by Max Reitz <[email protected]>--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)Reviewed-by Eric Blake <[email protected]>
Quoted 19 lines
Does this mean our automated buildbots aren't building archipelago by default?
Quoted 14 lines
block/archipelago.c +1
-0@@ -55,6 +55,7 @@#include "block/block_int.h" #include "qemu/error-report.h" #include "qemu/thread.h" +#include "qapi/error.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qstring.h" #include "qapi/qmp/qjson.h"
Am 08.03.2017 um 19:32 hat Max Reitz geschrieben:
Quoted 17 lines · Eric Blake
Quoted 16 lines · Eric Blake
Quoted 14 lines · Max Reitz
Quoted 7 lines
In order to use
error_setg()and similar functions, we need to includeqapi/error.h.Signed-off-by Max Reitz <[email protected]>--- block/archipelago.c | 1 + 1 file changed, 1 insertion(+)Reviewed-by Eric Blake <[email protected]>Does this mean our automated buildbots aren't building archipelago by default?
Quoted 8 lines
Quoted 5 lines
Oh, I meant to add:
Should probably mention that it was commit da34e65 that introduced the problem (if I'm right?). Does that mean we have not been compiling
archipelago.csince Mar 2016?At least here on my machine it does indeed compile before that commit and fails afterwards. So, yes, maybe we actually have not. :-)
In that case, maybe we should rather remove the driver because very obviously nobody is interested in it, not even the maintainer. Keeping things around that nobody tests (and consequently, nobody uses) is just a useless maintenance burden.
Kevin
Quoted 6 lines · Kevin Wolf
Quoted 6 lines
Quoted 5 lines
Oh, I meant to add:
Should probably mention that it was commit da34e65 that introduced the problem (if I'm right?). Does that mean we have not been compiling
archipelago.csince Mar 2016?
Quoted 7 lines
Quoted 2 lines
At least here on my machine it does indeed compile before that commit and fails afterwards. So, yes, maybe we actually have not. :-)
In that case, maybe we should rather remove the driver because very obviously nobody is interested in it, not even the maintainer. Keeping things around that nobody tests (and consequently, nobody uses) is just a useless maintenance burden.
We've released 2.6, 2.7, and 2.8 with no complaints about failure to compile. Sounds like a good candidate for removal in 2.9.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org