From: Richard W.M. Jones Date: Wed, 23 Oct 2019 09:38:33 +0000 (+0100) Subject: Add outline first slide of talk. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5b8d6fe8e9223d08f0802e0666b21416a0a67119;hp=c85a80ea2232a12ad71efc72f024f14c0ccdc416;p=libguestfs-talks.git Add outline first slide of talk. --- diff --git a/2019-kvm-forum/.gitignore b/2019-kvm-forum/.gitignore new file mode 100644 index 0000000..b9bdd59 --- /dev/null +++ b/2019-kvm-forum/.gitignore @@ -0,0 +1,8 @@ +/bindings +/history +/2000-loop-mounting.d/fedora-29.img +/3000-xz-compressed.d/Fedora-Cloud-Base-29-1.2.x86_64.raw.xz +/5100-shell.d/badblocks.sh +/nbdview/error? +/nbdview/log? +/nbdview/sock? \ No newline at end of file diff --git a/2019-kvm-forum/1000-introduction.html b/2019-kvm-forum/1000-introduction.html new file mode 100644 index 0000000..d73c841 --- /dev/null +++ b/2019-kvm-forum/1000-introduction.html @@ -0,0 +1,25 @@ + + + + +
+

+ Making the Most of NBD +

+ +

+ Eric Blake eblake @ redhat.com
+ Richard W.M. Jones (rjones @ redhat.com)
+ 16:45 Thursday October 31st, 2019 +

+ +

+ The Network Block Device (NBD) protocol dates back to Linux 2.1.55 + in April 1997, pre-dating iSCSI as a means for block device access + of remote storage. However, in more recent years, the protocol has + seen a revival as virtualization scenarios have used and extended + its features for a variety of tasks. +
+ XXX maybe more here XXX +

+
diff --git a/2019-kvm-forum/bashrc b/2019-kvm-forum/bashrc new file mode 100644 index 0000000..f526961 --- /dev/null +++ b/2019-kvm-forum/bashrc @@ -0,0 +1,19 @@ +# -*- shell-script -*- + +# Colour ls. +if [ -f /etc/profile.d/colorls.sh ]; then . /etc/profile.d/colorls.sh; fi + +# Fancy prompt colours (see +# https://wiki.archlinux.org/index.php/Color_Bash_Prompt) +promptcol='\e[0;32m' ;# colour for the prompt +commandcol='\e[1;31m' ;# colour for the typed command +outputcol='\e[0m' ;# colour for command output + +export PS1="\n\[$promptcol\]\$ \[$commandcol\]" + +trap 'echo -ne "$outputcol"' DEBUG + +# Load key bindings (if any). +bind -f $talkdir/bindings + +echo $title diff --git a/2019-kvm-forum/code.js b/2019-kvm-forum/code.js new file mode 100644 index 0000000..261fc85 --- /dev/null +++ b/2019-kvm-forum/code.js @@ -0,0 +1,61 @@ +function plugins () +{ + document.write ("\ +
\ +

plugins available in nbdkit 1.10

\ + \ +
\ +"); +} + +function filters (layer) +{ + document.write ("\ +
\ +

filters available in nbdkit 1.10

