On Wed, Oct 26, 2016 at 10:44:02AM +0100, Richard W.M. Jones wrote: > As well as testing patch 2 on its own, I also tested all 4 patches > together on top of current qemu from git. > > In summary, it seems to work fine and doesn't break http or https as > far as I can tell. > > Rich. > > $ http_proxy= LIBGUESTFS_BACKEND=direct > LIBGUESTFS_HV=~/d/qemu/x86_64-softmmu/qemu-system-x86_64 guestfish -a > http://onuma.home.annexia.org/media/installers/Fedora-23-Cloud-x86_64/Fedora-Cloud-Base-23-20151030.x86_64.qcow2 > --ro -i > > Welcome to guestfish, the guest filesystem shell for > editing virtual machine filesystems and disk images. > > Type: 'help' for help on commands > 'man' to read the manual > 'quit' to quit the shell > > Operating system: Fedora 23 (Cloud Edition) > /dev/sda1 mounted on / > > ><fs> ll / > total 84 > dr-xr-xr-x. 18 root root 4096 Oct 30 2015 . > drwxr-xr-x 19 root root 4096 Oct 26 09:42 .. > lrwxrwxrwx. 1 root root 7 Sep 10 2015 bin -> usr/bin > dr-xr-xr-x. 5 root root 4096 Oct 30 2015 boot > drwxr-xr-x. 2 root root 4096 Oct 30 2015 dev > drwxr-xr-x. 68 root root 4096 Oct 30 2015 etc > drwxr-xr-x. 2 root root 4096 Oct 30 2015 home > lrwxrwxrwx. 1 root root 7 Sep 10 2015 lib -> usr/lib > lrwxrwxrwx. 1 root root 9 Sep 10 2015 lib64 -> usr/lib64 > drwx------. 2 root root 16384 Oct 30 2015 lost+found > drwxr-xr-x. 2 root root 4096 Sep 10 2015 media > drwxr-xr-x. 2 root root 4096 Sep 10 2015 mnt > drwxr-xr-x. 2 root root 4096 Sep 10 2015 opt > drwxr-xr-x. 2 root root 4096 Oct 30 2015 proc > dr-xr-x---. 2 root root 4096 Oct 30 2015 root > drwxr-xr-x. 2 root root 4096 Oct 30 2015 run > lrwxrwxrwx. 1 root root 8 Sep 10 2015 sbin -> usr/sbin > drwxr-xr-x. 2 root root 4096 Sep 10 2015 srv > drwxr-xr-x. 2 root root 4096 Oct 30 2015 sys > drwxrwxrwt. 7 root root 4096 Oct 30 2015 tmp > drwxr-xr-x. 12 root root 4096 Oct 30 2015 usr > drwxr-xr-x. 18 root root 4096 Oct 30 2015 var > > ><fs> find / | wc -l > 26532 > ><fs> exit > > $ http_proxy= https_proxy= LIBGUESTFS_BACKEND=direct > LIBGUESTFS_HV=~/d/qemu/x86_64-softmmu/qemu-system-x86_64 guestfish -a > https://download.fedoraproject.org/pub/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-24-1.2.x86_64.qcow2 > --ro -i > > Welcome to guestfish, the guest filesystem shell for > editing virtual machine filesystems and disk images. > > Type: 'help' for help on commands > 'man' to read the manual > 'quit' to quit the shell > > Operating system: Fedora 24 (Cloud Edition) > /dev/sda1 mounted on / > > ><fs> ll / > total 84 > dr-xr-xr-x. 18 root root 4096 Jun 14 16:24 . > drwxr-xr-x 19 root root 4096 Oct 26 09:42 .. > lrwxrwxrwx. 1 root root 7 Feb 3 2016 bin -> usr/bin > dr-xr-xr-x. 4 root root 4096 Jun 14 16:24 boot > drwxr-xr-x. 2 root root 4096 Jun 14 16:20 dev > drwxr-xr-x. 67 root root 4096 Jun 14 16:25 etc > drwxr-xr-x. 2 root root 4096 Jun 14 16:24 home > lrwxrwxrwx. 1 root root 7 Feb 3 2016 lib -> usr/lib > lrwxrwxrwx. 1 root root 9 Feb 3 2016 lib64 -> usr/lib64 > drwx------. 2 root root 16384 Jun 14 16:20 lost+found > drwxr-xr-x. 2 root root 4096 Feb 3 2016 media > drwxr-xr-x. 2 root root 4096 Feb 3 2016 mnt > drwxr-xr-x. 2 root root 4096 Feb 3 2016 opt > drwxr-xr-x. 2 root root 4096 Jun 14 16:20 proc > dr-xr-x---. 2 root root 4096 Jun 14 16:26 root > drwxr-xr-x. 2 root root 4096 Jun 14 16:20 run > lrwxrwxrwx. 1 root root 8 Feb 3 2016 sbin -> usr/sbin > drwxr-xr-x. 2 root root 4096 Feb 3 2016 srv > drwxr-xr-x. 2 root root 4096 Jun 14 16:20 sys > drwxrwxrwt. 7 root root 4096 Jun 14 16:26 tmp > drwxr-xr-x. 12 root root 4096 Jun 14 16:20 usr > drwxr-xr-x. 19 root root 4096 Jun 14 16:20 var > > ><fs> find / | wc -l > 25817 > ><fs> > > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > libguestfs lets you edit virtual machines. Supports shell scripting, > bindings from many languages. http://libguestfs.org >
Thanks, Applied to my block branch: git://github.com/codyprime/qemu-kvm-jtc.git block -Jeff