[libvirt-users] Issues with installing Libvirt 1.2.7 on Ubuntu 12.04

2015-12-07 Thread Waqas Riaz
Hi, I am trying to manually install libvirt 1.2.7 on Ubuntu 12.04 LTS (64bit). I have installed libxml2-dev libgnutls-dev libcurl4-gnutls-dev python-dev, but I am facing dependency issues for libdevmapper libraries. ​ ​Is there any workaround for this dependency​? OR is there any other way to ins

[libvirt-users] Efficient live disk backup with active blockcommit : Failed 'block-commit': Could not reopen file: Permission denied

2015-12-07 Thread Keyur Bhalerao
Hi , Working on the simple POC : Advanced snapshot using libvirt and qemu . Following are the exact steps which are followed . 1. Created as base VM - Ubuntu 15.10 with following libvirt and qemu versions Using library: libvirt 1.2.16 Using API: QEMU 1.2.16 Running hypervisor: QEMU 2.3.0

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Jan Grashöfer
> None of that really answers your question, but hopefully it at least > gives you a better idea of what you've got to work with :-) You are right ;) I guess making my initialization hook fault-tolerant towards missing cleanup plus the systemd script should fit for me. Regards, Jan _

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Laine Stump
On 12/07/2015 01:20 PM, Jan Grashöfer wrote: autostarting (and autostopping) based on what event? Based on start/shutdown of the host or starting/stopping libvirtd. I just wrote a script to start with systemd but as there is that autostart functionality in libvirtd this might not be the best sol

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Jan Grashöfer
> autostarting (and autostopping) based on what event? Based on start/shutdown of the host or starting/stopping libvirtd. I just wrote a script to start with systemd but as there is that autostart functionality in libvirtd this might not be the best solution. Regards, Jan ___

Re: [libvirt-users] Destroy autostarted network on shutdown

2015-12-07 Thread Laine Stump
On 12/06/2015 12:19 PM, Jan Grashöfer wrote: Hi all, I just ran into problem properly stopping a network. I have defined a network and network hook script to accomplish some preparations and cleanup. Testing my configuration (virsh net-start and virsh net-destroy) was successfully. Now I wanted

[libvirt-users] virsh attach-device scripting ...

2015-12-07 Thread Jean-Pierre Ribeauville
Hi, Did anybody ever try to script « virsh attach-device .. < response.txt" in order to give virsh user and password needed when host is part of a ovirt cluster ? Cos , although I put in my response.txt two lines one for user the other for password , then it always asks question concernin

Re: [libvirt-users] libvirt logging of virDomainAttachDeviceFlags()

2015-12-07 Thread Jean-Pierre Ribeauville
Hi, Michel, you're right ; I got this error : virDomainAttachDeviceFlags( ) error operation forbidden: read only access prevents virDomainAttachDeviceFlags Either via "virsh attach-device" or via "virDomainAttachDeviceFlags()" , I encounter an error due to the fact that an authorized user is

Re: [libvirt-users] libvirt logging of virDomainAttachDeviceFlags()

2015-12-07 Thread Michal Privoznik
On 07.12.2015 13:14, Jean-Pierre Ribeauville wrote: > Hi, > > When using « virsh attach-device ." to add a channel device to a Guest > , I see following entry in libvirt log : > > 2015-12-07 11:14:47.307+: 14551: debug : virDomainAttachDeviceFlags:10433 > : dom=0x7f2a58252fc0, ..

[libvirt-users] libvirt logging of virDomainAttachDeviceFlags()

2015-12-07 Thread Jean-Pierre Ribeauville
Hi, When using « virsh attach-device ." to add a channel device to a Guest , I see following entry in libvirt log : 2015-12-07 11:14:47.307+: 14551: debug : virDomainAttachDeviceFlags:10433 : dom=0x7f2a58252fc0, Great !! But , when calling virDomainAttachDeviceFlags( ) fr