Displaying 20 results from an estimated 23 matches for "03ld".
Did you mean:
03d
2016 Aug 23
1
Re: [PATCH 1/2] v2v:windows: factor out getting CurrentControlSet
...ControlSet. *)
> + let get_current_cs root =
> + let select = g#hivex_node_get_child root "Select" in
> + let valueh = g#hivex_node_get_value select "Current" in
> + let value = int_of_le32 (g#hivex_value_value valueh) in
> + sprintf "ControlSet%03Ld" value in
> +
> let rec configure_firstboot () =
> (match installer with
> | None -> ()
> @@ -302,14 +309,8 @@ if errorlevel 3010 exit /b 0
> (* Update the SYSTEM hive. When this function is called the hive has
> * already been opened as a hive...
2016 Sep 01
0
Re: [PATCH v2 1/2] v2v:windows: factor out getting CurrentControlSet
...ControlSet. *)
> + let get_current_cs root =
> + let select = g#hivex_node_get_child root "Select" in
> + let valueh = g#hivex_node_get_value select "Current" in
> + let value = int_of_le32 (g#hivex_value_value valueh) in
> + sprintf "ControlSet%03Ld" value in
> +
> let rec configure_firstboot () =
> (match installer with
> | None -> ()
> @@ -302,13 +309,7 @@ if errorlevel 3010 exit /b 0
> (* Update the SYSTEM hive. When this function is called the hive has
> * already been opened as a hive...
2016 Sep 01
3
[PATCH v2 0/2] v2v:windows: prevent conflicts with PnP on firstboot
Wait for driver installations fired by the PnP manager to complete
before running firstboot scripts.
The first patch is a minor refactoring to pave the way for the second
patch. The latter contains the bulk of the changes as well as the
description of the idea.
Roman Kagan (2):
v2v:windows: factor out getting CurrentControlSet
v2v:windows: prevent conflicts with PnP on firstboot
---
v1
2016 Apr 05
0
[PATCH 3/7] customize: add support for pvvxsvc
...e 'Current' ControlSet. *)
- let current_cs =
- let select = g#hivex_node_get_child root_node "Select" in
- let valueh = g#hivex_node_get_value select "Current" in
- let value = int_of_le32 (g#hivex_value_value valueh) in
- sprintf "ControlSet%03Ld" value in
-
- (* Add a new rhsrvany service to the system registry to execute firstboot.
- * NB: All these edits are in the HKLM\SYSTEM hive. No other
- * hive may be modified here.
- *)
- let regedits = [
- [ current_cs; "services"; "firstboot" ],
-...
2014 Dec 02
1
[PATCH NOT TO BE APPLIED] v2v: windows: Make registry changes to all ControlSets, not
[Partly using the mailing list as a backup again ...]
This commit changes virt-v2v to make registry changes to all ControlSets,
not just the CurrentControlSet.
Not sure what difference if any this would make.
Rich.
2016 Aug 23
0
Re: [PATCH 2/2] v2v:windows: prevent conflicts with PnP on firstboot
...ther RHEV-APT or VMDP exists. This is optional. *)
> let tools = [`RhevApt, "rhev-apt.exe"; `VmdpExe, "vmdp.exe"] in
> let installer =
> @@ -218,6 +230,7 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
> sprintf "ControlSet%03Ld" value in
>
> let rec configure_firstboot () =
> + wait_pnp ();
> (match installer with
> | None -> ()
> | Some (`RhevApt, tool_path) -> configure_rhev_apt tool_path
> @@ -226,6 +239,85 @@ let convert ~keep_serial_console (g : G.guestfs) insp...
2016 Sep 01
0
Re: [PATCH v2 2/2] v2v:windows: prevent conflicts with PnP on firstboot
...ther RHEV-APT or VMDP exists. This is optional. *)
> let tools = [`RhevApt, "rhev-apt.exe"; `VmdpExe, "vmdp.exe"] in
> let installer =
> @@ -218,6 +230,7 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
> sprintf "ControlSet%03Ld" value in
>
> let rec configure_firstboot () =
> + wait_pnp ();
> (match installer with
> | None -> ()
> | Some (`RhevApt, tool_path) -> configure_rhev_apt tool_path
> @@ -226,6 +239,85 @@ let convert ~keep_serial_console (g : G.guestfs) insp...
2017 Feb 18
11
[PATCH 0/8] Miscellaneous cleanups to Windows registry code.
A very miscellaneous set of cleanups to how we handle the Windows
registry in virt-v2v, firstboot, and inspection code. This should all
be straightforward non-controversial refactoring. Some highlights:
- Add a new mllib Registry module containing various utility
functions that are currently scattered all around.
- Only compute the software/system hive paths once during inspection,
and
2017 Jul 31
0
[PATCH v11 09/10] daemon: Implement inspection of Windows.
...)
+
+(* Get the CurrentControlSet. *)
+and get_current_control_set h root =
+ try
+ let path = [ "Select" ] in
+ let node = get_node h root path in
+ let current_v = Hivex.node_get_value h node "Current" in
+ let current_control_set =
+ sprintf "ControlSet%03ld" (Hivex.value_dword h current_v) in
+ Some current_control_set
+ with
+ | Not_found ->
+ if verbose () then
+ eprintf "check_windows_system_registry: cannot locate HKLM\\SYSTEM\\Select\n%!";
+ None
+
+(* Get the drive mappings.
+ * This page explains the content...
2016 Apr 05
22
[PATCH 0/7] Add support for SUSE virtio windows drivers
Hi there,
SUSE ships Virtual Machine Driver Pack for the virtio windows drivers. Get v2v
and customize to discover them and use them if available.
Cédric Bosdonnat (7):
v2v: check next free oem%d.inf in /Windows/Inf
v2v: extract controller offset discovery as a function
customize: add support for pvvxsvc
v2v: extract reusable parts of viostor regedits
v2v: adapt the subkey in Enum
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...cmd;
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 5daae6c..aa5cb3b 100644
--- a/v2v/convert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -278,7 +278,7 @@ if errorlevel 3010 exit /b 0
let value = int_of_le32 (g#hivex_value_value valueh) in
sprintf "ControlSet%03Ld" value in
- if verbose () then printf "current ControlSet is %s\n%!" current_cs;
+ debug "current ControlSet is %s" current_cs;
disable_services root current_cs;
disable_autoreboot root current_cs;
diff --git a/v2v/copy_to_local.ml b/v2v/copy_to_local.ml...
2016 May 22
4
ocaml tools: Use a common debug function.
Add a Common_utils.debug function for printing messages
only when in verbose mode.
Rich.
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...ase_sensitive_path filename in
+ let verbose = verbose () in
g#hivex_open ~write ~verbose (* ~debug:verbose *) filename;
let r =
try
@@ -191,7 +192,7 @@ echo uninstalling Xen PV driver
let value = int_of_le32 (g#hivex_value_value valueh) in
sprintf "ControlSet%03Ld" value in
- if verbose then printf "current ControlSet is %s\n%!" current_cs;
+ if verbose () then printf "current ControlSet is %s\n%!" current_cs;
disable_services root current_cs;
disable_autoreboot root current_cs;
diff --git a/v2v/input_disk.ml b/v2...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
2017 Jul 31
16
[PATCH v11 00/10] Reimplement inspection in the daemon.
v10: https://www.redhat.com/archives/libguestfs/2017-July/msg00245.html
No actual change here, but I rebased and retested. Also this series
now does not depend on any other patch series since everything else
needed is upstream.
Rich.
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with
updates coming from blktap2.5.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
2017 Jul 21
10
[PATCH v10 00/10] Reimplement inspection in the daemon.
v9 was here:
https://www.redhat.com/archives/libguestfs/2017-July/msg00139.html
This depends on these three series (the first two being single minor
patches):
https://www.redhat.com/archives/libguestfs/2017-July/msg00207.html
https://www.redhat.com/archives/libguestfs/2017-July/msg00209.html
https://www.redhat.com/archives/libguestfs/2017-July/msg00215.html
There is no substantive change. I
2017 Jul 17
12
[PATCH v9 00/11] Reimplement inspection in the daemon.
This depends on the patch series
"[PATCH 00/27] Reimplement many daemon APIs in OCaml."
(https://www.redhat.com/archives/libguestfs/2017-July/msg00098.html)
v8 was posted here:
https://www.redhat.com/archives/libguestfs/2017-June/msg00274.html
v9:
- I split up the mega-patch into a more reviewable series of
smaller, incremental patches.
There are some other changes vs v8, but
2017 Aug 09
16
[PATCH v12 00/11] Reimplement inspection in the daemon.
This fixes almost everything. Note that it adds an extra commit which
fixes the whole utf8/iconv business.
It's probably better to list what isn't fixed:
(1) I didn't leave the osinfo code around because I'm still haven't
looked too closely at virt-builder-repository. Can't we just fetch
this code from the git history when we need it?
(2) I didn't change the way