Re: [Libguestfs] Plan for libguestfs 1.28

2014-10-10 Thread Richard W.M. Jones
On Fri, Oct 10, 2014 at 11:40:03AM +0800, Zhi Yong Wu wrote: HI, Richard Is there any plan to make daemon to directly run on the hypervisor, not starting a guest? e.g. directly export a guest image to be a block device on the hypervisor? Not in 1.28, but adding lxc:// support to the libvirt

[Libguestfs] KVM Forum

2014-10-10 Thread Richard W.M. Jones
I'm in Dusseldorf for the KVM Forum (actually, a few days before, starting tomorrow). See you there! http://events.linuxfoundation.org/events/kvm-forum Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog:

Re: [Libguestfs] Plan for libguestfs 1.28

2014-10-10 Thread Zhi Yong Wu
On Fri, Oct 10, 2014 at 3:39 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Fri, Oct 10, 2014 at 11:40:03AM +0800, Zhi Yong Wu wrote: HI, Richard Is there any plan to make daemon to directly run on the hypervisor, not starting a guest? e.g. directly export a guest image to be a block

Re: [Libguestfs] Plan for libguestfs 1.28

2014-10-10 Thread Richard W.M. Jones
On Fri, Oct 10, 2014 at 04:03:26PM +0800, Zhi Yong Wu wrote: On Fri, Oct 10, 2014 at 3:39 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Fri, Oct 10, 2014 at 11:40:03AM +0800, Zhi Yong Wu wrote: HI, Richard Is there any plan to make daemon to directly run on the hypervisor, not

Re: [Libguestfs] Plan for libguestfs 1.28

2014-10-10 Thread Richard W.M. Jones
[Please keep replies on the list to help others] On Fri, Oct 10, 2014 at 05:01:22PM +0800, Zhi Yong Wu wrote: On Fri, Oct 10, 2014 at 4:47 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Fri, Oct 10, 2014 at 04:26:20PM +0800, Zhi Yong Wu wrote: You can't make sure that guest never fail or

[Libguestfs] missing btrfs subvol support

2014-10-10 Thread Olaf Hering
Is btrfs subvol support failing just for me? Looks like nothing adds the required '@/' string. virt-ls uses the first variant of the command: rescue mount -vo subvol=var/spool,ro /dev/sda2 /sysroot/ [ 113.852047] BTRFS info (device sda2): disk space caching is enabled [ 113.852869] BTRFS: has

Re: [Libguestfs] missing btrfs subvol support

2014-10-10 Thread Richard W.M. Jones
On Fri, Oct 10, 2014 at 01:47:01PM +0200, Olaf Hering wrote: Is btrfs subvol support failing just for me? Looks like nothing adds the required '@/' string. virt-ls uses the first variant of the command: rescue mount -vo subvol=var/spool,ro /dev/sda2 /sysroot/ [ 113.852047] BTRFS info

Re: [Libguestfs] missing btrfs subvol support

2014-10-10 Thread Olaf Hering
On Fri, Oct 10, Richard W.M. Jones wrote: My guess is that the last one (opt/value) will be different for you. Thanks for the pointers. I will poke around. At least augtool on the host seems to behave correctly: olaf@bax:~ $ cd /dev/shm/$$ bash: cd: /dev/shm/3570: Datei oder Verzeichnis nicht

Re: [Libguestfs] missing btrfs subvol support

2014-10-10 Thread Mike Latimer
On Friday, October 10, 2014 03:07:51 PM Olaf Hering wrote: Thanks for the pointers. I will poke around. At least augtool on the host seems to behave correctly: I don't think this is related to Augeas. Instead, I think it's the naming convention SUSE uses for the root btrfs subvolume (@). I

[Libguestfs] [PATCH 2/3] mllib: improve JSON: more types, indented output style

2014-10-10 Thread Pino Toscano
Improve the homebrew JSON writer: - add more types (including also nested dictionaries and lists) - format in a compact way (single line), or indented (multilines) --- mllib/JSON.ml | 118 - mllib/JSON.mli | 16 ++-- 2 files changed,

[Libguestfs] [PATCH 1/3] Move JSON to mllib

2014-10-10 Thread Pino Toscano
Move the simple OCaml JSON writer to mllib, so that can be enhanced and used also outside v2v. --- mllib/JSON.ml | 53 + mllib/JSON.mli| 26 ++ mllib/Makefile.am | 5 - po/POTFILES-ml| 2 +- v2v/JSON.ml

[Libguestfs] [PATCH 3/3] builder: use the JSON module

2014-10-10 Thread Pino Toscano
Switch to the JSON OCaml module for JSON output. The resulting output is the same, except from an indentation level more within lists. --- builder/Makefile.am | 1 + builder/list_entries.ml | 138 +++--- builder/test-virt-builder-list.sh

Re: [Libguestfs] [PATCH 3/3] builder: use the JSON module

2014-10-10 Thread Richard W.M. Jones
ACK series. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html

Re: [Libguestfs] [PATCH 1/3] Move JSON to mllib

2014-10-10 Thread Richard W.M. Jones
Simple code move, so: ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and