Re: [libvirt-users] [libvirt] FYI: intention to remove mail subject prefix & footer text

2020-01-15 Thread Daniel P . Berrangé
FYI, I'm intending to make this change tomorrow (Thursday Jan 16th) On Fri, Jan 10, 2020 at 12:26:07PM +, Daniel P. Berrangé wrote: > Hi List Subscribers, > > In recent months we have been seeing an increasing number of bounced > deliveries from libvirt mailing lists[1] due to DMARC policies

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-12-22 Thread Cole Robinson
FYI there's some more recent discussion over here: https://www.redhat.com/archives/libvir-list/2019-December/msg00817.html There isn't any objections to using for vhost-user-blk, so maybe that's a good place to start. Thanks, Cole On 10/15/19 7:34 AM, Li Feng wrote: > Cole Robinson 于2019年10月1

Re: [libvirt-users] [libvirt] Some questions about live migration

2019-10-18 Thread Jiri Denemark
On Fri, Oct 18, 2019 at 15:00:19 +0800, Luyao Zhong wrote: > Hi libvirt experts, > > I have some questions about live migration. I'm assuming you are not asking about post-copy migration, since it is a bit more complicated as the current state if split between the source and destination hosts and

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-10-16 Thread Li Feng
Cole Robinson 于2019年10月15日周二 上午1:48写道: > > On 10/14/19 3:12 AM, Li Feng wrote: > > Hi Cole & Michal, > > > > I'm sorry for my late response, I just end my journey today. > > Thank your response, your suggestion is very helpful to me. > > > > I have added Michal in this mail, Michal helps me review

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-10-16 Thread Li Feng
Hi Cole & Michal, I'm sorry for my late response, I just end my journey today. Thank your response, your suggestion is very helpful to me. I have added Michal in this mail, Michal helps me review my initial patchset. (https://www.spinics.net/linux/fedora/libvir/msg191339.html) All concern about

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-10-14 Thread Cole Robinson
On 10/14/19 3:12 AM, Li Feng wrote: > Hi Cole & Michal, > > I'm sorry for my late response, I just end my journey today. > Thank your response, your suggestion is very helpful to me. > > I have added Michal in this mail, Michal helps me review my initial patchset. > (https://www.spinics.net/linux

Re: [libvirt-users] Libvirt-QEMU : Multiplex the output from qemu's serial port to a pty as well as a file (basically redirect console to file as well as pty device)

2019-10-11 Thread gokul cg
Hi All, I could following documentation , https://wiki.libvirt.org/page/LibvirtConsoleManagement I hope this doc is upto date , as of now there is no way other than conserver. Please let me know if there is any alternative. LibvirtConsoleManagement (doc snippet pasted from above link)

Re: [libvirt-users] [libvirt] Add support for vhost-user-scsi-pci/vhost-user-blk-pci

