Re: Help on Meson build Error

2020-09-25 Thread Daniel P . Berrangé
On Fri, Sep 25, 2020 at 04:44:24PM +0800, Wei Wang wrote: > On Fri, Sep 25, 2020 at 4:40 PM Andrea Bolognani > wrote: > > > On Fri, 2020-09-25 at 16:21 +0800, Wei Wang wrote: > > > On Fri, Sep 25, 2020 at 3:56 PM Andrea Bolognani > > wrote: > > > > On Fri, 2020-09-25 at 10:33 +0800, Wei Wang

Re: [libvirt] SRIOV configuration

2020-09-24 Thread Daniel P . Berrangé
On Mon, Sep 21, 2020 at 06:04:36PM +0300, Edward Haas wrote: > The PCI addresses appearing on the domxml are not the same as the ones > mappend/detected in the VM itself. I compared the domxml on the host > and the lspci in the VM while the VM runs. Can you clarify what you are comparing here ?

Re: consuming pre-created tap - with multiqueue

2020-09-23 Thread Daniel P . Berrangé
On Wed, Sep 23, 2020 at 05:44:28PM +0100, Daniel P. Berrangé wrote: > On Tue, Sep 22, 2020 at 01:48:08PM +0200, Miguel Duarte de Mora Barroso wrote: > > Hello, > > > > On KubeVirt, we are trying to pre-create a tap device, then instruct > > libvirt to consume it (via

Re: consuming pre-created tap - with multiqueue

2020-09-23 Thread Daniel P . Berrangé
On Tue, Sep 22, 2020 at 01:48:08PM +0200, Miguel Duarte de Mora Barroso wrote: > Hello, > > On KubeVirt, we are trying to pre-create a tap device, then instruct > libvirt to consume it (via the type=ethernet , managed='no' > attributes). > > It works as expected, **unless** when we create a

Re: KVM/QEMU Memory Ballooning

2020-09-17 Thread Daniel P . Berrangé
On Thu, Sep 17, 2020 at 09:06:51AM +, Sprencz, Pal Csongor (GE Healthcare) wrote: > In short we have a ScientificLinux7 base host OS system, on top of > that I would want to run a KVM/QEMU virtual machine. > The kvm version is used on the host OS is the following. >

Re: Two questions about NVDIMM devices

2020-09-10 Thread Daniel P . Berrangé
On Thu, Sep 10, 2020 at 04:54:08PM +0200, Milan Zamazal wrote: > Daniel P. Berrangé writes: > > > On Thu, Sep 10, 2020 at 04:26:40PM +0200, Milan Zamazal wrote: > >> Daniel P. Berrangé writes: > >> > > > >> > On Thu, Jul 02, 2020 at 0

Re: Two questions about NVDIMM devices

2020-09-10 Thread Daniel P . Berrangé
On Thu, Sep 10, 2020 at 04:26:40PM +0200, Milan Zamazal wrote: > Daniel P. Berrangé writes: > > > On Thu, Jul 02, 2020 at 01:21:15PM +0200, Milan Zamazal wrote: > >> Hi, > >> > > > >> I've met two situations with NVDIMM support in libvirt where I'm n

Re: Network update disrupts network usage

2020-09-09 Thread Daniel P . Berrangé
On Wed, Sep 09, 2020 at 06:31:41PM +0200, Joel Colledge wrote: > ## Conclusion > > The underlying problem seems to be that net-update removes and > re-creates the iptables rules, even when it makes no changes to them. > The best fix would be to correct that. > > Has anyone else encountered this

Re: libvirt 6.7 meson.build error

2020-09-03 Thread Daniel P . Berrangé
On Wed, Sep 02, 2020 at 11:56:58PM +, Chen Wenwei wrote: > Found pkg-config: /usr/local/bin/pkg-config (0.29.2) > Did not find CMake 'cmake' > Found CMake: NO > Run-time dependency libapparmor found: NO (tried pkgconfig and cmake) > Library attr found: YES > Library audit found: YES > Run-time

Re: Meson build

2020-09-01 Thread Daniel P . Berrangé
On Tue, Sep 01, 2020 at 03:50:36PM +0200, Ján Tomko wrote: > On a Tuesday in 2020, Pavel Hrdina wrote: > > On Tue, Sep 01, 2020 at 03:13:39PM +0200, Ján Tomko wrote: > > > On a Tuesday in 2020, Pavel Hrdina wrote: > > > > On Sun, Aug 30, 2020 at 02:34:56AM +0200, Toolybird wrote: > > > > > Hi, > >

Re: Distinguishing between host and guest initiated VM shutdown

2020-08-27 Thread Daniel P . Berrangé
On Thu, Aug 27, 2020 at 10:06:25AM +0200, Milan Zamazal wrote: > "Daniel P. Berrange" writes: > > > On Wed, Aug 26, 2020 at 10:35:22PM +0200, Milan Zamazal wrote: > >> Hi, > >> > > > >> we have a problem in oVirt that highly available VMs don't restart after > >> host poweroff because Vdsm

Re: python-libvirt domain.destroy() doesn't appear to be working for me

2020-08-24 Thread Daniel P . Berrangé
On Sat, Aug 22, 2020 at 10:32:09AM -0400, Jeremy Markle wrote: > I'm using the python-libvirt library and finding that I cannot get > .destroy() or .shutdown() to work. > > https://github.com/simora/docker-libvirt-flask/blob/cba6041b47bdf4ccb3b9506a0379cf8c788a9a57/root/app/mqtt.py#L96 Your code

Re: Conflicting parameters on qemu call

2020-08-21 Thread Daniel P . Berrangé
On Fri, Aug 21, 2020 at 01:38:23PM +0200, Jan Walzer wrote: > On 21. Aug 2020, at 11:20, Daniel P. Berrangé wrote: > > On Fri, Aug 21, 2020 at 11:19:14AM +0200, Jan Walzer wrote: > >> Hi Daniel, > >>> On 21. Aug 2020, at 11:07, Daniel P. Berrangé wrote: > >&

Re: Conflicting parameters on qemu call

2020-08-21 Thread Daniel P . Berrangé
On Fri, Aug 21, 2020 at 11:19:14AM +0200, Jan Walzer wrote: > Hi Daniel, > > On 21. Aug 2020, at 11:07, Daniel P. Berrangé wrote: > > On Fri, Aug 21, 2020 at 11:00:27AM +0200, Jan Walzer wrote: > >> On 21. Aug 2020, at 10:38, Daniel P. Berrangé wrote: > >>>

Re: Conflicting parameters on qemu call

2020-08-21 Thread Daniel P . Berrangé
On Fri, Aug 21, 2020 at 11:00:27AM +0200, Jan Walzer wrote: > On 21. Aug 2020, at 10:38, Daniel P. Berrangé wrote: > > On Thu, Aug 20, 2020 at 08:11:30PM +0200, Jan Walzer wrote: > >> Hi Lists, > >> > >> I currently have the issue of wanting to use emu-syste

Re: Conflicting parameters on qemu call

2020-08-21 Thread Daniel P . Berrangé
On Thu, Aug 20, 2020 at 08:11:30PM +0200, Jan Walzer wrote: > Hi Lists, > > I currently have the issue of wanting to use emu-system-x86_64 on a ppc64le > platform. > > It is imperative to pass the "-accel tcg,thread=multi” parameter to qemu > when starting an instance, as without that, it

Re: Libvirt qemu-system-x86_64 on ppc64le no multi threading

2020-08-03 Thread Daniel P . Berrangé
On Mon, Aug 03, 2020 at 01:45:45PM +, Kim-Norman Sahm wrote: > hi, > > i’m running Debian 10 on POWER9 and would like to spawn x86_64 emulated VMs. > The virtual machine is configured to run with 8 vpus but it’s very slow. > On the host you can see that the qemu-system-x86_64 process is using

Re: Xend and libvirt

2020-08-03 Thread Daniel P . Berrangé
On Mon, Aug 03, 2020 at 01:44:30PM +0300, K. Kahurani wrote: > Hello, > > On Mon, Aug 3, 2020 at 12:08 PM Daniel P. Berrangé > wrote: > > > On Sat, Aug 01, 2020 at 04:51:57PM +0300, David K. Kahurani wrote: > > > Hello > > > > > &g

Re: Xend and libvirt

2020-08-03 Thread Daniel P . Berrangé
On Sat, Aug 01, 2020 at 04:51:57PM +0300, David K. Kahurani wrote: > Hello > > On a probably a few days old build of libvirt, it is not possible to connect > to my local system. > > The command used is: > >$virsh -c xen:///system > > The errors can be seen from libvirtd logs[1] an

Re: Routed network can't reach outside network

2020-07-23 Thread Daniel P . Berrangé
On Thu, Jul 23, 2020 at 03:34:03PM +0100, Rui Correia wrote: > > Is net.ipv4.ip_forward set to 0 ? > > > > > I assume you're asking if this is setup on the host and not on the VM's. > I've checked the host and it is configured like this: > $ sysctl net.ipv4.ip_forward > net.ipv4.ip_forward = 1

Re: SELinux labels change in libvirt

2020-07-16 Thread Daniel P . Berrangé
On Thu, Jul 16, 2020 at 11:22:26AM +0300, Ram Lavi wrote: > On Tue, Jul 14, 2020 at 6:03 PM Daniel P. Berrangé > wrote: > > I checked the dumpxml of the virt-launcher pod (that runs the qemu in > kubevirt) - it has dynamic policy. > > > +107:+107 > +107:+1

Re: SELinux labels change in libvirt

2020-07-14 Thread Daniel P . Berrangé
On Tue, Jul 14, 2020 at 04:02:17PM +0300, Ram Lavi wrote: > On Tue, Jul 14, 2020 at 3:33 PM Daniel P. Berrangé > wrote: > > > On Tue, Jul 14, 2020 at 03:21:17PM +0300, Ram Lavi wrote: > > > Hello all, > > > > > > tl;dr, can you point me to the point

Re: SELinux labels change in libvirt

2020-07-14 Thread Daniel P . Berrangé
On Tue, Jul 14, 2020 at 03:21:17PM +0300, Ram Lavi wrote: > Hello all, > > tl;dr, can you point me to the point in the libvirt repo where it's trying > to change a tap-device's SELinux label? > > I am trying to create a tap device with libvirt on a > super-privileged container, and then use it

Re: NVDIMM in devdax mode and SELinux (was: Two questions about NVDIMM devices)

2020-07-09 Thread Daniel P . Berrangé
On Thu, Jul 09, 2020 at 11:53:19AM +0200, Milan Zamazal wrote: > Milan Zamazal writes: > > > Daniel P. Berrangé writes: > > > >> On Thu, Jul 02, 2020 at 01:21:15PM +0200, Milan Zamazal wrote: > >>> The second problem is that a VM fails to start with a

Re: Two questions about NVDIMM devices

2020-07-02 Thread Daniel P . Berrangé
On Thu, Jul 02, 2020 at 01:21:15PM +0200, Milan Zamazal wrote: > Hi, > > I've met two situations with NVDIMM support in libvirt where I'm not > sure all the parties (libvirt & I) do the things correctly. > > The first problem is with memory alignment and size changes. In > addition to the size

Re: no/empty NUMA cells on domain XML

2020-07-01 Thread Daniel P . Berrangé
On Wed, Jul 01, 2020 at 12:08:35PM +0300, Polina Agranat wrote: > Hi , > > I'm looking for a possibility to simulate a VM (to be used as a host) > reporting no or empty NUMA in 'virsh capabilities'. 'virsh > capabilities' usually reports single NUMA in the VMs, > like > > > If the "host"

Re: plug pre-created tap devices to libvirt guests

2020-06-30 Thread Daniel P . Berrangé
On Tue, Jun 30, 2020 at 04:02:05PM +0100, Daniel P. Berrangé wrote: > On Tue, Jun 30, 2020 at 12:59:03PM +0200, Miguel Duarte de Mora Barroso wrote: > > On Mon, Apr 6, 2020 at 4:03 PM Laine Stump wrote: > > > > > > On 4/6/20 9:54 AM, Daniel P. Berrangé wrote: > >

Re: plug pre-created tap devices to libvirt guests

2020-06-30 Thread Daniel P . Berrangé
On Tue, Jun 30, 2020 at 12:59:03PM +0200, Miguel Duarte de Mora Barroso wrote: > On Mon, Apr 6, 2020 at 4:03 PM Laine Stump wrote: > > > > On 4/6/20 9:54 AM, Daniel P. Berrangé wrote: > > > On Mon, Apr 06, 2020 at 03:47:01PM +0200, Miguel Duarte de Mora Barroso &g

Re: Do we need "amd_iommu=on" for AMD system anymore?

2020-06-30 Thread Daniel P . Berrangé
On Tue, Jun 30, 2020 at 11:33:10AM +0800, Yalan Zhang wrote: > Hi, > > Since long time ago, to enable the SR-IOV VF pci passthrough function, I'm > always adding "amd_iommu=on" into kernel cmdline on AMD system. > But recently I found even I do not do this action, IOMMU is still enabled > by

Re: Guidance for First Timer

2020-06-18 Thread Daniel P . Berrangé
On Wed, Jun 17, 2020 at 01:31:18PM -0400, Sanyam Rajpal wrote: > Hey everyone, > I am a first-time contributor and I was interested in this project. I > wanted to make some open source contributions and learn. I am not looking > for getting enrolled in the program. > Sanyam Thanks for your

Re: NVDIMM sizes and DIMM hot plug

2020-06-16 Thread Daniel P . Berrangé
On Tue, Jun 16, 2020 at 12:54:29PM +0200, Milan Zamazal wrote: > Hi, > > I've found out that NVDIMM size and label size matter for regular > (non-NV) DIMM hot plug. If the NVDIMM is not aligned correctly, the > guest OS will not accept the hot plugged memory and will complain with > messages

Re: Live migration to another volume at the same host

2020-06-11 Thread Daniel P . Berrangé
On Thu, Jun 11, 2020 at 05:45:46PM +0200, Paul van der Vlis wrote: > Hello, > > I am looking for a way to migrate a VM live to another location. > > The qcow2 images are now on /data , but I want to move some of them to a > volume mounted on /data2 what's faster. > > Is this possible without

Re: No outbound connectivity from guest VM(fedora 32)

2020-06-08 Thread Daniel P . Berrangé
On Fri, Jun 05, 2020 at 01:27:08PM -0400, Justin Stephenson wrote: > Hi, > > I recently installed a fresh install of Fedora 32 and I am having > trouble with my virtual machine networking, I can ssh and connect into > my guest VMs from my host, but the guest VMs cannot ping out to the > internet.

Re: Fwd: Hello

2020-06-03 Thread Daniel P . Berrangé
On Tue, Jun 02, 2020 at 03:30:00PM +0300, K. Kahurani wrote: > -- Forwarded message - > From: K. Kahurani > Date: Sun, May 31, 2020 at 2:26 PM > Subject: Hello > To: > > > Hello, > > Hopefully this finds you well. > > This is not a bug report but more or less an inquiry as

Re: libvirt object IVirtualBox is null

2020-05-13 Thread Daniel P . Berrangé
On Wed, May 13, 2020 at 10:24:41AM -0300, claudia freitas wrote: > Hi, > I'm using libvirt to manage virtual machines created with VirtualBox-6.0, > however when I try to start, to shut down virsh vm I get the message of > object IVirtualBox is null. > However, if I leave the VirtualBox graphical

Re: Unit libvirtd.service could not be found. on VM

2020-05-12 Thread Daniel P . Berrangé
On Tue, May 12, 2020 at 02:41:42PM +0300, Dana Elfassy wrote: > if I understand correctly then I shouldn't have installed libvirt-daemon on > the guests VMs? Correct Regards, Daniel -- |: https://berrange.com -o-https://www.flickr.com/photos/dberrange :| |: https://libvirt.org

Re: Unit libvirtd.service could not be found. on VM

2020-05-12 Thread Daniel P . Berrangé
On Tue, May 12, 2020 at 02:25:29PM +0300, Dana Elfassy wrote: > Thanks, Daniel > I verified I had libvirt-daemon rpm on my laptop and reloaded its units, > but that didn't solve the issue. I then checked the vms- > libvirt-daemon rpm was indeed missing on my vms. After I installed it & > reloaded

Re: Unit libvirtd.service could not be found. on VM

2020-05-12 Thread Daniel P . Berrangé
On Tue, May 12, 2020 at 01:00:06PM +0300, Dana Elfassy wrote: > Hi all, > Some background: > I recently has some issues with libvirt on my laptop when I got the error > 'operation failed: pool 'default' already exists with uuid > dd48b6ad-9a00-46eb-a3a4-c122d8a294a5' when I connected virt-manager.

Re: virsh connect to xen:///system fails: "error: internal error: Unexpected driver type 'Xen' opened" ?

2020-05-04 Thread Daniel P . Berrangé
On Mon, May 04, 2020 at 09:33:47AM -0700, PGNet Dev wrote: > I've setup for use of modular daemons with systemd sockets, rather than > monolithic libvirtd snip > virsh -c xen:///system?socket=/var/run/libvirt/libvirt-sock > error: failed to connect to the hypervisor >

Re: sync guest time

2020-04-30 Thread Daniel P . Berrangé
On Thu, Apr 30, 2020 at 05:39:45PM +0200, Miguel Duarte de Mora Barroso wrote: > On Thu, Apr 30, 2020 at 2:15 PM Daniel P. Berrangé > wrote: > > > > On Thu, Apr 30, 2020 at 01:52:12PM +0200, Miguel Duarte de Mora Barroso > > wrote: > > > Hi, > > >

Re: sync guest time

2020-04-30 Thread Daniel P . Berrangé
On Thu, Apr 30, 2020 at 01:52:12PM +0200, Miguel Duarte de Mora Barroso wrote: > Hi, > > I'm seeing the following issue when attempting to update the guest's > clock on a running fc32 guest (using guest agent): > > ``` > [root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --pretty >

Re: [Query] Facing issue in build libvirt6.0 on ubuntu 1804

2020-04-30 Thread Daniel P . Berrangé
On Thu, Apr 30, 2020 at 05:08:17PM +0530, Ramesh B wrote: > Hi Daniel, > > Thanks for command. > Can I install specific version of prebuilt libvirt ? > > Eg: version 6.0 No, you get whatever the OS distro provides. Regards, Daniel -- |: https://berrange.com -o-

Re: [Query] Facing issue in build libvirt6.0 on ubuntu 1804

2020-04-30 Thread Daniel P . Berrangé
On Thu, Apr 30, 2020 at 01:35:18PM +0530, Ramesh B wrote: > Hi all, > > I am trying to build libvirt 6.0 on ubuntu OS 18.04. > Facing one issue libvirt source compilation. > > > :215: (ERROR/3) Error in "code-block" directive: > 1 argument(s)

Re: [Query] Facing issue in build libvirt6.0 on ubuntu 1804

2020-04-30 Thread Daniel P . Berrangé
On Thu, Apr 30, 2020 at 11:18:02AM +0200, Michal Privoznik wrote: > On 4/30/20 10:05 AM, Ramesh B wrote: > > Hi all, > > > > I am trying to build libvirt 6.0 on ubuntu OS 18.04. > > Facing one issue libvirt source compilation. > > > > > > :215:

Re: Libvirt APIs for creating virtual networks

2020-04-28 Thread Daniel P . Berrangé
On Tue, Apr 28, 2020 at 08:51:45AM -0700, Santhosh Kumar Gunturu wrote: > Okay. Thanks. > > Do we have any facility APIs to set the DHCP Options via XML ? > Default gateway ? > Dns-server ? > domain-name ? Everything is controlled through the XML document described here:

Re: Libvirt APIs for creating virtual networks

2020-04-28 Thread Daniel P . Berrangé
On Tue, Apr 28, 2020 at 08:39:06AM -0700, Santhosh Kumar Gunturu wrote: > I am using the Libvirt APIs to create the virtual networks to use the > dnsmasq capabilities. > I want to understand the APIs how to set the lease time in XML to control > the dnsmasq lease time. Support for controlling

Re: domain: how long is new xml in saved file

2020-04-27 Thread Daniel P . Berrangé
On Mon, Apr 27, 2020 at 10:17:52AM +0200, Andrea Bolognani wrote: > On Fri, 2020-04-24 at 10:20 -0500, Eric Blake wrote: > > On 4/24/20 7:37 AM, Daniel P. Berrangé wrote: > > > On Fri, Apr 24, 2020 at 02:33:13PM +0200, Michal Privoznik wrote: > > > > On 4/2

Re: domain: how long is new xml in saved file

2020-04-24 Thread Daniel P . Berrangé
On Fri, Apr 24, 2020 at 02:33:13PM +0200, Michal Privoznik wrote: > On 4/24/20 6:38 AM, Vincent Wu wrote: > > > > The save format is fragile. At the beginning there is a header which > describes the file, then there is libvirt section (which contains the domain > XML and a cookie) and then there

FYI: upstream bug reporting now using https://gitlab.com/libvirt

2020-04-16 Thread Daniel P . Berrangé
In keeping with our general aim to consolidate libvirt project infrastructure services on GitLab, we now wish to have issues for upstream libvirt projects reported on the appropriate https://gitlab.com/libvirt/ repository issue tracker. For further details see: https://libvirt.org/bugs.html

Re: what a correct use for virConnectDomainEventRegisterAny API, how to Obtain a stable expected result

2020-04-14 Thread Daniel P . Berrangé
On Mon, Apr 13, 2020 at 05:32:38PM +0800, thomas.kuang wrote: > HI, everyone: > > > My target deal with network hotplug use virDomainDetachDeviceFlags. Because > when the API return ,the network maybe doesn’t remove from my vm guest os. > > So I use virConnectDomainEventRegisterAny to

Re: Running libvirtd on windows

2020-04-14 Thread Daniel P . Berrangé
On Mon, Apr 13, 2020 at 12:42:16PM +, Dhananjay Joshi wrote: > Hi I have downloaded virt-viewer package for windows 10 to run the libvirt > framework on windows .When I try to run the virt-viewer facing the issue > of not getting the libvirtd URI to connect as below: > Any pointers on how to

Re: plug pre-created tap devices to libvirt guests

2020-04-06 Thread Daniel P . Berrangé
On Mon, Apr 06, 2020 at 10:03:41AM -0400, Laine Stump wrote: > On 4/6/20 9:54 AM, Daniel P. Berrangé wrote: > > > Would you be able to shed some light into this ? Is it possible on > > > libvirt-5.6.0 to plug pre-created tap devices to libvirt guests ? >

Re: plug pre-created tap devices to libvirt guests

2020-04-06 Thread Daniel P . Berrangé
On Mon, Apr 06, 2020 at 03:47:01PM +0200, Miguel Duarte de Mora Barroso wrote: > Hi all, > > I'm aware that it is possible to plug pre-created macvtap devices to > libvirt guests - tracked in RFE [0]. > > My interpretation of the wording in [1] and [2] is that it is also > possible to plug

Re: libvirt remote uri format

2020-04-06 Thread Daniel P . Berrangé
On Mon, Apr 06, 2020 at 10:45:49AM +0200, Andrea Bolognani wrote: > On Fri, 2020-04-03 at 19:37 -0500, Joe Muro wrote: > > Hi, > > > > I am using python libvirt api to get domain information. When using a uri > > without specifying the socket path, an error occurs. > > > > uri =

Re: libvirt remote uri format

2020-04-06 Thread Daniel P . Berrangé
On Fri, Apr 03, 2020 at 07:37:19PM -0500, Joe Muro wrote: > > Hi, > > I am using python libvirt api to get domain information. When using a uri > without specifying the socket path, an error occurs. > > uri = "qemu+ssh://myu...@some.kvm.host/system" > conn = libvirt.open(uri) > > This results

Re: can libvirt.so use jemalloc to manage mem ?

2020-04-02 Thread Daniel P . Berrangé
On Thu, Apr 02, 2020 at 09:20:20PM +0800, thomas.kuang wrote: > HI, all >My daemon exists a libvirt API call: > virEventRegisterDefaultImpl(); > > > once I called the virEventRegisterDefaultImpl() ,must be core ,the bt stack > is: > > > (gdb) bt > #0 free (ptr=0x1) at

Re: libvirt Source RPMs for CentOS or RHEL?

2020-04-02 Thread Daniel P . Berrangé
On Thu, Apr 02, 2020 at 08:47:30AM +0800, FuLong Wang wrote: > Hello Experts, > > > Do we have libvirt source rpms (version above 5.9.0) for CentOS or RHEL? > > I only find source rpms for fedora in below public link. > > https://libvirt.org/sources/ Please ignore all the RPMs you see there,

Re: Escape character

2020-03-27 Thread Daniel P . Berrangé
On Fri, Mar 27, 2020 at 03:27:56PM +0100, Ján Tomko wrote: > On a Friday in 2020, Erik Skultety wrote: > > On Fri, Mar 27, 2020 at 01:48:58PM +0000, Daniel P. Berrangé wrote: > > > On Fri, Mar 27, 2020 at 01:45:21PM +0100, Ján Tomko wrote: > > > > On a Friday in 2020

Re: Escape character

2020-03-27 Thread Daniel P . Berrangé
On Fri, Mar 27, 2020 at 01:45:21PM +0100, Ján Tomko wrote: > On a Friday in 2020, john doe wrote: > > Hi, > > > > I'm trying to understand how to use the escape character '^]' with the > > below command: > > > > virt-install --name=try06 --graphic none --pxe --network bridge=virbr0 > > --console

Re: Create VM w/ cache=none on tmpfs

2020-03-27 Thread Daniel P . Berrangé
On Fri, Mar 27, 2020 at 12:31:07PM +0100, Miguel Duarte de Mora Barroso wrote: > Hi, > > I've seen that in the past, libvirt couldn't start VMs when the disk > image was stored on a file system that doesn't support direct I/O > having the 'cache=none' configuration [0]. > > On the KubeVirt

Re: Question about local migration between containers

2020-03-26 Thread Daniel P . Berrangé
On Thu, Mar 26, 2020 at 05:25:59PM +0200, Or Shoval wrote: > Hi Daniel, > thanks for the quick reply > > we did try to override SMBIOS > host_uuid_source = "machine-id" > > and it didn't work even that nodes have different > > [root@modi01 kubevirt]# ./cluster-up/ssh.sh kind-1.17.0-worker >

Re: Question about local migration between containers

2020-03-26 Thread Daniel P . Berrangé
On Thu, Mar 26, 2020 at 04:47:50PM +0200, Or Shoval wrote: > Hello > > On kubevirt project we are using IpV6 Kind cluster, > and trying to support migration, > > but since both of the containers are on the same host > we get this error > >

Re: protocol method available on Windows

2020-03-26 Thread Daniel P . Berrangé
On Wed, Mar 25, 2020 at 06:03:47PM +0100, john doe wrote: > Hi libvirts, > > I'm playing with libvirt on Windows (downloaded the x64 msi) but I'm > stuck at the following: > > virsh # net-edit default > error: failed to connect to the hypervisor > error: invalid argument: transport methods unix,

Re: pointer to "spice" device by virNodeDeviceLookupByName

2020-03-18 Thread Daniel P . Berrangé
On Wed, Mar 18, 2020 at 01:25:28PM +0300, Andrey Fokin wrote: > > Thanks, clear! > But may be is a method to get XML description for spice params, like it could > be possible for physical devices? virDomainGetXMLDesc() will give you the XML config for the guest. You can get specific data from

Re: pointer to "spice" device by virNodeDeviceLookupByName

2020-03-18 Thread Daniel P . Berrangé
On Wed, Mar 18, 2020 at 01:10:41PM +0300, Андрей Фокин wrote: > > Is possible to get a pointer to «spice» by virNodeDeviceLookupByName API? > What «name» I should use for? The virNodeDevicePtr APIs are for getting information about physical devices on a host. spice is not a device, it is a

Re: guest-fsfreeze-freeze freezes all mounted block devices

2020-02-21 Thread Daniel P . Berrangé
On Fri, Feb 21, 2020 at 04:35:46PM +0100, Marc Roos wrote: > Link? > > That's not good! Could you report this problem to the QEMU bug tracker. https://www.qemu.org/support/ Regards, Daniel -- |: https://berrange.com -o-https://www.flickr.com/photos/dberrange :| |:

Re: guest-fsfreeze-freeze freezes all mounted block devices

2020-02-21 Thread Daniel P . Berrangé
On Mon, Feb 17, 2020 at 01:52:02PM +0100, Marc Roos wrote: > > Hmmm, using 'virsh domfsinfo testdom' gives me a crash in win2008r2 > (using software from virtio-win-0.1.171.iso) > > Fault bucket , type 0 > Event Name: APPCRASH > Response: Not available > Cab Id: 0 > > Problem signature: > P1:

Re: Cannot turn iommu on inside guest

2020-02-11 Thread Daniel P . Berrangé
On Tue, Feb 11, 2020 at 09:09:36AM -0500, Mauricio Tavares wrote: > So I want to turn iommu support on in a guest ( machine='pc-q35-4.1'>hvm). Per [1] I tried to add to devices > either > > > > > > > > or just a simpler > > > > > > However, when I try to boot it, it

Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-02-04 Thread Daniel P . Berrangé
On Tue, Feb 04, 2020 at 09:11:27AM +0100, Markus Armbruster wrote: > Eric Blake writes: > > > [adding Markus] > > > > On 2/3/20 4:13 AM, Daniel P. Berrangé wrote: > >> On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: > >>> On 1/31/20

Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-02-04 Thread Daniel P . Berrangé
On Tue, Feb 04, 2020 at 09:11:27AM +0100, Markus Armbruster wrote: > Eric Blake writes: > > > [adding Markus] > > > > On 2/3/20 4:13 AM, Daniel P. Berrangé wrote: > >> On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: > >>> On 1/31/20

Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-02-03 Thread Daniel P . Berrangé
On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: > On 1/31/20 4:38 AM, Peter Luo wrote: > > > error: internal error: cannot parse json {"execute": "block-commit", > > "arguments": { "device": "drive-virtio-disk2", "job-id": "job100", > >

Re: Prevent the firewall from being compromised through libvirtd

2020-01-27 Thread Daniel P . Berrangé
On Sat, Jan 25, 2020 at 04:52:40PM +0100, Thomas Luening wrote: > Hello @ all > > The libvirt-daemon compromises the packet-filtering-rules at daemon-startup, > before any VM is started. To prevent this, I first have create a hook-script > which deletes existing rules, but apparently these rules

Re: virsh vol-download uses a lot of memory

2020-01-23 Thread Daniel P . Berrangé
On Thu, Jan 23, 2020 at 10:22:33AM +0100, Michal Privoznik wrote: > On 1/22/20 1:18 PM, Daniel P. Berrangé wrote: > > On Wed, Jan 22, 2020 at 01:01:42PM +0100, Michal Privoznik wrote: > > > For anybody with libvirt insight: virNetClientIOHandleInput() -> > >

Re: virsh vol-download uses a lot of memory

2020-01-22 Thread Daniel P . Berrangé
On Wed, Jan 22, 2020 at 01:01:42PM +0100, Michal Privoznik wrote: > On 1/22/20 11:11 AM, Michal Privoznik wrote: > > On 1/22/20 10:03 AM, R. Diez wrote: > > > Hi all: > > > > > > I am using the libvirt version that comes with Ubuntu 18.04.3 LTS. > > > > I'm sorry, I don't have Ubuntu installed

Re: Reload domain configuration on guest restart

2020-01-16 Thread Daniel P . Berrangé
On Thu, Jan 16, 2020 at 06:56:30PM +0100, Gionatan Danti wrote: > Hi all, > as you surely know, after changing some domain parameters via libvirt (ie: > NIC type), the guest need to be shutdown and restarted. A simple reboot will > not be sufficient, as libvirt will not launch a new qemu domain

Re: libvirt-python: issue on fedora

2020-01-16 Thread Daniel P . Berrangé
On Thu, Jan 16, 2020 at 02:34:21PM +0100, Matthias Tafelmeier wrote: > Hi Daniel, > > > >> > >> ran into oddish glitch on fedora 30 cloud image with tooling based on > >> libvirt-python onpython3.7. *qemu-img *is installed though. Could anyone > >> have a look. > > I don't see qemu-img installed

Re: libvirt-python: issue on fedora

2020-01-16 Thread Daniel P . Berrangé
On Wed, Jan 15, 2020 at 07:04:06PM +0100, Matthias Tafelmeier wrote: > > Hello, > > ran into oddish glitch on fedora 30 cloud image with tooling based on > libvirt-python onpython3.7. *qemu-img *is installed though. Could anyone > have a look. I don't see qemu-img installed there. You've

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 DM

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

2020-01-10 Thread Daniel P . Berrangé
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 on list subscriber's mail servers. IOW, many subscribers are only receiving a subset of mails sent to the libvirt mailing lists. We believe the

Re: [libvirt-users] Locking without virtlockd (nor sanlock)?

2020-01-03 Thread Daniel P . Berrangé
On Fri, Jan 03, 2020 at 02:56:50PM +0100, Gionatan Danti wrote: > Il 03-01-2020 11:26 Daniel P. Berrangé ha scritto: > > virtlockd also uses fcntl(), however, it doesn't have to acquire locks > > on > > the file/block device directly. It can use a look-aside file for > &g

Re: [libvirt-users] Locking without virtlockd (nor sanlock)?

2020-01-03 Thread Daniel P . Berrangé
On Sat, Dec 28, 2019 at 02:36:27PM +0100, Gionatan Danti wrote: > Il 28-12-2019 01:39 Gionatan Danti ha scritto: > > Hi list, > > I would like to ask a clarification about how locking works. My test > > system is CentOS 7.7 with libvirt-4.5.0-23.el7_7.1.x86_64 > > > > Is was understanding that,

Re: [libvirt-users] Domain XML Multicast Tunnel

2019-12-02 Thread Daniel P . Berrangé
On Sat, Nov 30, 2019 at 03:59:54PM +, Richard M wrote: > Hello > I found under networking in the Domain XML 'Multcast tunnel'. > My question is does anyone know what is the intended use of multicast > tunnel networking?What are the potential pitfalls of using such a > configuration other than

Re: [libvirt-users] Fail to build upstream libvirt on rhel8

2019-11-27 Thread Daniel P . Berrangé
On Tue, Nov 26, 2019 at 06:33:13PM -0500, Cole Robinson wrote: > On 11/21/19 3:18 AM, Han Han wrote: > > Hello, > > A compilation failure happened when I tried building libvirt latest code > > on rhel8 > > > > Version: > > gcc-8.3.1-4.5.el8.x86_64 > > libvirt v5.9.0-352-g5e939cea89 > > > >

Re: [libvirt-users] FYI mail problems for libvirt lists

2019-11-20 Thread Daniel P . Berrangé
On Tue, Nov 19, 2019 at 10:00:05AM +, Daniel P. Berrangé wrote: > It has come to our attention that many, possibly even all, people with > non-redhat.com email addresses are unable to send mail to most libvirt > mailing lists, receiving bounce messages saying the address doesn't &

Re: [libvirt-users] Descriptions of mdev types?

2019-11-20 Thread Daniel P . Berrangé
On Wed, Nov 20, 2019 at 09:52:15AM +0100, Milan Zamazal wrote: > Erik Skultety writes: > > > On Tue, Nov 19, 2019 at 05:38:54PM +0100, Milan Zamazal wrote: > >> Hi, when retrieving an mdev device info using `virsh nodedev-dumpxml' or > >> the libvirt API, something like the following is

[libvirt-users] FYI mail problems for libvirt lists

2019-11-19 Thread Daniel P . Berrangé
It has come to our attention that many, possibly even all, people with non-redhat.com email addresses are unable to send mail to most libvirt mailing lists, receiving bounce messages saying the address doesn't exist eg Final-Recipient: rfc822; libvirt-users@redhat.com Action: failed Status:

Re: [libvirt-users] It takes long time to start kvm virtual machine with nwfilter in docker container.

2019-11-04 Thread Daniel P . Berrangé
On Mon, Nov 04, 2019 at 04:55:07PM +0800, John Y. wrote: > 1. It takes minutes to start the virtual machine when I add "filterref" to > libvirt.xml and run command "virsh start vm1". > It also takes minutes to destroy the virtual machine. You don't mention which version of libvirt you have...

Re: [libvirt-users] 32 bit support

2019-10-22 Thread Daniel P . Berrangé
On Fri, Oct 18, 2019 at 09:39:40PM +0100, Phill. Whiteside wrote: > Hi good people, > > I've got a bit of a weird issue. I'm using QEMU emulator version > 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.19) And after some considerable time of > not using it for 32bit installations I now find that it can no

