<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/tools/virt-win-reg, branch master</title>
<subtitle>[MIRROR] library for accessing and modifying guest disk images</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/'/>
<entry>
<title>inspection: Fix calls to case_sensitive_path (RHBZ#858126).</title>
<updated>2012-09-28T14:09:50+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-09-28T09:15:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=9ea6e9701461e594033999150f930cc4fafec4d2'/>
<id>9ea6e9701461e594033999150f930cc4fafec4d2</id>
<content type='text'>
Don't assume that if guestfs_case_sensitive_path returns NULL, that it
means the file does not exist.

The (previously undefined) behaviour of case_sensitive_path was that a
NULL return meant "either the file doesn't exist or some other error".
However in commit 973581780d8a006f336684fef6762801402d775d this was
changed so that if the last element of the path didn't exist, it was
assumed to be a new file and the (non-NULL) path of the new file is
returned.

This change breaks code (including in libguestfs) which tries to use
case_sensitive_path as a dual-purpose call to fix-up a path for
Windows and test if the file exists.  Such code should be rewritten so
that it explicitly tests for file existence after calling
case_sensitive_path.

I examined all the calls to case_sensitive_path in libguestfs and
modified them where necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't assume that if guestfs_case_sensitive_path returns NULL, that it
means the file does not exist.

The (previously undefined) behaviour of case_sensitive_path was that a
NULL return meant "either the file doesn't exist or some other error".
However in commit 973581780d8a006f336684fef6762801402d775d this was
changed so that if the last element of the path didn't exist, it was
assumed to be a new file and the (non-NULL) path of the new file is
returned.

This change breaks code (including in libguestfs) which tries to use
case_sensitive_path as a dual-purpose call to fix-up a path for
Windows and test if the file exists.  Such code should be rewritten so
that it explicitly tests for file existence after calling
case_sensitive_path.

I examined all the calls to case_sensitive_path in libguestfs and
modified them where necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Fix podwrapper errors in tools directory.</title>
<updated>2012-08-28T12:18:40+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-28T11:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=23b7fe09e1589c3c9ca5f52a9588ad1c73649b14'/>
<id>23b7fe09e1589c3c9ca5f52a9588ad1c73649b14</id>
<content type='text'>
This also makes the test for license "code" less strict, so it should
only match POD, not Perl comments.

This fixes commit 2f97bf873b64384835f257f8916bf1ebb2af62b4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also makes the test for license "code" less strict, so it should
only match POD, not Perl comments.

This fixes commit 2f97bf873b64384835f257f8916bf1ebb2af62b4.
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: guestfs_shutdown: Cleanly shutdown the backend.</title>
<updated>2012-07-03T20:27:29+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-03T12:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ffbf1475f7ae7c462db289ad4834391469e72edd'/>
<id>ffbf1475f7ae7c462db289ad4834391469e72edd</id>
<content type='text'>
The new API splits orderly close into a two-step process:

  if (guestfs_shutdown (g) == -1) {
    /* handle the error, eg. qemu error */
  }
  guestfs_close (g);

Note that the explicit shutdown step is only necessary in the case
where you have made changes to the disk image and want to handle write
errors.  Read the documentation for further information.

This change also:

 - deprecates guestfs_kill_subprocess

 - turns guestfs_kill_subprocess into the same as guestfs_shutdown

 - changes guestfish and other tools to call shutdown + close
   where necessary (not for read-only tools)

 - updates documentation

 - updates examples
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new API splits orderly close into a two-step process:

  if (guestfs_shutdown (g) == -1) {
    /* handle the error, eg. qemu error */
  }
  guestfs_close (g);

Note that the explicit shutdown step is only necessary in the case
where you have made changes to the disk image and want to handle write
errors.  Read the documentation for further information.

This change also:

 - deprecates guestfs_kill_subprocess

 - turns guestfs_kill_subprocess into the same as guestfs_shutdown

 - changes guestfish and other tools to call shutdown + close
   where necessary (not for read-only tools)

 - updates documentation

 - updates examples
</pre>
</div>
</content>
</entry>
<entry>
<title>Update FSF address.</title>
<updated>2011-11-08T14:43:07+00:00</updated>
<author>
<name>Matthew Booth</name>
<email>mbooth@redhat.com</email>
</author>
<published>2011-11-08T14:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=04ea1375c55aa67df4e7fc61dbb534111767f3b6'/>
<id>04ea1375c55aa67df4e7fc61dbb534111767f3b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-win-reg: Document syntax for deleting keys and values (RHBZ#737944).</title>
<updated>2011-10-22T14:55:48+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-10-22T14:55:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=21a4cf7ef54a8598126f39023a51ef43415679dc'/>
<id>21a4cf7ef54a8598126f39023a51ef43415679dc</id>
<content type='text'>
NB: This requires hivex &gt;= 1.3.2 before this syntax becomes true.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NB: This requires hivex &gt;= 1.3.2 before this syntax becomes true.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Separate out combined =item 's in man pages.</title>
<updated>2011-07-16T14:20:29+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-07-16T14:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=a711777bedcf64d814bb953ff8771858dbd7161b'/>
<id>a711777bedcf64d814bb953ff8771858dbd7161b</id>
<content type='text'>
Turn:

 =item B&lt;-a&gt; | B&lt;--all&gt;

into:

 =item B&lt;-a&gt;

 =item B&lt;--all&gt;

This gives a more natural-looking manual page, as well as making it
easier to directly link to these sections.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turn:

 =item B&lt;-a&gt; | B&lt;--all&gt;

into:

 =item B&lt;-a&gt;

 =item B&lt;--all&gt;

This gives a more natural-looking manual page, as well as making it
easier to directly link to these sections.
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-win-reg: Win XP paths can contain %systemdrive%.</title>
<updated>2011-05-17T21:54:20+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-05-17T21:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=94d1dfde2793dccdcaf105d77c6135cdae70fa5e'/>
<id>94d1dfde2793dccdcaf105d77c6135cdae70fa5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-win-reg: systemroot macro should be replaced case insensitive.</title>
<updated>2011-05-17T21:53:53+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-05-17T21:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=4a6890d824b6bcb811e0dca9a0e77d81451a9056'/>
<id>4a6890d824b6bcb811e0dca9a0e77d81451a9056</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-win-reg: Support HKEY_USERS keys.</title>
<updated>2011-05-17T16:05:11+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-05-17T12:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=2dbe26c372fe102b4c77cb6a3ecfa435117a4ec3'/>
<id>2dbe26c372fe102b4c77cb6a3ecfa435117a4ec3</id>
<content type='text'>
This adds support for various Registry keys under HKEY_USERS (user
preferences).

(1) HKEY_USERS\&lt;SID&gt;
    where &lt;SID&gt; is a User SID.

For example:

  # virt-win-reg Windows 'HKEY_USERS\S-1-5-19'

lists out the LocalService user's registry.

(2) HKEY_USERS\&lt;username&gt;
    where &lt;username&gt; is a Windows local username (this is a
    libguestfs extension).

For example:

  # virt-win-reg Windows 'HKEY_USERS\rjones'

lists out the user preferences of user 'rjones'.

HKU can be used as an abbreviation for HKEY_USERS.  Merging is also
supported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds support for various Registry keys under HKEY_USERS (user
preferences).

(1) HKEY_USERS\&lt;SID&gt;
    where &lt;SID&gt; is a User SID.

For example:

  # virt-win-reg Windows 'HKEY_USERS\S-1-5-19'

lists out the LocalService user's registry.

(2) HKEY_USERS\&lt;username&gt;
    where &lt;username&gt; is a Windows local username (this is a
    libguestfs extension).

For example:

  # virt-win-reg Windows 'HKEY_USERS\rjones'

lists out the user preferences of user 'rjones'.

HKU can be used as an abbreviation for HKEY_USERS.  Merging is also
supported.
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-win-reg: Don't use implicit $_ in map_path_to_hive function.</title>
<updated>2011-05-17T16:05:11+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-05-17T12:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=4443cfab8b16d862c8ab2971acccf4f18802b95c'/>
<id>4443cfab8b16d862c8ab2971acccf4f18802b95c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
