Re: [libvirt-users] creating a lxc image to be used with libvirt-lxc

2017-04-04 Thread Spike
ok, thank you Daniel, that helps, I'll see if I can adapt it to other OS and figure out the docker style stuff, it would be useful to run a few things I have in mind. Btw, Daniel, have you ever tried to run libvirt inside a container? I was trying to do so to test things since I didn't want to get

[libvirt-users] Live migration with non-shared ZFS volume

2017-04-04 Thread Daniel Kučera
Hi all, I'm using ZFS on Linux block volumes as my VM storage and want to do live migrations between hypervisors. If I create ZFS snapshot of used volume on source host, send it do destination host (zfs send/recv) and then run live migration with VIR_MIGRATE_NON_SHARED_DISK flag, the migration wo

Re: [libvirt-users] creating a lxc image to be used with libvirt-lxc

2017-04-04 Thread Daniel P. Berrange
On Mon, Apr 03, 2017 at 05:52:33PM +, Spike wrote: > Dear all, > > I'm moving my first baby steps with libvirt-lxc trying to convert over from > an LXD installation and one of the hurdles is putting together an image. > > All the examples I found about libvirt-lxc refer to running /bin/sh in