Displaying 8 results from an estimated 8 matches for "test_120_set_non_defaults".
2020 Sep 07
4
[libnbd PATCH v2 0/3] Improve type-safety of ocaml/golang getters
...ge checking
ocaml: Support unknown values for Enum/Flags
ocaml: Typesafe returns for REnum/RFlags
generator/OCaml.ml | 123 +++++++++++++++---
python/t/120-set-non-defaults.py | 12 ++
ocaml/tests/test_110_defaults.ml | 5 +-
ocaml/tests/test_120_set_non_defaults.ml | 19 ++-
tests/errors.c | 32 +++++
.../libnbd_120_set_non_defaults_test.go | 28 +++-
6 files changed, 194 insertions(+), 25 deletions(-)
--
2.28.0
2020 Sep 06
0
[libnbd PATCH 3/3] ocaml: Typesafe returns for REnum/RFlags
...r get an int from libnbd that we can't translate to an
OCaml type (that one is theoretically probable; perhaps it should
raise an OCaml exception instead?).
---
generator/OCaml.ml | 59 ++++++++++++++++++++++--
ocaml/tests/test_110_defaults.ml | 5 +-
ocaml/tests/test_120_set_non_defaults.ml | 4 +-
3 files changed, 60 insertions(+), 8 deletions(-)
diff --git a/generator/OCaml.ml b/generator/OCaml.ml
index 4a835b0..cb6633c 100644
--- a/generator/OCaml.ml
+++ b/generator/OCaml.ml
@@ -66,8 +66,8 @@ and ocaml_ret_to_string = function
| RCookie -> "cookie"
| RString...
2020 Sep 07
0
[libnbd PATCH v2 3/3] ocaml: Typesafe returns for REnum/RFlags
.... This includes the
use of the recently-added UNKNOWN catch-all for encoding C values
returned by a newer libnbd.so than when the OCaml bindings were
compiled.
---
generator/OCaml.ml | 77 ++++++++++++++++++++++--
ocaml/tests/test_110_defaults.ml | 5 +-
ocaml/tests/test_120_set_non_defaults.ml | 9 +--
3 files changed, 79 insertions(+), 12 deletions(-)
diff --git a/generator/OCaml.ml b/generator/OCaml.ml
index db7003c..4bcd450 100644
--- a/generator/OCaml.ml
+++ b/generator/OCaml.ml
@@ -66,8 +66,8 @@ and ocaml_ret_to_string = function
| RCookie -> "cookie"
| RStri...
2020 Sep 11
0
[libnbd PATCH v2 1/5] api: Add xxx_MASK constant for each Flags type
...| 5 ++++-
lib/handle.c | 5 ++---
python/t/110-defaults.py | 3 +--
python/t/120-set-non-defaults.py | 5 ++---
ocaml/tests/test_110_defaults.ml | 3 +--
ocaml/tests/test_120_set_non_defaults.ml | 3 +--
tests/errors.c | 9 +++------
.../libnbd/libnbd_110_defaults_test.go | 2 +-
.../libnbd/libnbd_120_set_non_defaults_test.go | 4 ++--
14 files changed, 58 insertions(+), 31 deletions(-)
diff --git a/docs/libnbd.pod b...
2020 Sep 06
8
[libnbd PATCH 0/3] Improve type-safety of ocaml/golang getters
....ml | 20 ++++---
generator/GoLang.ml | 13 ++++-
generator/OCaml.ml | 55 +++++++++++++++++++
generator/Python.ml | 2 +
ocaml/tests/test_110_defaults.ml | 5 +-
ocaml/tests/test_120_set_non_defaults.ml | 4 +-
.../libnbd/libnbd_110_defaults_test.go | 6 +-
.../libnbd_120_set_non_defaults_test.go | 2 +-
10 files changed, 102 insertions(+), 23 deletions(-)
--
2.28.0
2020 Sep 11
10
[libnbd PATCH v2 0/5] Add knobs for client- vs. server-side validation
...handle.c | 21 +-
lib/rw.c | 232 ++++++--------
python/t/110-defaults.py | 3 +-
python/t/120-set-non-defaults.py | 5 +-
ocaml/tests/test_110_defaults.ml | 3 +-
ocaml/tests/test_120_set_non_defaults.ml | 3 +-
tests/errors.c | 72 ++++-
.../libnbd/libnbd_110_defaults_test.go | 2 +-
.../libnbd_120_set_non_defaults_test.go | 4 +-
18 files changed, 488 insertions(+), 264 deletions(-)
--
2.28.0
2020 Sep 07
0
Re: [libnbd PATCH 0/3] Improve type-safety of ocaml/golang getters
...| 20 ++++---
> generator/GoLang.ml | 13 ++++-
> generator/OCaml.ml | 55 +++++++++++++++++++
> generator/Python.ml | 2 +
> ocaml/tests/test_110_defaults.ml | 5 +-
> ocaml/tests/test_120_set_non_defaults.ml | 4 +-
> .../libnbd/libnbd_110_defaults_test.go | 6 +-
> .../libnbd_120_set_non_defaults_test.go | 2 +-
> 10 files changed, 102 insertions(+), 23 deletions(-)
>
> --
> 2.28.0
>
> _______________________________________________
> Libguestfs ma...
2022 Nov 14
3
[cross-project PATCH v2] NBD 64-bit extensions
This is a cover letter for a set of multi-project patch series all
designed to implement 64-bit operations in NBD, and demonstrate
interoperability of the new extension between projects.
v1 of the project was attempted nearly a year ago:
https://lists.nongnu.org/archive/html/qemu-devel/2021-12/msg00453.html
Since then, I've addressed a lot of preliminary cleanups in libnbd to
make it easier