\ + \ +
\ +"); +} diff --git a/2019-kvm-forum/functions b/2019-kvm-forum/functions new file mode 100644 index 0000000..7baaed0 --- /dev/null +++ b/2019-kvm-forum/functions @@ -0,0 +1,40 @@ +# -*- shell-script -*- +# This creates some standard functions. See also $talkdir/bashrc +# which runs in the same bash context as the terminal. + +# Place any local environment variables and settings in "local". +if [ -f local ]; then source local; fi + +# Environment variables. +export HISTFILE=$talkdir/history +export PATH=$talkdir:$PATH +export EDITOR="emacs -nw" + +# remember +# +# This function does two things: (1) It adds the command and arguments +# to the shell history, so that commands can be recalled using up +# arrow or reverse search. (2) It makes a function key recall the +# command. The first command is assigned to F2, the second to F3 and +# so forth. + +rm -f $HISTFILE +touch $HISTFILE +rm -f $talkdir/bindings +touch bindings + +fnum=2 +keys=(- OP OQ OR OS '[15~' '[17~' '[18~' '[19~' '[20~' '[21~') + +remember () +{ + echo "$@" >> $HISTFILE + echo \"\\e${keys[$fnum]}\":\"\\C-k \\C-u"$@"\" >> $talkdir/bindings + ((fnum++)) +} + +terminal () +{ + chmod -w $HISTFILE + /bin/bash --rcfile $talkdir/bashrc "$@" +} diff --git a/2019-kvm-forum/notes-01-introduction b/2019-kvm-forum/notes/notes-01-introduction similarity index 100% rename from 2019-kvm-forum/notes-01-introduction rename to 2019-kvm-forum/notes/notes-01-introduction diff --git a/2019-kvm-forum/redhat.png b/2019-kvm-forum/redhat.png new file mode 100644 index 0000000..f50076a Binary files /dev/null and b/2019-kvm-forum/redhat.png differ diff --git a/2019-kvm-forum/run b/2019-kvm-forum/run new file mode 100755 index 0000000..6645a8e --- /dev/null +++ b/2019-kvm-forum/run @@ -0,0 +1,20 @@ +#!/bin/bash - +# Run the talk. + +set -e + +# Avoid GNOME keyring stupidity +export GNOME_KEYRING_CONTROL= +export GNOME_KEYRING_PID= + +# No proxy. +#unset http_proxy +#unset https_proxy +#unset ftp_proxy + +# If we need to precreate any files. +# ... + +# Run techtalk. +techtalk-pse +#~/d/techtalk-pse/techtalk-pse diff --git a/2019-kvm-forum/style.css b/2019-kvm-forum/style.css new file mode 100644 index 0000000..35588a8 --- /dev/null +++ b/2019-kvm-forum/style.css @@ -0,0 +1,243 @@ +/* Red Hat red is rgb(204,0,0). */ + +body { + background: url(redhat.png) no-repeat; + background-position: 98% 0; + /* font-size: 28pt; */ /* For max */ + font-size: 20pt; /* For 1024x768 */ + /* font-family: liberation, helvetica; */ + font-family: helvetica; + + /* Can be used to scale the whole document. */ + /*transform: translate(-10%,-10%) scale(0.75,0.75);*/ +} + +body td, body th { /* why?? */ + font-size: 24pt; + padding-bottom: 8px; +} + +h1 { + color: rgb(204,0,0); + /*font-size: 48px;*/ + font-size: 40px; + top: 8; + left: 0; + border-bottom: 2px solid rgb(204,0,0); +} + +h2 { + color: rgb(204,0,0); + font-size: 32px; + font-style: italic; + border-bottom: 2px solid rgb(204,0,0); +} + +b { + color: rgb(204,0,0); +} + +/* Title page. */ +div#titlepage { + margin-top: 100px; + width: 80%; + margin-left: 10%; +} + +div#titlepage p.title { + color: rgb(204,0,0); + font-weight: bold; + font-size: 48px; + text-align: left; +} + +div#titlepage p.author { + font-size: 36px; + text-align: left; +} + +div#titlepage p.abstract { + font-size: 28px; + text-align: left; +} + +/* Code */ +pre.code { + margin-left: 1em; + background: #eee; +} + +code { + color: rgb(204,0,0); +} + +/* Bullet points */ +li { + padding-bottom: 16px; +} + +/* Plugins box. */ +div.plugins { + background: #f8f8ff; + border: 1px solid rgb(204,0,0); + border-radius: 15px; + margin-left: auto; + margin-right: auto; + width: 800px; + height: 400px; + /* Position relative is needed so that items may be + positioned inside. */ + position: relative; +} + +div.plugins p#caption { + position: absolute; + bottom: -5px; right: 5px; + color: rgb(204,0,0); + text-align: right; + font-size: 16px; + font-weight: bold; +} + +div.plugins ul { + position: absolute; + top: 10%; + width: 700px; + height: 380px; + column-count: 4; + list-style-type: none; + margin: 0; +} + +div.plugins ul li { + padding: 0px; + margin: 5px; +} + +div.plugins ul li.highlighted { + border: 1px solid rgb(204,0,0); + background: #fff; + padding-left: 10px; + color: rgb(204,0,0); + border-radius: 20px; + font-weight: bold; +} + +/* Filters box. */ +div.filters { + background: #f8fff8; + border: 1px solid rgb(204,0,0); + border-radius: 15px; + margin-left: auto; + margin-right: auto; + width: 800px; + height: 200px; + /* Position relative is needed so that items may be + positioned inside. */ + position: relative; +} + +div.filters p.filtercaption { + position: absolute; + bottom: -5px; right: 5px; + color: rgb(204,0,0); + text-align: right; + font-size: 16px; + font-weight: bold; +} + +div.filters ul { + position: absolute; + top: 10%; + width: 700px; + height: 180px; + column-count: 4; + list-style-type: none; + margin: 0; +} + +div.filters ul li { + padding: 0px; + margin: 5px; +} + +div.filters ul li.highlighted { + border: 1px solid rgb(204,0,0); + background: #fff; + padding-left: 10px; + color: rgb(204,0,0); + border-radius: 20px; + font-weight: bold; +} + +/* For images which must be centered on the page. */ +div.allcenter { + display: flex; + justify-content: center; + align-items: center; + height: 50vw; +} + +div.all-center img { +} + +/* Outlined text. */ +.outline { + text-shadow: 2px 2px 0 rgb(204,0,0), + -2px 2px 0 rgb(204,0,0), + 2px -2px 0 rgb(204,0,0), + -2px -2px 0 rgb(204,0,0), + 0px 2px 0 rgb(204,0,0), + 0px -2px 0 rgb(204,0,0), + -2px 0px 0 rgb(204,0,0), + 2px 0px 0 rgb(204,0,0), + 4px 4px 0 rgb(204,0,0), + -4px 4px 0 rgb(204,0,0), + 4px -4px 0 rgb(204,0,0), + -4px -4px 0 rgb(204,0,0), + + 0px 4px 0 rgb(204,0,0), + 0px -4px 0 rgb(204,0,0), + -4px 0px 0 rgb(204,0,0), + 4px 0px 0 rgb(204,0,0), + 2px 4px 0 rgb(204,0,0), + -2px 4px 0 rgb(204,0,0), + 2px -4px 0 rgb(204,0,0), + -2px -4px 0 rgb(204,0,0), + 4px 2px 0 rgb(204,0,0), + -4px 2px 0 rgb(204,0,0), + 4px -2px 0 rgb(204,0,0), + -4px -2px 0 rgb(204,0,0), + + 4px 4px 0 rgb(255,128,128), + -4px 4px 0 rgb(255,128,128), + 4px -4px 0 rgb(255,128,128), + -4px -4px 0 rgb(255,128,128), + 0px 4px 0 rgb(255,128,128), + 0px -4px 0 rgb(255,128,128), + -4px 0px 0 rgb(255,128,128), + 4px 0px 0 rgb(255,128,128), + 8px 8px 0 rgb(255,128,128), + -8px 8px 0 rgb(255,128,128), + 8px -8px 0 rgb(255,128,128), + -8px -8px 0 rgb(255,128,128), + + 0px 8px 0 rgb(255,128,128), + 0px -8px 0 rgb(255,128,128), + -8px 0px 0 rgb(255,128,128), + 8px 0px 0 rgb(255,128,128), + 4px 8px 0 rgb(255,128,128), + -4px 8px 0 rgb(255,128,128), + 4px -8px 0 rgb(255,128,128), + -4px -8px 0 rgb(255,128,128), + 8px 4px 0 rgb(255,128,128), + -8px 4px 0 rgb(255,128,128), + 8px -4px 0 rgb(255,128,128), + -8px -4px 0 rgb(255,128,128); +} + +/* Warning symbol. */ +span.warning { + background-color: yellow; + font-weight: bold; +}