search for: allow_foreign_arch_ops

Displaying 2 results from an estimated 2 matches for "allow_foreign_arch_ops".

2014 Mar 10
2
[PATCH] builder: complete architecture handling
...ine.ml b/builder/cmdline.ml index 6e8bfd8..0dd0ad2 100644 --- a/builder/cmdline.ml +++ b/builder/cmdline.ml @@ -44,6 +44,9 @@ let parse_cmdline () = let print_cache_mode () = mode := `Print_cache in let delete_cache_mode () = mode := `Delete_cache in + let arch = ref "" in + let allow_foreign_arch_ops = ref false in + let attach = ref [] in let attach_format = ref None in let set_attach_format = function @@ -221,6 +224,9 @@ let parse_cmdline () = let ditto = " -\"-" in let argspec = Arg.align [ + "--allow-foreign-arch-ops", Arg.Set allow_foreign_arch_...
2014 Mar 11
4
Re: [PATCH] builder: complete architecture handling
...ml > > +++ b/builder/cmdline.ml > > @@ -44,6 +44,9 @@ let parse_cmdline () = > > > > let print_cache_mode () = mode := `Print_cache in > > let delete_cache_mode () = mode := `Delete_cache in > > > > + let arch = ref "" in > > + let allow_foreign_arch_ops = ref false in > > Can't we detect allow_foreign_arch_ops automatically? > > For normal uses of libguestfs, the only case that matters is a 32 bit > requested guest architecture on a compatible 64 bit host (eg. ppc on > ppc64 host). So a simple mapping table of host archite...