Re: [libvirt-users] X11 apps on lxc

2019-10-22 Thread Daniel P . Berrangé
On Fri, Oct 18, 2019 at 07:12:23PM +, Jesus wrote: > Hi > How can I run X11 apps on the local X11 using libvirt lxc? > I already had this runing on centos 7 but I upgraded to centos 8 (I rebuild > libvirt) and the socket is not in the /tmp/.X11-unix/ folder of the vm any > more. > Can

Re: [libvirt-users] Transient permission denied errors when sending audit logs

2019-10-17 Thread Daniel P . Berrangé
On Thu, Oct 17, 2019 at 11:26:12AM +0200, Roman Mohr wrote: > Hi, > > In kubevirt we are running into a strange permission problem on > libvirt-5.0. We see transient "Permission Denied" errors when "virAuditSend" > wants to send an audit log. [1] shows the logs of one of these containers. > Here

Re: [libvirt-users] Certificate checking on TLS migrations to an IP address

2019-09-23 Thread Daniel P . Berrangé
On Mon, Sep 23, 2019 at 03:04:46PM +0200, Milan Zamazal wrote: > Milan Zamazal writes: > > > Daniel P. Berrangé writes: > > > >> On Wed, Sep 18, 2019 at 12:18:32PM +0200, Milan Zamazal wrote: > >>> Daniel P. Berrangé writes: > >>> > >