2019-10-09 Thread Cole Robinson
Sorry for the late reply, and thanks Jano for pointing out elsewhere that this didn't receive a response. On 8/12/19 5:56 AM, Li Feng wrote: Hi Guys, And I want to add the vhost-user-scsi-pci/vhost-user-blk-pci support for libvirt. The usage in qemu like this: Vhost-SCSI -chardev socket,id=c

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-15 Thread Peter Krempa
[Please don't top-post on technical lists.] On Wed, Aug 14, 2019 at 19:43:11 +0530, Varsha Verma wrote: > Thanks, this is exactly what I needed. > > Is there some documentation where I can get how to exactly call this > function along with the arguments? python has builtin documentation: impor

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Christian Kujau
On Wed, 14 Aug 2019, Varsha Verma wrote: > Is there some documentation where I can get how to exactly call this > function along with the arguments? Documentation to various language bindings can be found here: https://libvirt.org/bindings.html HTH, C. -- BOFH excuse #417: Computer room being

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Varsha Verma
Thanks, this is exactly what I needed. Is there some documentation where I can get how to exactly call this function along with the arguments? On Wed, Aug 14, 2019 at 6:48 PM Peter Krempa wrote: > On Wed, Aug 14, 2019 at 18:23:30 +0530, Varsha Verma wrote: > > Hi, > > > > I wanted to know if

Re: [libvirt-users] Libvirt API for attaching volume to domain

2019-08-14 Thread Peter Krempa
On Wed, Aug 14, 2019 at 18:23:30 +0530, Varsha Verma wrote: > Hi, > > I wanted to know if there is any Python API exposed for libvirt using which > I can attach a libvirt volume to a libvirt domain/VM. > > I intend to do something similar to the `attach-disk` command of virsh > using python. vir

Re: [libvirt-users] libvirt/dnsmasq is not adhering to static DHCP assignments

2019-08-08 Thread Christian Kujau
On Fri, 2 Aug 2019, Michal Privoznik wrote: > On 8/1/19 4:21 AM, Christian Kujau wrote: > > > > > > This is clearly a misconfiguration. 192.168.56.139 is not from > 192.168.122.130/24 subnet. Libvirt should report an error in this case but it Yes, thanks for pointing this out. A l

Re: [libvirt-users] libvirt/dnsmasq is not adhering to static DHCP assignments

2019-08-02 Thread Michal Privoznik
On 8/1/19 4:21 AM, Christian Kujau wrote: This is basically a continuation of an older posting[0] I found, but apparently no solution has been posted. So, I'm trying to setup static DHCP leases with dnsmasq that is being started by libvirtd: -

Re: [libvirt-users] Libvirt Virtualization Problem

2019-07-30 Thread Daniel P . Berrangé
On Tue, Jul 30, 2019 at 08:06:01PM +0800, 王金磊 wrote: > Dear Sir/Madam: > I use virt-manager to create a new virtual machine(it's name is generic), > then I edit generic to set it's cpu_mode as 'host-model', and I start it, > but when dumpxml generic, it's cpu_mode is changed as 'custom'. > I wa

Re: [libvirt-users] libvirt-python Create External Snapshot

2019-07-04 Thread Peter Krempa
On Wed, Jul 03, 2019 at 15:10:42 -0400, Roger Jin wrote: > Hi Libvirt, > Does libvirt-python currently support the creation of external snapshots? > I ran > > domain.snapshotCreateXML(xml) > > where xml is > > > snap1 > Snapshot of OS install and updates > > > > >

Re: [libvirt-users] Libvirt API for getting disk capacity from VM XML

2019-06-14 Thread Martin Kletzander
On Thu, Jun 13, 2019 at 03:17:16PM +0530, Varsha Verma wrote: Hello everyone, I am doing an outreachy internship at Openstack Ironic. In the sushy-tools project, we are using libvirt VMs to simulate bare metal machines for testing purposes. In the XML description of a domain, there are a bunch o

Re: [libvirt-users] [Libvirt failed to claim Virtual Functions on hostdev network after VM reboot]

2019-05-28 Thread Yalan Zhang
Hi Fuzail, Even there are 8 VFs in total, you only specified 2 in the hostnet network. And connections='2' means the hostnet networks is connected 2 times, so both of the 2 VFs in hostnet are occupied. Please try to define network like this: hostnet It will include all the 8 VFs from PF

Re: [libvirt-users] [Libvirt failed to claim Virtual Functions on hostdev network after VM reboot]

2019-05-24 Thread Erik Skultety
On Thu, May 23, 2019 at 10:37:56PM +0530, Fuzail Ahmad wrote: > Problem Statement: > > Libvirt failed to claim Virtual Functions on hostdev network after VM > reboot. > > Version-Release number of selected component (if applicable): > > libvirtd (libvirt) 2.0.0 I'd just like to point out that 2.0

Re: [libvirt-users] [libvirt] surprising setting in domain.xml

2019-05-17 Thread Thomas Stein
(switched to libvirt-users as it seems to be more appropriate) On 2019-05-16 23:02, Eric Blake wrote: On 5/16/19 10:20 AM, Thomas Stein wrote: Hello all. My currently used versions: libvirt-5.2.0 and qemu-4.0.0. Here is my problem. I'm struggeling since a few weeks with a strange behaviour by

Re: [libvirt-users] Libvirt pool cannot see or create rbd clones

2019-04-29 Thread Michal Privoznik
On 4/26/19 11:53 AM, Weller, Lennart wrote: > Hello everyone, > > To increase my odds of finding an answer I also wanted to ask here. > This is my post from serverfault[1] in verbatim: > > While trying to get a cloned disk running from my OS snapshot I run > into the problem that Libvirt cannot s

Re: [libvirt-users] Libvirt pool cannot see or create rbd clones

2019-04-26 Thread Weller, Lennart
Some additional information that I have found since yesterday: When I create a volume like this: coreos00.disk 9116319744 644 vmdisks/coreos_2023 Which does not seem to work with the backing store either as it creates an e

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-23 Thread Sachin Soman
[Update] Further debugging I have found that the problematic objects are the " virConnectCredential" instances; these are created as part of the callback procedure. If I keep these instances from getting GC'ed, there are no issues. Also, as part of testing with esx driver, I see two instances of "

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-23 Thread Daniel P . Berrangé
On Tue, Apr 23, 2019 at 05:02:12PM +0530, Sachin Soman wrote: > [Update] > > Instead of passing an auth callback to Connect, if I store the credentials > in an INI file and pass the file path as authfile URI parameter, I dont see > these errors. That makes it sound like some kind of memory handli

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-23 Thread Sachin Soman
[Update] Instead of passing an auth callback to Connect, if I store the credentials in an INI file and pass the file path as authfile URI parameter, I dont see these errors. Thanks & Regards Sachin Soman On Sat, Apr 20, 2019 at 2:00 PM Sachin Soman wrote: > Did you get a chance to debug the

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-20 Thread Sachin Soman
Did you get a chance to debug the issue? Thanks & Regards, Sachin Soman On Thu, Apr 18, 2019, 11:10 PM Sachin Soman wrote: > I have tried the same tests using the "test" driver, and that works > perfectly; no errors seen. > > Thanks & Regards > Sachin Soman > > > > > On Thu, Apr 18, 2019 at 11

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-18 Thread Sachin Soman
I have tried the same tests using the "test" driver, and that works perfectly; no errors seen. Thanks & Regards Sachin Soman On Thu, Apr 18, 2019 at 11:03 PM Daniel P. Berrangé wrote: > On Thu, Apr 18, 2019 at 10:46:19PM +0530, Sachin Soman wrote: > > I am attaching the execution results. At

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-18 Thread Sachin Soman
The same program when I execute locally (MAC 10.13.6; OpenJDK 8; Libvirt 5.2.0), mostly I end up with: Starting new connection with default auth Enter username for x.x.x.x [root] abc Enter abc's password for x.x.x.x WARNING: THE ENTERED PASSWORD WILL NOT BE MASKED! xyz Explicit co

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-18 Thread Daniel P . Berrangé
On Thu, Apr 18, 2019 at 10:46:19PM +0530, Sachin Soman wrote: > I am attaching the execution results. At the top of each file I have > mentioned the environment details. > > Following is the test program I have used: > > == > > *package* org.libvir

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-18 Thread Sachin Soman
Note: A couple of times I have seen errors while closing the connection (the trace ending with virFree). Also, a few times I have seen backtraces which show the flow going via esx driver and finally failing to close connection. Unfortunately I dont have those logs anymore. The execution results I

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-18 Thread Sachin Soman
I am attaching the execution results. At the top of each file I have mentioned the environment details. Following is the test program I have used: == *package* org.libvirt; *import* org.libvirt.jna.Libvirt; *public* *class* LibvirtCrashTest {

Re: [libvirt-users] [libvirt] JVM crashes during GC

2019-04-18 Thread Daniel P . Berrangé
On Thu, Apr 18, 2019 at 05:51:06PM +0200, Michal Prívozník wrote: > On 4/17/19 10:24 AM, Sachin Soman wrote: > > Hi, > > > > Could you tell me if the following is some known issue? > > > > While performing the following simple test, I see my JVM crashing > > (consistently): > > 1. Open a connecti

Re: [libvirt-users] [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number

2019-04-18 Thread Daniel P . Berrangé
On Thu, Apr 18, 2019 at 05:39:59PM +0200, Andrea Bolognani wrote: > On Thu, 2019-04-18 at 15:29 +0100, Daniel P. Berrangé wrote: > > On Thu, Apr 18, 2019 at 04:23:05PM +0200, Andrea Bolognani wrote: > > > qemuDomainAssignAddresses() is supposed to make sure that any address > > > configured explici

Re: [libvirt-users] [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number

2019-04-18 Thread Andrea Bolognani
On Thu, 2019-04-18 at 15:29 +0100, Daniel P. Berrangé wrote: > On Thu, Apr 18, 2019 at 04:23:05PM +0200, Andrea Bolognani wrote: > > qemuDomainAssignAddresses() is supposed to make sure that any address > > configured explicitly by the user (or previously by libvirt) is > > preserved, and it's doin

Re: [libvirt-users] [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number

2019-04-18 Thread Daniel P . Berrangé
On Thu, Apr 18, 2019 at 04:23:05PM +0200, Andrea Bolognani wrote: > Moving to libvirt-users where it belongs. > > On Thu, 2019-04-18 at 06:47 +, Tal Attaly wrote: > > Hi, > > I have bridge type interface defined with slot 3 - > > > > but after running virsh domxml-to-native qemu-argv I get sl

Re: [libvirt-users] [libvirt] Why virsh domxml-to-native qemu-argv changes PCI slot number

2019-04-18 Thread Andrea Bolognani
Moving to libvirt-users where it belongs. On Thu, 2019-04-18 at 06:47 +, Tal Attaly wrote: > Hi, > I have bridge type interface defined with slot 3 - > > but after running virsh domxml-to-native qemu-argv I get slot 2- > -netdev tap,fd=21,id=hostnet0 -device > e1000,netdev=hostnet0,id=net0,m

Re: [libvirt-users] libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown

2019-02-25 Thread Laine Stump
On 2/25/19 11:12 AM, mxs kolo wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1681180 Since you are able to post to a mailing list, and are also know what is the problem and how to patch it, how about sending a patch (based on git master of libvirt source, and using git send-email) to lib

Re: [libvirt-users] libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown

2019-02-25 Thread mxs kolo
https://bugzilla.redhat.com/show_bug.cgi?id=1681180 b.r. Maxim Kozin ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown

2019-01-22 Thread mxs kolo
> Centos 7.6 with libvirt build from base "virt" repository: > libvirt-daemon-driver-lxc-5.0.0-1.el7.x86_64 > libvirt-client-5.0.0-1.el7.x86_64 > libvirt-daemon-5.0.0-1.el7.x86_64 > libvirt-daemon-driver-network-5.0.0-1.el7.x86_64 > libvirt-libs-5.0.0-1.el7.x86_64 > + > systemd-219-62.el7_6.2.x86_6

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
Thanks Martin, so is it like for configuration we must be using xml. Also, could you please point me to any sample code to power on and off a vm. Thanks for help!! Regards Rohit Singh On Wed, 12 Dec 2018 at 3:30 PM, Martin Kletzander wrote: > On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SIN

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread Martin Kletzander
On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SINGH wrote: Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Libvirt uses XML for most of the APIs. Depends what you need to do you can

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Thanks for help!! Regards Rohit Singh On Thu, 6 Dec 2018 at 11:24 PM, ROHIT SINGH wrote: > Thanks Martin for help. I will give it a shot

Re: [libvirt-users] libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?

2018-12-08 Thread Laine Stump
On 12/5/18 6:54 AM, Daniel P. Berrangé wrote: > On Wed, Dec 05, 2018 at 02:43:45PM +0300, mxs kolo wrote: >> Hi all >> >> After upgrade from Centos 7.5 to Centos 7.6, our test environment >> geted new version of libvirt 4.5.0 >> In which our old containers have broken config and can't start: >> 2

Re: [libvirt-users] Libvirt api for esx

2018-12-06 Thread ROHIT SINGH
Thanks Martin for help. I will give it a shot. Regards Rohit Singh On Thu, 6 Dec 2018 at 2:55 PM, Martin Kletzander wrote: > On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: > >Hi Martin, > > > >Could you please help me with below issue, I am not sure what’s wrong > here. > >Please

Re: [libvirt-users] Libvirt api for esx

2018-12-06 Thread Martin Kletzander
On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: Hi Martin, Could you please help me with below issue, I am not sure what’s wrong here. Please find below code and error snippet. Thanks for help. Code Snippet: - from __future__ import print_function import sys import libvirt SASL_U

Re: [libvirt-users] Libvirt api for esx

2018-12-05 Thread ROHIT SINGH
Hi Martin, Could you please help me with below issue, I am not sure what’s wrong here. Please find below code and error snippet. Thanks for help. Code Snippet: - from __future__ import print_function import sys import libvirt SASL_USER = SASL_PASS = def request_cred(credentials, user_data):

Re: [libvirt-users] libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?

2018-12-05 Thread Daniel P . Berrangé
On Wed, Dec 05, 2018 at 02:43:45PM +0300, mxs kolo wrote: > Hi all > > After upgrade from Centos 7.5 to Centos 7.6, our test environment > geted new version of libvirt 4.5.0 > In which our old containers have broken config and can't start: > 2018-12-05 10:38:32.634+: 18010: debug : > virLXCC

Re: [libvirt-users] Libvirt api for esx

2018-11-29 Thread ROHIT SINGH
Thanks a lot Martin for help. Really appreciate it. You’re life saver. I will go through these links and will get back to you in case I need anymore information. Once again, thanks for help. Regards Rohit Singh On Thu, 29 Nov 2018 at 2:34 PM, Martin Kletzander wrote: > On Wed, Nov 28, 2018 at

Re: [libvirt-users] Libvirt api for esx

2018-11-29 Thread Martin Kletzander
On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote: Hi Martin, Could you please point me to any example codes in python present for esx? Suppose, I have to power off and power on esx virtual machine, can i get this code somewhere on python to develop some understanding. https://www.m

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
Hi Martin, Could you please point me to any example codes in python present for esx? Suppose, I have to power off and power on esx virtual machine, can i get this code somewhere on python to develop some understanding. Actually, I am not able to find sample code related to esx in python, please p

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
Thanks, I'll check it out. On Wed, 28 Nov 2018 at 9:31 PM, Martin Kletzander wrote: > On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote: > >Hi, > > > >I am doing poc for using libvirt api for implementation of esx in python. > > > >I tried researching through module but did not find a

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread Martin Kletzander
On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote: Hi, I am doing poc for using libvirt api for implementation of esx in python. I tried researching through module but did not find a way how it works for esx. Any help on how to proceed specifically for esx would be of great help. S

Re: [libvirt-users] Libvirt access control drivers

2018-11-21 Thread Anastasiya Ruzhanskaya
Hello! Excuse me for renewing this discussion. You mentioned that you can't send identity information over the remote channel in libvirt. In virt-manager, which directly uses libvirt remote functionality, there are such fields (attached, "username"). What they are used for? Are they used somehow in

Re: [libvirt-users] libvirt call qemu to create vm need more than 10 seconds

2018-11-16 Thread Michal Privoznik
On 11/15/18 3:16 AM, netsurfed wrote: > Hi all: > It takes more than 10 seconds to create a vm on a Dell R830 machine, but > it takes less than 2 seconds on other machines. This is not normal, so I > turned on the debug log for libvirtd. I analyzed the log and found that the > time was spent

Re: [libvirt-users] libvirt with persistent device names

2018-11-06 Thread Jan Marquardt
> I am trying to create a logical volume storage pool with persistent > device names for the block devices, because I can't/don't want to ensure > that /dev/sd* names are persistent through reboots. > > virsh # pool-define-as web2067 logical - - > /dev/disk/by-path/pci-:18:00.0-scsi-0:2:2:0 w

Re: [libvirt-users] libvirt with persistent device names

2018-10-26 Thread Daniel P . Berrangé
On Fri, Oct 26, 2018 at 01:29:02PM +0200, Jan Marquardt wrote: > Hi, > > I am trying to create a logical volume storage pool with persistent > device names for the block devices, because I can't/don't want to ensure > that /dev/sd* names are persistent through reboots. > > virsh # pool-define-as

Re: [libvirt-users] Libvirt 4.2.0 hang on destination on live migration cancel

2018-10-02 Thread Scott Sullivan
For anyone who might find this thread from online searching, I was able to determine this commit fixes the above issue: https://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=dddcb601ebf97ef222a03bb27b2357e831e8a0cc On Tue, Oct 2, 2018 at 8:42 AM Scott Sullivan < scottgregorysulli...@gmail.com> w

Re: [libvirt-users] libvirt reported capabilities doesn't match /proc/cpuinfo while the model does match

2018-10-01 Thread Jiri Denemark
On Sun, Sep 30, 2018 at 14:58:29 -0400, Braiam Peguero wrote: > Hi, > > According to virsh capabilities I only have the following cpu features: > > > x86_64 > IvyBridge-IBRS > Intel > > > > > > > > > > >

Re: [libvirt-users] Libvirt TLS with Short Lived Certificates

2018-10-01 Thread Martin Kletzander
On Wed, Sep 26, 2018 at 09:06:07AM -0700, Charles Urquiola wrote: I want to use short lived certificates with libvirtd to provided TLS access to the daemon. New certificates are generated on a daily basis and delivered to the host. Does libvirtd re-read TLS certificates with a reload of the ser

Re: [libvirt-users] libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'

2018-08-23 Thread Eduardo Lúcio Amorim Costa
crobinso, FYI: https://unix.stackexchange.com/a/464450/61742 Thanks! =D Em qua, 22 de ago de 2018 às 17:42, Eduardo Lúcio Amorim Costa < eduardoluci...@gmail.com> escreveu: > I updated my version and the problem no longer occurred. > > Thank you! =D > > Em qua, 22 de ago de 2018 às 17:08, Cole

Re: [libvirt-users] libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'

2018-08-22 Thread Eduardo Lúcio Amorim Costa
I updated my version and the problem no longer occurred. Thank you! =D Em qua, 22 de ago de 2018 às 17:08, Cole Robinson escreveu: > On 08/22/2018 03:30 PM, Eduardo Lúcio Amorim Costa wrote: > > I'm trying create a virtual machine using Xen as hypervisor and > > virt-manager (libvirt) as the ma

Re: [libvirt-users] libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'

2018-08-22 Thread Cole Robinson
On 08/22/2018 03:30 PM, Eduardo Lúcio Amorim Costa wrote: I'm trying create a virtual machine using Xen as hypervisor and virt-manager (libvirt) as the management module. When trying to create the virtual machine I am getting the following error: " Unable to complete install: 'internal error:

Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0

2018-08-08 Thread Holger Schranz
Hi Daniel, Peter, meanwhile it runs without any issues. Thank you for your quick help. Best regards Holger Am 08.08.2018 um 14:02 schrieb Peter Krempa: On Wed, Aug 08, 2018 at 10:06:12 +0100, Daniel Berrange wrote: On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote: checking fo

Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0

2018-08-08 Thread Peter Krempa
On Wed, Aug 08, 2018 at 10:06:12 +0100, Daniel Berrange wrote: > On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote: > > > checking for JANSSON... no > > This is the problem. In 4.6.0 we just switched to using JANSSOn instead > of yajl for JSON parsing. Your host doesn't have the deve

Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0

2018-08-08 Thread Holger Schranz
Hi Daniel, thank you very much. I will update the configuration and the environment. Best regards Holger Am 08.08.2018 um 11:06 schrieb Daniel P. Berrangé: On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote: checking for JANSSON... no This is the problem. In 4.6.0 we just switc

Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0

2018-08-08 Thread Daniel P . Berrangé
On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote: > checking for JANSSON... no This is the problem. In 4.6.0 we just switched to using JANSSOn instead of yajl for JSON parsing. Your host doesn't have the development headers installed for jansson > configure: > configure: Conf

Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0

2018-08-08 Thread Holger Schranz
Hello, I have attached the requested material (I hope) Best regards Holger Am 08.08.2018 um 10:10 schrieb Daniel P. Berrangé: On Wed, Aug 08, 2018 at 10:07:58AM +0200, Holger Schranz wrote: Hello, if I try to use Llibvirt-4.6.0 together with qemu-3.0.0-rc4. I run into an issue. Please see t

Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0

2018-08-08 Thread Daniel P . Berrangé
On Wed, Aug 08, 2018 at 10:07:58AM +0200, Holger Schranz wrote: > Hello, > > if I try to use Llibvirt-4.6.0 together with qemu-3.0.0-rc4. > I run into an issue. Please see the following Memo. > > Best regards > > Holger > > ===

Re: [libvirt-users] libvirt and UEFI/SecureBoot

2018-07-16 Thread Peter Krempa
On Sun, Jul 15, 2018 at 21:22:35 +0300, Shmuel Melamud wrote: > Hi! > > I'm working currently on integration of UEFI/SecureBoot support into > oVirt. And I have several questions about UEFI/SecureBoot support in > libvirt. Can you please help me with them? > > For UEFI I add the following to the

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-06-01 Thread Martin Kletzander
On Fri, Jun 01, 2018 at 01:25:26PM +0100, Daniel P. Berrangé wrote: On Fri, Jun 01, 2018 at 02:01:03PM +0200, Martin Kletzander wrote: On Fri, Jun 01, 2018 at 11:17:44AM +0100, Daniel P. Berrangé wrote: > On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: > > On Tue, May 29, 2018

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-06-01 Thread Daniel P . Berrangé
On Fri, Jun 01, 2018 at 02:01:03PM +0200, Martin Kletzander wrote: > On Fri, Jun 01, 2018 at 11:17:44AM +0100, Daniel P. Berrangé wrote: > > On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: > > > On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: > > > > > > > > > > > >

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-06-01 Thread Martin Kletzander
On Fri, Jun 01, 2018 at 11:17:44AM +0100, Daniel P. Berrangé wrote: On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: > > > On 05/29/2018 09:44 AM, Michal Privoznik wrote: > > On 05/29/2018 03:38 PM, Martin Kletzander

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-06-01 Thread Daniel P . Berrangé
On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: > On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: > > > > > > On 05/29/2018 09:44 AM, Michal Privoznik wrote: > > > On 05/29/2018 03:38 PM, Martin Kletzander wrote: > > > > On Fri, May 25, 2018 at 09:37:44AM -0500, Er

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-05-30 Thread Martin Kletzander
On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: On 05/29/2018 09:44 AM, Michal Privoznik wrote: On 05/29/2018 03:38 PM, Martin Kletzander wrote: On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: On 05/25/2018 09:17 AM, Michal Privoznik wrote: We should probably seed

Re: [libvirt-users] Libvirt access control drivers

2018-05-30 Thread Erik Skultety
On Sun, May 27, 2018 at 08:03:28PM +0300, Anastasiya Ruzhanskaya wrote: > Hello! > I still want to clarify one question. Instead of making authentication of > oVirt and then impersonation of each user, oVirt can just pass user > information inside messages and libvirt at the end can read this user

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-05-29 Thread John Ferlan
On 05/29/2018 09:44 AM, Michal Privoznik wrote: > On 05/29/2018 03:38 PM, Martin Kletzander wrote: >> On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: >>> On 05/25/2018 09:17 AM, Michal Privoznik wrote: >>> >> We should probably seed it with data from /dev/urandom, and/or the new

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-05-29 Thread Michal Privoznik
On 05/29/2018 03:38 PM, Martin Kletzander wrote: > On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: >> On 05/25/2018 09:17 AM, Michal Privoznik wrote: >> > We should probably seed it with data from /dev/urandom, and/or the new > Linux getrandom() syscall (or BSD equivalent). >>>

Re: [libvirt-users] [libvirt] virRandomBits - not very random

2018-05-29 Thread Martin Kletzander
On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: On 05/25/2018 09:17 AM, Michal Privoznik wrote: We should probably seed it with data from /dev/urandom, and/or the new Linux getrandom() syscall (or BSD equivalent). I'm not quite sure that right after reboot there's going to be enou

Re: [libvirt-users] Libvirt access control drivers

2018-05-27 Thread Anastasiya Ruzhanskaya
Hello! I still want to clarify one question. Instead of making authentication of oVirt and then impersonation of each user, oVirt can just pass user information inside messages and libvirt at the end can read this user information inside rpc messages (perhaps user login could be written in one of s

Re: [libvirt-users] Libvirt access control drivers

2018-05-14 Thread Daniel P . Berrangé
On Sat, May 12, 2018 at 11:36:08AM +0300, Anastasiya Ruzhanskaya wrote: > I actually didn't quite catch,why oVirt can't just pass user information > and you could check against it? This may require to create some > configuration files for libvirt about end users. > What is a advantage of authentica

Re: [libvirt-users] Libvirt access control drivers

2018-05-12 Thread Anastasiya Ruzhanskaya
I actually didn't quite catch,why oVirt can't just pass user information and you could check against it? This may require to create some configuration files for libvirt about end users. What is a advantage of authenticating oVirt, and then impersonation for end user? 2018-05-11 16:37 GMT+03:00 Dan

Re: [libvirt-users] Libvirt access control drivers

2018-05-11 Thread Daniel P . Berrangé
On Fri, May 11, 2018 at 05:25:25PM +0300, Anastasiya Ruzhanskaya wrote: > I see. I also know OpenStack uses libvirt, nova-compute has a driver for > communication. > I have briefly looked through these 10 thousand lines of code in overall on > github for openstack's libvirt driver and didn't notice

Re: [libvirt-users] Libvirt access control drivers

2018-05-11 Thread Anastasiya Ruzhanskaya
I see. I also know OpenStack uses libvirt, nova-compute has a driver for communication. I have briefly looked through these 10 thousand lines of code in overall on github for openstack's libvirt driver and didn't notice any user info as well. To make the picture full don't you know is there the sam

Re: [libvirt-users] Libvirt access control drivers

2018-05-11 Thread Daniel P . Berrangé
On Fri, May 11, 2018 at 04:26:36PM +0300, Anastasiya Ruzhanskaya wrote: > Excuse me for renewing this discussion, but I am curious if you would add > new module, which will be able to process users not based on unix > processes, from where do you plan to get usernames? I mean, virt-manager > could

Re: [libvirt-users] Libvirt access control drivers

2018-05-11 Thread Anastasiya Ruzhanskaya
Excuse me for renewing this discussion, but I am curious if you would add new module, which will be able to process users not based on unix processes, from where do you plan to get usernames? I mean, virt-manager could give them, as there is authentication in GUI, but for example when using oVirt,

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] 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

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 11:15 AM, Eric Blake wrote: > On 04/27/2018 02:20 AM, gaosheng cui wrote: >> Hi,using ignore_value in libvirt source code >> to do function return value processing,but I >> can’t understand about it,can you give me some tips?thanks very much! > > Is your question about what ignore_va

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 11:15 AM, Eric Blake wrote: > You can think of 'ignore_value(foo());' the same as '(void*)foo();', Typo, make that '(void)foo();' > except that the latter doesn't shut up all compilers. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualiza

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 02:20 AM, gaosheng cui wrote: > Hi,using ignore_value in libvirt source code > to do function return value processing,but I > can’t understand about it,can you give me some tips?thanks very much! Is your question about what ignore_value() does? It exists solely to shut up compiler w

Re: [libvirt-users] libvirt connect vmware workstation fail

2018-03-13 Thread Daniel P . Berrangé
On Tue, Mar 13, 2018 at 03:56:30PM +0800, 吴金灿 wrote: > bash: vmwarews+ssh://jc@127.0.0.1/session: No such file or directory > [jc@te ~]$ virsh -c vmwarews+ssh://jc@127.0.0.1/session > 错误:连接到管理程序失败 > 错误:不支持的操作:ssh 连接驱动程序不支持在没有套接字路径的情况下连接到会话实例 > [jc@te ~]$ virsh -c vmwarews+ssh://root@127.0.0.1/s

Re: [libvirt-users] Libvirt supported qemu-ga commands

2018-03-01 Thread Daniel P . Berrangé
On Thu, Mar 01, 2018 at 12:57:59PM +, procmem wrote: > > > Daniel P. Berrangé: > > On Wed, Feb 28, 2018 at 11:13:46PM +, procmem wrote: > >> Where can I find the full list of libvirt supported qemu-ga commands? > >> The docs [0] imply virDomainQemuAgentCommand bypasses libvirt and is not

Re: [libvirt-users] Libvirt supported qemu-ga commands

2018-03-01 Thread procmem
Daniel P. Berrangé: > On Wed, Feb 28, 2018 at 11:13:46PM +, procmem wrote: >> Where can I find the full list of libvirt supported qemu-ga commands? >> The docs [0] imply virDomainQemuAgentCommand bypasses libvirt and is not >> recommended. >> >> I am looking to pass suspend/resume events from

  1   2   3   4   5   6   7   8   9   >