Re: [libvirt-users] unable to add pci network to existing vm

2018-12-10 Thread Laine Stump
On 12/10/18 1:24 PM, daggs wrote: > Greetings, > > I'm trying to add a virtual nic to an existing and active vm and I'm getting > this error: > error: internal error: No more available PCI slots > > the cmd I'm trying to run is: virsh -c qemu:///system attach-interface > --domain router --type

[libvirt-users] unable to add pci network to existing vm

2018-12-10 Thread daggs
Greetings, I'm trying to add a virtual nic to an existing and active vm and I'm getting this error: error: internal error: No more available PCI slots the cmd I'm trying to run is: virsh -c qemu:///system attach-interface --domain router --type bridge --source virbr0 --model virtio --config

Re: [libvirt-users] Power on and power off code using LIBVIRT

2018-12-10 Thread Daniel P . Berrangé
Re-adding libvirt-users - please don't remove mailing list addresses when replying. On Mon, Dec 10, 2018 at 09:42:29PM +0530, Chaithra Sn wrote: > Thanks Daniel for the reply. > > I want code in python langange. The 'create' method on the Domain object will start an existing defined guest. The

Re: [libvirt-users] Power on and power off code using LIBVIRT

2018-12-10 Thread Daniel P . Berrangé
On Mon, Dec 10, 2018 at 02:55:12PM +0530, Chaithra Sn wrote: > Dear Team, > > Please provide the code for power on and power off the VM using Libvirt. Thre's many ways to access / interact with libvirt, so you'll need to specify what language or tool you're trying to use libvirt with. Regards,

Re: [libvirt-users] Add trusted CA to libvirt

2018-12-10 Thread Daniel P . Berrangé
On Sat, Dec 08, 2018 at 03:02:22PM +0300, Мозолина, Надежда Викторовна wrote: > Hello! I am trying to make libvirt trust one more CA. I suppose that when > libvirt establish connection, it doesn't take into account any system > trusted CAs. And in /etc/pki/CA according to the tutorial I have only

[libvirt-users] Power on and power off code using LIBVIRT

2018-12-10 Thread Chaithra Sn
Dear Team, Please provide the code for power on and power off the VM using Libvirt. Last week also I sent some query, but I dint get any response. Please help me in finding the same. Thanks & regards, Chaithra ___ libvirt-users mailing list

[libvirt-users] Add trusted CA to libvirt

2018-12-10 Thread Мозолина , Надежда Викторовна
Hello! I am trying to make libvirt trust one more CA. I suppose that when libvirt establish connection, it doesn't take into account any system trusted CAs. And in /etc/pki/CA according to the tutorial I have only one CA installed. How can I add one more trusted CA for libvirt? Best regards,

Re: [libvirt-users] import qcow with snapshots

2018-12-10 Thread Peter Krempa
On Sat, Dec 08, 2018 at 08:59:31 +0100, Chris wrote: > All, > > is it possible to create a new KVM machine from an existing qcow (v3) > image with snapshots? snapshot-list doesn't show them, when using > virt-manager 1:1.5.1-0ubuntu1.1 to create the machine. > > * t-ad5.img: QEMU QCOW Image

Re: [libvirt-users] concurrent migration of several domains rarely fails

2018-12-10 Thread Lentes, Bernd
Jim wrote: >> >> What is meant by the "admin interface" ? virsh ? > > virsh-admin, which you can use to change some admin settings of libvirtd, e.g. > log_level. You are interested in the keepalive settings above those ones in > libvirtd.conf, specifically > > #keepalive_interval = 5 >

Re: [libvirt-users] certificate pinning

2018-12-10 Thread Anastasiya Ruzhanskaya
Ok, thank you. I will play around with it. I also noticed, that libvirt does not use this SNI extension. Actually,this not needed here, as we have only one location for server certificate, but this requires some modifications in mitmproxy, as for example tls in web browsers always include this

Re: [libvirt-users] certificate pinning

2018-12-10 Thread Daniel P . Berrangé
On Mon, Dec 10, 2018 at 01:22:32PM +0300, Anastasiya Ruzhanskaya wrote: > And how libvirt checks that it trusts the CA? Just simply inspects the > cacert.pem file? Or it has some information inside about by which CA were > signed client and server certificates and then compares against stored >

Re: [libvirt-users] certificate pinning

2018-12-10 Thread Anastasiya Ruzhanskaya
And how libvirt checks that it trusts the CA? Just simply inspects the cacert.pem file? Or it has some information inside about by which CA were signed client and server certificates and then compares against stored values? I mean can I just concatenate after signing or I need to combine two CAs

Re: [libvirt-users] certificate pinning

2018-12-10 Thread Daniel P . Berrangé
Re-adding the libvirt-users list - please don't take discussions off-list. On Mon, Dec 10, 2018 at 01:10:18PM +0300, Anastasiya Ruzhanskaya wrote: > I already found out how to set up all the certificates and tls works fine > for me. > What if I want to put a proxy between client and server in

Re: [libvirt-users] certificate pinning

2018-12-10 Thread Daniel P . Berrangé
On Sat, Dec 08, 2018 at 11:19:40AM +0300, Anastasiya Ruzhanskaya wrote: > Hello! > Does libvirt uses certificate pinning in tls? I want to setup a transparent > proxy (mitmproxy) and can't do this even after I added mitmproxy ca > certificate to the trusted certificates in ubuntu. Libvirt doesn't