<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/perl/lib, branch oldlinux</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>perl: Don't fail if 'type' (disk format) attribute is missing in libvirt XML (RHBZ#701814).</title>
<updated>2012-05-03T11:30:05+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-05-03T11:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=f072a21f3aef6779aaa77329578ae3677a685d85'/>
<id>f072a21f3aef6779aaa77329578ae3677a685d85</id>
<content type='text'>
Old versions of libvirt allowed you to define disks like this:

    &lt;disk type='file' device='disk'&gt;
      &lt;driver name='qemu'/&gt;
      ...

Since the &lt;driver&gt; element does not have a 'type' attribute (which
defines the format), we are supposed to do autodetection, so the
format should be undefined.

However what actually happened was that the code in
Sys::Guestfs::Lib::open_guest received format as an empty string from
the xpath query, causing libguestfs to give an error.

If the xpath query returns the format as an empty string, undefine it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old versions of libvirt allowed you to define disks like this:

    &lt;disk type='file' device='disk'&gt;
      &lt;driver name='qemu'/&gt;
      ...

Since the &lt;driver&gt; element does not have a 'type' attribute (which
defines the format), we are supposed to do autodetection, so the
format should be undefined.

However what actually happened was that the code in
Sys::Guestfs::Lib::open_guest received format as an empty string from
the xpath query, causing libguestfs to give an error.

If the xpath query returns the format as an empty string, undefine it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tempus fugit.</title>
<updated>2012-01-18T22:05:02+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-01-18T22:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=08840bab44c38d0c69b5780c57b2bf370c96d58c'/>
<id>08840bab44c38d0c69b5780c57b2bf370c96d58c</id>
<content type='text'>
Update all copyright dates to 2012.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update all copyright dates to 2012.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix 'unknown filesystem' warnings in old inspection code (RHBZ#678231 RHBZ#666578).</title>
<updated>2011-08-11T10:45:25+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-08-11T10:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=b9838001015a06a69a08b69d9f013d82f0ea3139'/>
<id>b9838001015a06a69a08b69d9f013d82f0ea3139</id>
<content type='text'>
This is a comprehensive fix for the warnings from the old (and
obsolete) Perl inspection code.  For a full description and
reproducer, see:

https://bugzilla.redhat.com/show_bug.cgi?id=678231#c5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a comprehensive fix for the warnings from the old (and
obsolete) Perl inspection code.  For a full description and
reproducer, see:

https://bugzilla.redhat.com/show_bug.cgi?id=678231#c5
</pre>
</div>
</content>
</entry>
<entry>
<title>perl: Fix another place where qw() was used as parentheses.</title>
<updated>2011-07-27T14:43:12+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-07-27T14:43:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c70532ab4b3d977ed7484e473107808b22d90a2a'/>
<id>c70532ab4b3d977ed7484e473107808b22d90a2a</id>
<content type='text'>
This is a fix for Perl 5.14.

See previous commit 5c3c7e8825341e18c9449976f8a321a04cc78d79.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a fix for Perl 5.14.

See previous commit 5c3c7e8825341e18c9449976f8a321a04cc78d79.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)"</title>
<updated>2011-06-28T08:48:46+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-06-27T17:14:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=123610f1b5133a9e541a245467f60d065ea96575'/>
<id>123610f1b5133a9e541a245467f60d065ea96575</id>
<content type='text'>
This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656.
</pre>
</div>
</content>
</entry>
<entry>
<title>perl: Don't use qw() as parentheses.</title>
<updated>2011-06-18T12:00:00+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-06-18T12:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=5c3c7e8825341e18c9449976f8a321a04cc78d79'/>
<id>5c3c7e8825341e18c9449976f8a321a04cc78d79</id>
<content type='text'>
In Perl 5.14:

Use of qw(...) as parentheses is deprecated at perl/blib/lib/Sys/Guestfs/Lib.pm line 1111.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Perl 5.14:

Use of qw(...) as parentheses is deprecated at perl/blib/lib/Sys/Guestfs/Lib.pm line 1111.
</pre>
</div>
</content>
</entry>
<entry>
<title>perl: Canonicalize /dev/vd* paths in old inspection code (RHBZ#691724).</title>
<updated>2011-03-29T11:20:57+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-03-29T11:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=759f4369de965f46f4a93b3a75dada050f87e223'/>
<id>759f4369de965f46f4a93b3a75dada050f87e223</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Detect Red Hat Desktop as 'rhel' distro (RHBZ#682979).</title>
<updated>2011-03-08T08:10:19+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2011-03-08T08:10:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c1a227a960066fb9552e0c225bc473be365b67b0'/>
<id>c1a227a960066fb9552e0c225bc473be365b67b0</id>
<content type='text'>
/etc/redhat-release on Red Hat Desktop contains the following
string:
  Red Hat Desktop release 4 (Nahant Update 8)

Previously we matched against the string "Red Hat Enterprise Linux"
but since this does not contain that string, this distro wasn't being
detected correctly.

Note this also changes the obsolete Perl code, for the benefit of
virt-v2v.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
/etc/redhat-release on Red Hat Desktop contains the following
string:
  Red Hat Desktop release 4 (Nahant Update 8)

Previously we matched against the string "Red Hat Enterprise Linux"
but since this does not contain that string, this distro wasn't being
detected correctly.

Note this also changes the obsolete Perl code, for the benefit of
virt-v2v.
</pre>
</div>
</content>
</entry>
<entry>
<title>Lib.pm: unknown filesystem /dev/hd{x} (cdrom) (RHBZ#666577)</title>
<updated>2011-01-02T18:58:19+00:00</updated>
<author>
<name>Douglas Schilling Landgraf</name>
<email>dougsland@redhat.com</email>
</author>
<published>2011-01-02T18:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=f07a0b6f1e01f12db0286ae49744deee0efcb5b9'/>
<id>f07a0b6f1e01f12db0286ae49744deee0efcb5b9</id>
<content type='text'>
This a purpose patch to avoid the message "unknown filesystem /dev/hdc".
Where /dev/hdc is an entry in fstab for CDROM.

Example of fstab:
/dev/hdc                /media/cdrom            auto
pamconsole,exec,noauto,managed 0 0

https://bugzilla.redhat.com/show_bug.cgi?id=666577

Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This a purpose patch to avoid the message "unknown filesystem /dev/hdc".
Where /dev/hdc is an entry in fstab for CDROM.

Example of fstab:
/dev/hdc                /media/cdrom            auto
pamconsole,exec,noauto,managed 0 0

https://bugzilla.redhat.com/show_bug.cgi?id=666577

Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)</title>
<updated>2011-01-02T18:58:09+00:00</updated>
<author>
<name>Douglas Schilling Landgraf</name>
<email>dougsland@redhat.com</email>
</author>
<published>2011-01-02T18:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=5cab0d6c807d8a3bf9690375c663d11a10e21656'/>
<id>5cab0d6c807d8a3bf9690375c663d11a10e21656</id>
<content type='text'>
Hi,

This is a purpose patch to avoid the message: unknown filesystem label
SWAP-sda2.

Instead of validate the label with 'eq', use '=~' and /$label/i.

https://bugzilla.redhat.com/show_bug.cgi?id=666578

Thanks
Douglas
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hi,

This is a purpose patch to avoid the message: unknown filesystem label
SWAP-sda2.

Instead of validate the label with 'eq', use '=~' and /$label/i.

https://bugzilla.redhat.com/show_bug.cgi?id=666578

Thanks
Douglas
</pre>
</div>
</content>
</entry>
</feed>
