<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/src, 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>EPEL 5: Add "null vmchannel" back for qemu without virtio-serial support.</title>
<updated>2012-06-27T15:36:16+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-18T15:06:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=bc2657ab1c52ae52464769457352719ad2adb1eb'/>
<id>bc2657ab1c52ae52464769457352719ad2adb1eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>EPEL 5: Remove id= from -drive parameter on qemu command line.</title>
<updated>2012-06-27T15:36:16+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-18T16:21:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=fc178bf8f9f1d8a04e340fdb07787430e5dec6ec'/>
<id>fc178bf8f9f1d8a04e340fdb07787430e5dec6ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>EPEL 5: Define le64toh if not defined.</title>
<updated>2012-06-27T15:36:15+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-17T21:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=dbbc2e583207f0bc6ceb275cecce456b1082be6e'/>
<id>dbbc2e583207f0bc6ceb275cecce456b1082be6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>EPEL 5: Don't use C99-style variable decls in for-loop.</title>
<updated>2012-06-27T15:36:15+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-16T12:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=b03b16688dbaccd9bb7836cc8f4b967d03fda109'/>
<id>b03b16688dbaccd9bb7836cc8f4b967d03fda109</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>EPEL 5: Remove checks which fail with ancient qemu.</title>
<updated>2012-06-27T15:36:15+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-16T09:19:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=78bd074f424fec0beb51d968f18df36e9139518e'/>
<id>78bd074f424fec0beb51d968f18df36e9139518e</id>
<content type='text'>
Note that g-&gt;qemu_version and g-&gt;qemu_devices will both
be empty strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that g-&gt;qemu_version and g-&gt;qemu_devices will both
be empty strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Avoid double-close when qemu exits early.</title>
<updated>2012-06-26T13:53:33+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-26T13:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c87956837e962072fff61edef5b18e55ad42d730'/>
<id>c87956837e962072fff61edef5b18e55ad42d730</id>
<content type='text'>
The stdin and stdout of the qemu process are aliased to g-&gt;fd:

  g-&gt;fd[0] = wfd[1];
  g-&gt;fd[1] = rfd[0];

However if the child exits early, then child_cleanup closes g-&gt;fd[0],
g-&gt;fd[1], AND the code at the cleanup1 label closes wfd[1], rfd[0],
resulting in a double-close.

Avoid this case by setting wfd[1], rfd[0] to -1.  In the cleanup1
label, only close wfd[1], rfd[0] if they are not -1, and add the same
for g-&gt;fd[0], g-&gt;fd[1].
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stdin and stdout of the qemu process are aliased to g-&gt;fd:

  g-&gt;fd[0] = wfd[1];
  g-&gt;fd[1] = rfd[0];

However if the child exits early, then child_cleanup closes g-&gt;fd[0],
g-&gt;fd[1], AND the code at the cleanup1 label closes wfd[1], rfd[0],
resulting in a double-close.

Avoid this case by setting wfd[1], rfd[0] to -1.  In the cleanup1
label, only close wfd[1], rfd[0] if they are not -1, and add the same
for g-&gt;fd[0], g-&gt;fd[1].
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Ensure errno from test_qemu_cmd is captured and printed.</title>
<updated>2012-06-26T12:38:57+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-26T12:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=9e221e55b61e9f1cd0caf292ca609a4ca26f1d4d'/>
<id>9e221e55b61e9f1cd0caf292ca609a4ca26f1d4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Set g-&gt;sock = -1 to avoid double-close.</title>
<updated>2012-06-26T12:31:58+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-26T12:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=11317b5d1243f3afc35f7abe8edc646f75813e36'/>
<id>11317b5d1243f3afc35f7abe8edc646f75813e36</id>
<content type='text'>
This fixes commit ef5c02c6ee72eb8e127115923951777a2c2b8480.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes commit ef5c02c6ee72eb8e127115923951777a2c2b8480.
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Log errors from close syscall.</title>
<updated>2012-06-26T10:50:12+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-26T10:47:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ef5c02c6ee72eb8e127115923951777a2c2b8480'/>
<id>ef5c02c6ee72eb8e127115923951777a2c2b8480</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Treat /dev/null specially, for old KVM.</title>
<updated>2012-06-25T10:20:35+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-25T08:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=729bb9c6b5ae0c0e7c68dc802b1617936062f966'/>
<id>729bb9c6b5ae0c0e7c68dc802b1617936062f966</id>
<content type='text'>
Old KVM can't add /dev/null readonly.  Treat /dev/null as a special
case.

We also fix a few tests where /dev/null was being used with
format=qcow2.  This was always incorrect behaviour, but qemu appears
to tolerate it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old KVM can't add /dev/null readonly.  Treat /dev/null as a special
case.

We also fix a few tests where /dev/null was being used with
format=qcow2.  This was always incorrect behaviour, but qemu appears
to tolerate it.
</pre>
</div>
</content>
</entry>
</feed>
