Small fixes after run-through.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 13 Feb 2021 13:55:24 +0000 (13:55 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 13 Feb 2021 13:55:24 +0000 (13:55 +0000)
2021-pipelines/3400-sparsification.term
2021-pipelines/5000-ova-files.html
2021-pipelines/6100-simpler-modifications.html
2021-pipelines/9100-future-work.html

index 8d8a672..8b88de0 100755 (executable)
@@ -8,6 +8,8 @@ export title="Sparsification + copying"
 # History.
 remember 'qemu-img create -f qcow2 -F raw -b ssh://kool/mnt/scratch/pipes/fedora-33.img snapshot.qcow2'
 remember 'virt-sparsify --in-place snapshot.qcow2'
+remember 'ls -lh snapshot.qcow2'
+remember 'qemu-img map snapshot.qcow2'
 remember 'qemu-img convert -f qcow2 snapshot.qcow2 -O raw local.img -p'
 
 terminal
index d89b936..b333f38 100644 (file)
@@ -19,10 +19,11 @@ tar file = header - file - header - file ...
 </pre>
 
 <pre>
-          nbdkit tar
-┌──────────┐filter┌────────────┐
-│ test.ova │─────▶│ qcow2 file │◀─── virt-sparsify --in-place
-└──────────┘      └────────────┘                            ┌───────────┐
+┌──────────┐      ┌────────────┐      ┌────────────┐
+│ test.ova │─────▶│ tar filter │─────▶│ qcow2 file │
+└──────────┘      └────────────┘      └────────────┘
+                                 ◀─── virt-sparsify --in-place
+                                                            ┌───────────┐
                                  ───▶ qemu-img convert ────▶│ local.img │
                                                             └───────────┘
 </pre>
index 08e809e..8f54b20 100644 (file)
@@ -5,9 +5,10 @@
 <h1>Simpler example of modification</h1>
 
 <pre>
-┌─────────────┐http┌────────────┐    ┌────────────┐
-│ cloud image │───▶│ xz filter  │───▶│ nbdkit     │
-└─────────────┘    └────────────┘    └────────────┘
+                                nbdkit
+┌─────────────┐http┌─────────────┐    ┌────────────┐    ┌────────────┐
+│ cloud image │───▶│ curl plugin │───▶│ xz filter  │───▶│ qcow2 file │
+└─────────────┘    └─────────────┘    └────────────┘    └────────────┘
 
                                            ◀─── virt-sparsify --in-place
 
index 2b11c16..4e6a227 100644 (file)
@@ -8,6 +8,7 @@
 <li> nbdcopy vs qemu-img convert
 <li> copy-on-read, bounded caches
 <li> block size adjustment
+<li> <code>json:</code> URIs
 <li> reading from containers &amp; stop using gzip!
 <li> pay attention to benchmarking &amp; use realistic images
 </ul>