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

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

2019-10-18 Thread Luyao Zhong
Hi libvirt experts, I have some questions about live migration. * If a live migration failed during migrating, will the domain exist on the destination host? * Is the flag VIR_MIGRATE_PAUSED make sense to live migration? It's a little confusing for me. Does that indicate if I set this flag, then

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

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

2019-08-14 Thread Varsha Verma
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. -- *Regards,* *Varsha Verma* *Final Year Undergraduate* *Department of E

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

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

2019-07-31 Thread Christian Kujau
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: --- $ sudo virsh net-dumpxml --network

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

[libvirt-users] Libvirt Virtualization Problem

2019-07-30 Thread 王金磊
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 want to know that why it is? And what's the principle of dump

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

[libvirt-users] libvirt-python blockPull

2019-07-04 Thread Roger Jin
Hi Libvirt, Does libvirt-python currently support adding a base path to virDomain.blockPull()? In particular, I would like to have the behavior of the following virsh command (from https://kashyapc.wordpress.com/2013/01/22/live-backup-with-external-disk-snapshots-and-libvirts-blockpull/) in libvir

[libvirt-users] libvirt-python Create External Snapshot

2019-07-04 Thread Roger Jin
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 And got the following error: if ret is None:raise libvirtError('virDomainSnapsho

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

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

2019-06-14 Thread Varsha Verma
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 of disk elements giving information about the various storage dev

[libvirt-users] libvirt blkiotune mechanism

2019-05-30 Thread Maksym Isaiev
Hello! We are using oVirt in our infrastructure, which uses libvirt as backend. Last time we needed to activate storage QoS aka libvirt blkiotune parameters. So some questions appeared about how libvirt limitation mechanism works: 1. What happened to overlimit storage traffic in small time pe

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

2019-05-28 Thread Yalan Zhang
xperiencing the same kind of issue with the > current upstream? > > Regards, > Erik > > ___ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users > __

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

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

2019-05-23 Thread Fuzail Ahmad
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 kernel-4.1.12-112.16.4.el7uek.x86_64 Reproducible: Not always Description: I am doing a reboot of Virtual

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

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

2019-04-26 Thread Weller, Lennart
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 see existing images cloned from a snapshot. Created via: #

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

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

2019-01-21 Thread mxs kolo
Hello. 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_64 Now

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
>> > >>> >>> https://github.com/libvirt/libvirt-python/tree/master/examples > >>> >>> > >>> >>> The point of libvirt is that the code doesn't have to be (way) > >>> different > >>> >>> depending on the hypervisor. > >>> >>> > >>> >>> >Appreciate your help !! > >>> >>> > > >>> >>> >Thanks. > >>> >>> > > >>> >>> >Regards > >>> >>> >Rohit Singh > >>> >>> > > >>> >>> >On Wed, 28 Nov 2018 at 9:54 PM, ROHIT SINGH < > >>> rohit.singh0...@gmail.com> > >>> >>> >wrote: > >>> >>> > > >>> >>> >> Thanks, I'll check it out. > >>> >>> >> > >>> >>> >> On Wed, 28 Nov 2018 at 9:31 PM, Martin Kletzander < > >>> mklet...@redhat.com > >>> >>> > > >>> >>> >> 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 way how > it > >>> >>> works > >>> >>> >>> for > >>> >>> >>> >esx. > >>> >>> >>> >Any help on how to proceed specifically for esx would be of > great > >>> >>> help. > >>> >>> >>> > > >>> >>> >>> > >>> >>> >>> See https://libvirt.org/drvesx.html for ESX-related stuff. > But > >>> >>> mainly > >>> >>> >>> it is the > >>> >>> >>> URI you need to use. Then look at > >>> https://libvirt.org/hvsupport.html > >>> >>> >>> where you > >>> >>> >>> can see what APIs are available for that HV driver. > >>> >>> >>> > >>> >>> >>> >Please let me know as soon as possible, lagging on > deliverables. > >>> >>> >>> > > >>> >>> >>> >Thanks for help!! > >>> >>> >>> > > >>> >>> >>> >Regards > >>> >>> >>> >Rohit Singh > >>> >>> >>> > >>> >>> >>> >___ > >>> >>> >>> >libvirt-users mailing list > >>> >>> >>> >libvirt-users@redhat.com > >>> >>> >>> >https://www.redhat.com/mailman/listinfo/libvirt-users > >>> >>> >>> > >>> >>> >>> > >>> >>> > >>> >> > >>> > >> > ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

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
; >On Wed, 28 Nov 2018 at 9:54 PM, ROHIT SINGH < >> rohit.singh0...@gmail.com> >> >>> >wrote: >> >>> > >> >>> >> Thanks, I'll check it out. >> >>> >> >> >>> >> On Wed, 28 Nov 20

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
gt;wrote: > >>> > > >>> >> Thanks, I'll check it out. > >>> >> > >>> >> On Wed, 28 Nov 2018 at 9:31 PM, Martin Kletzander < > mklet...@redhat.com > >>> > > >>> >> wrote: > >>> >

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
h 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. >> >>>

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

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

2018-12-05 Thread mxs kolo
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 : virLXCControllerGetNICIndexes:368 : Getting nic indexes 2018-12-05 10:38:32.634

Re: [libvirt-users] Libvirt api for esx

2018-11-29 Thread ROHIT SINGH
https://libvirt.org/drvesx.html for ESX-related stuff. But mainly > >>> it is the > >>> URI you need to use. Then look at https://libvirt.org/hvsupport.html > >>> where you > >>> can see what APIs are available for that HV driver. > >>> > >>> >Plea

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
what APIs are available for that HV driver. >> >> >Please let me know as soon as possible, lagging on deliverables. >> > >> >Thanks for help!! >> > >> >Regards >> >Rohit Singh >> >> >_______

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
__________ > >libvirt-users mailing list > >libvirt-users@redhat.com > >https://www.redhat.com/mailman/listinfo/libvirt-users > > ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

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

[libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
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. Please let me know as soon as possible, lagging on deliverables.

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

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

2018-11-14 Thread netsurfed
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 on libvirtd calling qemu. Thread 95225 calls th

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

[libvirt-users] libvirt with persistent device names

2018-10-26 Thread Jan Marquardt
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 web2067 logical - - /dev/disk/by-path/pci-:18:00.0-scsi-0:2:2:0 web2067

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

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

2018-10-02 Thread Scott Sullivan
I'm trying the following command on the source machine: virsh migrate --live --copy-storage-all --verbose TEST qemu+ssh:// 10.30.76.66/system If I ssh into the destination machine when this command is running, I can see NBD copying data as expected, and if I wait long enough it completes and suc

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

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

2018-10-01 Thread Braiam Peguero
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

[libvirt-users] Libvirt TLS with Short Lived Certificates

2018-09-26 Thread Charles Urquiola
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 service, systemctl reload libvirtd, or with a SIGHUP or is a full resta

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:

[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'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: unsupported input bus usb' " ERROR DETAILS: Unable to comple

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

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

2018-08-08 Thread Holger Schranz
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 Procduce QEMU-3.0.0-RC4 and LIBVIRT-4.6.0: QEMU-3-0-0-RC4:   make clea

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

[libvirt-users] libvirt and UEFI/SecureBoot

2018-07-15 Thread Shmuel Melamud
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 XML: /usr/share/OVMF/OVMF_CODE.secboot.fd /var/lib/libvirt/qemu/nvram/VM

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

  1   2   3   4   5   6   7   8   9   10   >