Re: [libvirt-users] Fake Network Interface

2014-01-13 Thread Andrew Martin
I found the answer to this question: 1. create an XML file with a fake configuration (including a subnet not in use elsewhere): fake 2. define the network: virsh net-define /path/to/fake.xml 3. autostart the network: virsh net-autostart fake 4. start the network now: virsh net-start fak

Re: [libvirt-users] libvirt on armhf with selinux driver

2014-01-13 Thread Ivan Gooten
On 01/13/2014 04:50 PM, Michal Privoznik wrote: > On 13.01.2014 16:10, Ivan Gooten wrote: >> hi, >> >> recently i've been busy with libvirt(d) v1.2.0 on armhf and i see, even >> if selinux sec driver is enabled on the configure stage, the driver is >> not finally created. these configure parameters

Re: [libvirt-users] libvirt on armhf with selinux driver

2014-01-13 Thread Michal Privoznik
On 13.01.2014 16:10, Ivan Gooten wrote: > hi, > > recently i've been busy with libvirt(d) v1.2.0 on armhf and i see, even > if selinux sec driver is enabled on the configure stage, the driver is > not finally created. these configure parameters are: > > --with-selinux > --with-secdriver-selinux >

Re: [libvirt-users] libvirt on armhf with selinux driver

2014-01-13 Thread Daniel P. Berrange
On Mon, Jan 13, 2014 at 04:10:35PM +0100, Ivan Gooten wrote: > hi, > > recently i've been busy with libvirt(d) v1.2.0 on armhf and i see, even > if selinux sec driver is enabled on the configure stage, the driver is > not finally created. these configure parameters are: > > --with-selinux > --wit

[libvirt-users] libvirt on armhf with selinux driver

2014-01-13 Thread Ivan Gooten
hi, recently i've been busy with libvirt(d) v1.2.0 on armhf and i see, even if selinux sec driver is enabled on the configure stage, the driver is not finally created. these configure parameters are: --with-selinux --with-secdriver-selinux --with-selinux-mount=/sys/fs/selinux the /sys/fs/selinux

[libvirt-users] Qemu image creation, libvirt wrapper supported?

2014-01-13 Thread Jay Vyas
Hi libvirt: Id like some feedback : I've written up how I create and add new disks to my running VMs (for development and testing so not worried about high performance io or anything like that..): http://jayunit100.blogspot.com/2014/01/adding-new-virtual-disks-to-running.html I don't like this

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-13 Thread Laine Stump
On 01/10/2014 06:02 PM, ZeroUno wrote: > Il 09/01/14 13:40, Laine Stump ha scritto: > >> you asked for "best", not "ideal" :-) Aside from eliminating all use of > > ;) > >> solve by itself. But that same paragraph also tells you how to have the >> iptables service signal libvirt to reload its iptab

[libvirt-users] how to detect if qemu supports live disk snapshot

2014-01-13 Thread Francesco Romani
Hi everyone, Using the QEMU hypervisor, when a live disk snapshot is requested through libvirt, the request can fail if the underyling qemu binary lacks the snapshotting support. In python, we have something like libvirtError: Operation not supported: live disk snapshot not supported with this

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-13 Thread Gao Yongwei
> Thanks, I already tried inserting a delay with "sleep" but it didn't > change anything, as the hook script is not processed in parallel with other > operations: libvirt waits until the hook script has been completed, before > proceeding with the creation of its own iptables rules. plz take a clo

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-13 Thread ZeroUno
Il 13/01/14 04:06, Gao Yongwei ha scritto: how about this daemon hook script? #!/bin/bash # insert_rule() { sleep 2 iptables -t nat -D CUSTOM_RULE iptables -t nat -I CUSTOM_RULE } [...] Thanks, I already tried inserting a delay with "sleep" but it didn't change anything, as th