[libvirt-users] about python-libvirt

2018-05-09 Thread lizhuoyao
hi boys: the libvirt code in ftp://libvirt.org does get the function of python-libvirt? Or the python-libvirt is another code ? -- Have a good day ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/l

Re: [libvirt-users] Multi-threaded virsh migrate

2018-05-09 Thread Shawn Q
Originally this was being performed and tested without compression, both live and cold seem to be the same speed, around ~1.2gbps No explicit restrictions on the core switch, same data center, same switch. Running twin 10gb Intel X710's on Dell R630 equipment, SSD's, pretty nice rigs. Whether us

Re: [libvirt-users] VF MAC not reverted to all zero MAC/domain xml MAC on VM restart

2018-05-09 Thread Laine Stump
On 05/08/2018 11:04 PM, Thirunavukarasu Sengalvarayan -X (tsengalv - HCL TECHNOLOGIES LIMITED at Cisco) wrote: > Hi Laine, > > Thanks for your detailed response. > I have replied Inline. Thanks. (Now if you could just get your email client configured to properly quote the original mail when you s

Re: [libvirt-users] Unable to detach disk using 'virsh detach-disk'

2018-05-09 Thread Michal Privoznik
On 04/30/2018 05:48 PM, Andre Goree wrote: > I'm unable to detach a disk from a Windows guest using the 'virsh > detach-disk' command. > > Even though 'domblklist' shows the disk attached, and on the FIRST > iteration, it says the command "completed successfully," 'domblklist > will still show the

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Anastasiya Ruzhanskaya
Great, thanks for pointing this out. I will certainly look at it. 2018-05-09 14:41 GMT+03:00 Daniel P. Berrangé : > On Wed, May 09, 2018 at 10:00:19AM +0100, Daniel P. Berrangé wrote: > > On Wed, May 09, 2018 at 11:50:33AM +0300, Anastasiya Ruzhanskaya wrote: > > > Here https://libvirt.org/acl.ht

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Daniel P . Berrangé
On Wed, May 09, 2018 at 10:00:19AM +0100, Daniel P. Berrangé wrote: > On Wed, May 09, 2018 at 11:50:33AM +0300, Anastasiya Ruzhanskaya wrote: > > Here https://libvirt.org/acl.html is stated that you designed this access > > control system as pluggable. Are there any options ( even with modifying >

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Daniel P . Berrangé
On Wed, May 09, 2018 at 11:50:33AM +0300, Anastasiya Ruzhanskaya wrote: > Here https://libvirt.org/acl.html is stated that you designed this access > control system as pluggable. Are there any options ( even with modifying > libvirt code) to plug in any custom driver? > I just need to take a try an

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Anastasiya Ruzhanskaya
Here https://libvirt.org/acl.html is stated that you designed this access control system as pluggable. Are there any options ( even with modifying libvirt code) to plug in any custom driver? I just need to take a try and design something that will support remote access control. I am not sure if sVi

Re: [libvirt-users] Multi-threaded virsh migrate

2018-05-09 Thread Daniel P . Berrangé
On Mon, May 07, 2018 at 11:55:14AM -0400, Shawn Q wrote: > Hi folk, we are using 10gb NICs with multithreaded compression. > > We're finding that the standard `virsh migrate` gets at most ~1.2gbps, > similar to a single scp session. Hmm, I didn't actively measure the throughput when I tested, but

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Daniel P . Berrangé
On Wed, May 09, 2018 at 11:21:22AM +0300, Anastasiya Ruzhanskaya wrote: > Ok, excuse me for misunderstanding, how it is possible then to set up > access control when I use remote connection to KVM ( not in UNIX domain)? > Is there any way within libvirt, maybe based on authentication or > certifica

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Anastasiya Ruzhanskaya
Ok, excuse me for misunderstanding, how it is possible then to set up access control when I use remote connection to KVM ( not in UNIX domain)? Is there any way within libvirt, maybe based on authentication or certificates? 2018-05-09 11:14 GMT+03:00 Daniel P. Berrangé : > On Wed, May 09, 2018 at

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Daniel P . Berrangé
On Wed, May 09, 2018 at 11:13:01AM +0300, Anastasiya Ruzhanskaya wrote: > I read this page https://libvirt.org/aclpolkit.html > And it is written :"At this point in time, the only attribute provided by > libvirt to identify the user invoking the operation is the PID of the > client program. This me

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Anastasiya Ruzhanskaya
I read this page https://libvirt.org/aclpolkit.html And it is written :"At this point in time, the only attribute provided by libvirt to identify the user invoking the operation is the PID of the client program. This means that the polkit access control driver is only useful if connections to libvi

Re: [libvirt-users] Libvirt access control drivers

2018-05-09 Thread Daniel P . Berrangé
On Wed, May 09, 2018 at 09:46:28AM +0300, Anastasiya Ruzhanskaya wrote: > Hello! > According to the documentation access control drivers are not in really > "good condition". There is a polkit, but it can distinguish users only > according the pid. However, I have met some articles about more > fin