search for: b1cf6246

Displaying 3 results from an estimated 3 matches for "b1cf6246".

2015 Aug 11
1
Re: [PATCH 1/2] mllib: add normalize_arch helper
...gt; > +let normalize_arch = function > > + | "i386" | "i486" | "i586" | "i686" -> "i386" > > + | "amd64" | "x86_64" -> "x86_64" > > Commit 8864c47b had "x64" also (added by you in b1cf6246). IIRC x64 was for 64bit Windows guests, but for now that is not needed. > > + | "powerpc" | "ppc" -> "ppc" > > + | arch -> arch > > + > > (* Are guest arch and host_cpu compatible, in terms of being able > > * to run commands...
2015 Aug 11
3
[PATCH 1/2] mllib: add normalize_arch helper
Small helper to normalize an architecture string, so it is easier to compare them and check for compatibilities. Make use of it in guest_arch_compatible, simplifying it. --- mllib/common_utils.ml | 12 ++++++++++-- mllib/common_utils.mli | 5 +++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index f9e8996..ca6d470 100644 ---
2015 Aug 11
0
Re: [PATCH 1/2] mllib: add normalize_arch helper
...path permissions > > +let normalize_arch = function > + | "i386" | "i486" | "i586" | "i686" -> "i386" > + | "amd64" | "x86_64" -> "x86_64" Commit 8864c47b had "x64" also (added by you in b1cf6246). > + | "powerpc" | "ppc" -> "ppc" > + | arch -> arch > + > (* Are guest arch and host_cpu compatible, in terms of being able > * to run commands in the libguestfs appliance? > *) > let guest_arch_compatible guest_arch = > - matc...