Re: [libvirt-users] Privacy Extension not working in VM

2019-09-23 Thread Daniel P . Berrangé
On Sat, Sep 21, 2019 at 11:28:56AM +0200, Thomas Luening wrote: > Hello @ all > > With the rebuilding of my Server from Debian 9 to Debian 10, I also switch > from Virtual Box to Libvirt/KVM. Due to new requirements for the VMs, now I > have an actual problem, which unfortunately I can not solve.

Re: [libvirt-users] Certificate checking on TLS migrations to an IP address

2019-09-19 Thread Daniel P . Berrangé
On Wed, Sep 18, 2019 at 12:18:32PM +0200, Milan Zamazal wrote: > Daniel P. Berrangé writes: > > > On Wed, Sep 04, 2019 at 03:38:25PM +0200, Milan Zamazal wrote: > >> Hi, I'm trying to add TLS migrations to oVirt, but I've hit a problem > >> with certificate check

Re: [libvirt-users] Certificate checking on TLS migrations to an IP address

2019-09-04 Thread Daniel P . Berrangé
On Wed, Sep 04, 2019 at 03:38:25PM +0200, Milan Zamazal wrote: > Hi, I'm trying to add TLS migrations to oVirt, but I've hit a problem > with certificate checking. > > oVirt uses the destination host IP address, rather than the host name, > in the migration URI passed to virDomainMigrateToURI3.

Re: [libvirt-users] RLIMIT_MEMLOCK in container environment

2019-08-22 Thread Daniel P . Berrangé
On Wed, Aug 21, 2019 at 01:37:21PM -0700, Ihar Hrachyshka wrote: > Hi all, > > KubeVirt uses libvirtd to manage qemu VMs represented as Kubernetes > API resources. In this case, libvirtd is running inside an > unprivileged pod, with some host mounts / capabilities added to the > pod, needed by

Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support

2019-08-20 Thread Daniel P . Berrangé
On Tue, Aug 20, 2019 at 01:03:40PM -0400, reza shahriari wrote: > Hi, > > I tried that out, I got a new error about pthreads in my config.log. It finds the header file now which is good, but it still fails to find the libpthread.dll file, which is what LDFLAGS should have addressed

Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support

2019-08-20 Thread Daniel P . Berrangé
On Tue, Aug 20, 2019 at 12:29:15PM -0400, reza shahriari wrote: > Hi, > > I have attached my compressed config file. > > Thanks, > > Reza > > > > > On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé > > wrote: > > > > Re-adding the m

Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support

2019-08-20 Thread Daniel P . Berrangé
Re-adding the mailing list CC - please don't drop it. On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: > Hi, > > I am using msys2. When I run `./configure` without any parameters and I still > see missing pthreads impl. > > I have installed mingw64 cross compiler toolchain.

Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support

2019-08-20 Thread Daniel P . Berrangé
On Mon, Aug 19, 2019 at 03:52:51PM -0400, reza shahriari wrote: > Hi, > > I am trying to compile Libvirt from the source code on windows using msys2 > but keep hitting issues while running `./configure`. > > …. > > checking whether C compiler handles -Wno-suggest-attribute=pure… yes > >

Re: [libvirt-users] Compiling Libvirt on Windows for Hyper V support

2019-08-20 Thread Daniel P . Berrangé
On Tue, Aug 20, 2019 at 11:17:06AM -0400, reza shahriari wrote: > I am passing in: > > ./configure \ > --without-sasl \ > --without-polkit \ > --without-python \ > --without-libxl \ > --without-qemu \ > --without-lxc \ > --without-openvz \ > --without-libvirtd > (The ones on the

<    1   2   3   4   >