ANNOUNCE: Forthcoming changes to libvirt mailing list hosting

2023-10-13 Thread Daniel P . Berrangé
Hello Libvirt Community, For the last 18(!) years, libvirt community mailing lists have been kindly hosted by Red Hat Corporate IT on the redhat.com Mailman installation. In retrospect this wasn't the ideal home for community mailing lists but that decision is ancient history. Unfortunately as a

Re: Issue accidentally creating a '--type' defined pool

2023-10-02 Thread Daniel P . Berrangé
On Fri, Sep 29, 2023 at 09:40:26AM +, Joshua Blake wrote: > Hello, > > I seem to have accidentally created a pool called "--type", but it doesn't > appear in 'virsh pool-list'. See below. > > [root@vh01 /]# virsh pool-define-as --name --type dir --target > /data/storage/ > Pool --type

Re: Help ! libvirt

2023-09-21 Thread Daniel P . Berrangé
On Thu, Sep 21, 2023 at 09:05:43AM +0100, Bhasker C V wrote: > Adding libvirt mailing list > apologies for cross-posting > libvirt version: 9.7.0-1 > > On Thu, Sep 21, 2023 at 8:39 AM john doe wrote: > > > On 9/21/23 09:32, Bhasker C V wrote: > > > I am getting an error with libivrt when I

Re: virtio-mem with virt-install to share memory between guest and host on-demand

2023-09-20 Thread Daniel P . Berrangé
On Fri, Sep 15, 2023 at 02:41:50AM +0100, Daniel Krajnik wrote: > Hi > > I'm trying to Passthrough a GPU to a VM and have it still share its free > memory with the host (just like it would with virtio-balloon). Is this > something virtio-mem is capable of? I've tried to run it, but it immediately

Re: how to build libvirt-go-module statically

2023-09-06 Thread Daniel P . Berrangé
On Wed, Sep 06, 2023 at 03:25:48PM +0800, Jiatong Shen wrote: > Hello community, > >I want to know how to build libvirt-go-module statically? My go version > is 1.17 and libvirt-go-module version is v1.9007.0. Thank you very much for > the help. There is not any way to build fully

Re: SEV, SEV-ES, SEV-SNP

2023-08-29 Thread Daniel P . Berrangé
On Tue, Aug 29, 2023 at 09:54:40AM +0200, Erik Skultety wrote: > On Mon, Aug 28, 2023 at 02:10:42PM -0700, Derek Lee wrote: > > When SEV is enabled in domcapabilities does that just mean any of SEV, > > SEV-ES, SEV-SNP is possible on the hardware? > > No, only means that the CPU has 'sev' in the

Re: site certificate

2023-06-13 Thread Daniel P . Berrangé
On Mon, Jun 12, 2023 at 10:56:29AM +0200, Daan Hoogland wrote: > LS, > I am sure you have already noticed but I want to report it anyway; > When compiling a dependend on > "https://libvirt.org/maven2/net/juniper/tungsten/juniper-tungsten-api/2.0/juniper-tungsten-api-2.0.pom;, I'm not sure what

Re: Cron jobs not working with virsh commands

2023-05-26 Thread Daniel P . Berrangé
On Fri, May 26, 2023 at 12:30:18PM +0200, Jeff Brown wrote: > Recently, while testing backup scripts, I happened to notice that 'virsh > snaphot-create-as . . .' has been failing with 'error: failed to get domain > '$DOMAIN'' when run through crontab. So I've been unwittingly backing up the >

Re: Windows Guest on KVM running "single core" after windows update

2023-05-10 Thread Daniel P . Berrangé
On Tue, May 09, 2023 at 02:00:25PM -0500, Benjammin2068 wrote: > I will say one thing that I noticed is: when giving the guest 8 cores > and not setting the topology, windows device manager shows 8 CPUs but > the task manager only shows 2. Feh. Windows. Historically, if you did NOT specify

Re: Upgrade machine type during migration

2023-03-13 Thread Daniel P . Berrangé
On Sat, Mar 11, 2023 at 06:35:20PM +0100, Michael Schwartzkopff wrote: > Hi, > > > I have an old system. The guest there is defined with: > >   >     hvm >   > > > When I try to migrate this guest to a new system I get the error: > > error: internal error: unable to execute QEMU command

Re: virNetSocketReadWire

2023-03-07 Thread Daniel P . Berrangé
On Tue, Mar 07, 2023 at 01:57:24PM +, Simon Fairweather wrote: > What are the standard reasons for this to fail? > > virNetSocketReadWire:1791 : End of file while reading data: Input/output > error The socket connection to libvirtd / other daemons was abruptly closed. Essentially you can

Re: Need help

2022-12-21 Thread Daniel P . Berrangé
On Wed, Dec 21, 2022 at 08:14:14PM +0530, Gk Gk wrote: > Hi All, > > I am trying to get guest VM's disk statistics using a libvirt python > library as follows: > --- > raw_xml = domain.XMLDesc(0) > for disk in doc.getElementsByTagName('disk'): > disk_data = disk.getElementsByTagName('target') >

Re: libvirt_connect_get_machine_types

2022-12-07 Thread Daniel P . Berrangé
On Wed, Dec 07, 2022 at 11:02:45AM +0100, Michal Prívozník wrote: > On 12/6/22 20:13, Simon Fairweather wrote: > > Thanks for the update. What does this mean? > > > > The only problem is that QEMU feeds us PPM which is not wired to PHP > > really. > > > > We are using this patch to remove

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Daniel P . Berrangé
On Wed, Nov 02, 2022 at 04:08:43PM +0100, Igor Mammedov wrote: > On Wed, 2 Nov 2022 10:43:10 -0400 > Laine Stump wrote: > > > On 11/1/22 7:46 AM, Igor Mammedov wrote: > > > On Mon, 31 Oct 2022 14:48:54 + > > > Daniel P. Berrangé wrote: > > >

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Daniel P . Berrangé
On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > Hi Igor and Laine, > > I would like to revive a 2 years old discussion [1] about consistent network > interfaces in the guest. > > That discussion mentioned that a guest PCI address may change in two cases: > - The PCI topology

Re: Qeustion about how to use domsetlaunchsecstate command correctly.

2022-10-14 Thread Daniel P . Berrangé
On Fri, Oct 14, 2022 at 11:11:08AM +0800, 贺培轩 wrote: > Hello, > I'm new to libvirt. I have tried to launch a sev vm with secret > injection recently, and I found the command domsetlaunchsecstate is what I > need. But I had some problem to make it work. Here is what I did to use > this

Re: Caching qemu capabilities and KubeVirt

2022-10-13 Thread Daniel P . Berrangé
On Tue, Sep 13, 2022 at 05:31:42PM +0200, Roman Mohr wrote: > On Thu, Sep 8, 2022 at 4:32 PM Daniel P. Berrangé > wrote: > > > On Thu, Sep 08, 2022 at 04:22:17PM +0200, Roman Mohr wrote: > > > On Thu, Sep 8, 2022 at 4:04 PM Daniel P. Berrangé > > > wrote: &

Re: Caching qemu capabilities and KubeVirt

2022-09-08 Thread Daniel P . Berrangé
On Thu, Sep 08, 2022 at 04:22:17PM +0200, Roman Mohr wrote: > On Thu, Sep 8, 2022 at 4:04 PM Daniel P. Berrangé > wrote: > > > On Thu, Sep 08, 2022 at 02:23:31PM +0100, Daniel P. Berrangé wrote: > > > On Thu, Sep 08, 2022 at 03:10:09PM +0200, Roman Mohr wrote: > > &

Re: Caching qemu capabilities and KubeVirt

2022-09-08 Thread Daniel P . Berrangé
On Thu, Sep 08, 2022 at 02:23:31PM +0100, Daniel P. Berrangé wrote: > On Thu, Sep 08, 2022 at 03:10:09PM +0200, Roman Mohr wrote: > > On Thu, Sep 8, 2022 at 2:56 PM Daniel P. Berrangé > > wrote: > > > > > On Thu, Sep 08, 2022 at 02:24:00PM +0200

Re: Caching qemu capabilities and KubeVirt

2022-09-08 Thread Daniel P . Berrangé
On Thu, Sep 08, 2022 at 03:10:09PM +0200, Roman Mohr wrote: > On Thu, Sep 8, 2022 at 2:56 PM Daniel P. Berrangé > wrote: > > > On Thu, Sep 08, 2022 at 02:24:00PM +0200, Roman Mohr wrote: > > > Hi, > > > > > > > > > I have a question regarding

Re: Caching qemu capabilities and KubeVirt

2022-09-08 Thread Daniel P . Berrangé
On Thu, Sep 08, 2022 at 02:24:00PM +0200, Roman Mohr wrote: > Hi, > > > I have a question regarding capability caching in the context of KubeVirt. > Since we start in KubeVirt one libvirt instance per VM, libvirt has to > re-discover on every VM start the qemu capabilities which leads to a

Re: Libvirt web application

2022-08-25 Thread Daniel P . Berrangé
On Thu, Aug 25, 2022 at 05:13:37PM +0200, Erik Skultety wrote: > On Thu, Aug 25, 2022 at 10:39:14AM -0400, Callie Martin wrote: > > Please see below for the user's information: > > > > Sender's Name: Chatnaut > > Subject: Request for Libvirt's Web Application Listing > > Sent From:

Re: New functionality in virt-install

2022-08-09 Thread Daniel P . Berrangé
On Tue, Aug 09, 2022 at 12:16:13PM +, O'Reilly, Michael wrote: > Hi libvirt-users, > > I've been tracking the progress of this patch > https://listman.redhat.com/archives/libvir-list/2022-August/233328.html > to enable SGX support in libvirt. > > My question is this. Who is responsible for

Re: Can RHEL7 VM run remote commands to Fedora36 host?

2022-08-01 Thread Daniel P . Berrangé
On Mon, Aug 01, 2022 at 08:41:02AM -0400, Carol Bouchard wrote: > I believe I've found what has messed things up. I've run beaker-in-a-box > ansible scripts > which includes the following role: > https://github.com/beaker-project/beaker-in-a-box/blob/master/roles/libvirt/tasks/main.yml > as well

Re: Can RHEL7 VM run remote commands to Fedora36 host?

2022-08-01 Thread Daniel P . Berrangé
On Mon, Aug 01, 2022 at 07:42:51AM -0400, Carol Bouchard wrote: > These services do not exist > > [cbouchar@ibm-p8-rhevm-17-fsp cbouchar-devel]$ systemctl status > virtxend.service > Unit virtxend.service could not be found. > [cbouchar@ibm-p8-rhevm-17-fsp cbouchar-devel]$ systemctl status >

Re: Can RHEL7 VM run remote commands to Fedora36 host?

2022-08-01 Thread Daniel P . Berrangé
On Fri, Jul 29, 2022 at 08:19:04AM -0400, Carol Bouchard wrote: > The only reason I toggled libvirtd was because the remote virsh commands > failed and > I could see the socket didn't exist. That suggests to me that virtproxyd > wasn't up AND > it was configured at disabled. Note, that it is

Re: Can RHEL7 VM run remote commands to Fedora36 host?

2022-07-29 Thread Daniel P . Berrangé
On Fri, Jul 29, 2022 at 07:49:16AM -0400, Carol Bouchard wrote: > TY VM!!! > virtproxyd was disabled and I can assure you I didn't disable it. > > /run/libvirt/libvirt-sock now exists AND > the remote virsh actions were successful. > > Background on my fedora36 install. I did not do an upgrade.

Re: Can RHEL7 VM run remote commands to Fedora36 host?

2022-07-29 Thread Daniel P . Berrangé
On Wed, Jul 27, 2022 at 01:18:00PM -0400, Carol Bouchard wrote: > I have a Fedora36 laptop which hosts VMs with RHEL7 using libvirt. One of > the RHEL7 VMs, runs remote commands (as root) to 'start' another VM by > way of my laptop. In other words, the following command is run: > virsh

Re: how to get vm uptime through libvirt api

2022-07-26 Thread Daniel P . Berrangé
On Tue, Jul 26, 2022 at 10:27:19AM +0200, Michal Prívozník wrote: > On 7/26/22 10:07, Jiatong Shen wrote: > > thank you very much for reply. I have got another question which is off > > topic. > > Am I able to get vm's process id through libvirt api? > > Unfortunately, no. We specifically try to

Re: The default USB controller of pc machine type

2022-07-15 Thread Daniel P . Berrangé
On Fri, Jul 15, 2022 at 02:36:36PM +0800, Han Han wrote: > On Wed, Jul 13, 2022 at 7:04 PM Daniel P. Berrangé > wrote: > > > On Wed, Jul 13, 2022 at 07:00:17PM +0800, Han Han wrote: > > > Hello, > > > I found that the default USB controller for q35 machine typ

Re: The default USB controller of pc machine type

2022-07-13 Thread Daniel P . Berrangé
On Wed, Jul 13, 2022 at 07:00:17PM +0800, Han Han wrote: > Hello, > I found that the default USB controller for q35 machine type is qemu-xhci > while for pc it is piix3-uhci. Here are the results(on qemu-kvm-7.0.0 > qemu-kvm-7.0.0): > ➜ ~ cat /tmp/usb.xml > > USB >

Re: systemtap stapvirt tool

2022-07-07 Thread Daniel P . Berrangé
On Wed, Jul 06, 2022 at 05:25:32PM -0400, Stan Cox wrote: > stapvirt seems to have a quite similar layout to virsh-console. All is fine > for short packets: > > 1. Send file command to remote, stdin_event gets event > stdin_event:1000 fd 0 events 0x1 stbuf_off 0 stbuf 0x7ffd0e99f848 >

Re: systemtap stapvirt tool

2022-07-06 Thread Daniel P . Berrangé
On Wed, Jul 06, 2022 at 11:43:41AM -0400, Stan Cox wrote: > I am having a quandary with libvirt and am wondering if someone can shed > some light. > > Systemtap converts a probing and instrumentation language into a kernel > module. The module can optionally be run remotely via ssh or libvirt.

Re: Slow VM start/revert, when trying to start/revert dozens of VMs in parallel

2022-05-10 Thread Daniel P . Berrangé
On Mon, May 09, 2022 at 06:52:32PM +, Petr Beneš wrote: > Hi, > > my problem can be described simply: libvirt can't handle starting dozens of > VMs at the same time. > > (technically, it can, but it's really slow.) > > We have an AMD machine with 256 logical cores and 1.5T ram. > On that

Re: macvtap with disconnected physical interface

2022-05-03 Thread Daniel P . Berrangé
On Mon, May 02, 2022 at 03:42:05AM +0200, Gionatan Danti wrote: > Dear list, > I just discovered the hard way that if the lower lever physical interface of > a macvlan bridge is disconnected (ie: by unplugging the eth cable, resulting > in no carrier), inter-guest network traffic from all virtual

Re: When does the balloon-change or control-error event occur

2022-04-19 Thread Daniel P . Berrangé
On Thu, Apr 07, 2022 at 05:16:45PM +0800, Han Han wrote: > Hi developers, > I have questions about balloon-change or control-error event: > 1. What's the meaning of these events > 2. When do the events occur? > > The comments of their callbacks don't mention that( >

Re: Libvirt vs QEMU benefits

2022-04-19 Thread Daniel P . Berrangé
On Wed, Apr 06, 2022 at 12:44:37PM +, M, Shivakumar wrote: > Hello, > > For one of our case validation, we were using direct QEMU commands before for > VM creation as it was easier to configure the VMs. Inside VM we do run the > real-time latency test. > Recently we switched to libvirt for

Re: Debugging hanging libvirt

2022-04-01 Thread Daniel P . Berrangé
On Wed, Mar 30, 2022 at 01:11:50AM +, Tobias Hofmann (tohofman) wrote: > Hello all, > > I have a system with one VM running. After some time the VM needs to be > temporarily stopped and started again. This start operation fails and > from that point on any virsh command is hanging and does

Re: "default" watchdog device - ?

2022-03-15 Thread Daniel P . Berrangé
On Tue, Mar 15, 2022 at 10:39:50AM +, lejeczek wrote: > Hi guys. > > Without explicitly, manually using watchdog device for a VM, the VM (centOS > 8 Stream 4.18.0-365.el8.x86_64) shows '/dev/watchdog' exists. > To double check - 'dumpxml' does not show any such device - what kind of a >

Re: libvirtd file descriptors leaking

2022-02-22 Thread Daniel P . Berrangé
On Tue, Feb 22, 2022 at 06:23:13PM +0300, Дмитрий wrote: > > Updated libvirt with: > > # dnf install @virt > > Not its 2.module_el8.6.0+1087+b42c8331 > > Testing: > > # virt-df -d kvm3551 > > But still, issue remains. Here how it looks like in /proc (all these > socket/pipe symlinks are

Re: libvirtd file descriptors leaking

2022-02-22 Thread Daniel P . Berrangé
On Tue, Feb 22, 2022 at 06:00:50PM +0300, Дмитрий wrote: > Hello, > > ## SETUP > > CentOS 8 Stream > libguestfs-tools.noarch 1:1.40.2-24.el8.plesk > libvirt.x86_64 7.6.0-6.el8s The current libvirt shipping in CentOS 8 Stream is 8.0.0-2.module_el8.6.0+1087+b42c8331 which is 6 months newer

Re: qemu+ssh connections to a remote libvirt fail as ssh banner configured

2022-02-10 Thread Daniel P . Berrangé
On Thu, Feb 10, 2022 at 09:33:38AM +0100, Michal Prívozník wrote: > On 2/10/22 09:02, Daniel P. Berrangé wrote: > > On Thu, Feb 10, 2022 at 09:52:52AM +0800, Yalan Zhang wrote: > >> Hi there, > >> > >> I have a system configured with ssh login banner

Re: qemu+ssh connections to a remote libvirt fail as ssh banner configured

2022-02-10 Thread Daniel P . Berrangé
On Thu, Feb 10, 2022 at 09:52:52AM +0800, Yalan Zhang wrote: > Hi there, > > I have a system configured with ssh login banner like as below: > # cat ~/.bashrc > ... > echo > "=" > echo "== This machine is occupied

Re: udmabuf error with libvirt + QEMU

2022-02-01 Thread Daniel P . Berrangé
On Tue, Feb 01, 2022 at 02:27:55PM +, M, Shivakumar wrote: > Hi, > > We are seeing an issue with udambuf, where it says "open /dev/udmabuf: No > such file or directory " even if the device exits. This issue particularly we > are seeing with libvirt. When we run the QEMU args on the command

Re: DMARC & similar @admins

2022-01-12 Thread Daniel P . Berrangé
On Tue, Jan 11, 2022 at 06:58:29PM +, lejeczek wrote: > > > On 11/01/2022 17:29, Daniel P. Berrangé wrote: > > On Tue, Jan 11, 2022 at 05:18:53PM +, lejeczek wrote: > > > Hi guys > > > > > > My memory fools me? - I remembered this list had DMA

Re: 'migrate' says it worked but in reality it did not - centOS 9

2022-01-11 Thread Daniel P . Berrangé
On Tue, Jan 11, 2022 at 05:14:53PM +, lejeczek wrote: > > > On 11/01/2022 16:36, Daniel P. Berrangé wrote: > > On Tue, Jan 11, 2022 at 04:30:11PM +, lejeczek wrote: > > > Hi guys. > > > > > > I have a peculiar situation where between boxes: &g

Re: DMARC & similar @admins

2022-01-11 Thread Daniel P . Berrangé
On Tue, Jan 11, 2022 at 05:18:53PM +, lejeczek wrote: > Hi guys > > My memory fools me? - I remembered this list had DMAR+other_bits sorted, so > users like myself, on Yahoo, did not loose their own emails. Nope, it is currently unfixable. The mail server software handling @redhat.com culls

Re: 'migrate' says it worked but in reality it did not - centOS 9

2022-01-11 Thread Daniel P . Berrangé
On Tue, Jan 11, 2022 at 04:30:11PM +, lejeczek wrote: > Hi guys. > > I have a peculiar situation where between boxes: > C->A > -> $ virsh migrate --unsafe --live c8kubermaster1 > qemu+ssh://10.1.1.99/system > -> $ echo $? > 0 > but above does _not_ happen, instead!! VM was stopped in started,

Re: Failed in using LD_PRELOAD to hook mmap system call in qemu(through libvirt)

2022-01-06 Thread Daniel P . Berrangé
On Thu, Jan 06, 2022 at 07:44:25PM +0800, Xiong。 wrote: > Dear sir: > I want to hook mmap system call in qemu, and I use > libvirt to passthrough the environment argument like this: > > > > But it failed. I can hardly find out what is the matter! > The log in libvirt like this:ERROR:

Re: simulating multiple hypervisors with the test driver

2022-01-04 Thread Daniel P . Berrangé
On Mon, Jan 03, 2022 at 09:06:35PM -0600, Tom Ammon wrote: > Hello, > > I'm working on a python application that will manage multiple remote > libvirt hypervisors. I've been using the test:///default uri for > single-hypervisor tests, and it works great. > > I'd like to simulate connecting to

Re: Best way to install guest when it is not listed in output of osinfo-query os

2022-01-04 Thread Daniel P . Berrangé
On Tue, Dec 21, 2021 at 02:19:50PM +0100, john doe wrote: > On 12/21/2021 10:41 AM, Andrea Bolognani wrote: > > On Mon, Dec 20, 2021 at 10:59:15PM +0100, Martin Kletzander wrote: > > > Any reason for debian not having an -unknown version like lot of the > > > other distros? > > > > I don't think

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Daniel P . Berrangé
On Tue, Dec 14, 2021 at 06:59:12PM +0800, Qu Wenruo wrote: > > > On 2021/12/14 18:36, Daniel P. Berrangé wrote: > > On Tue, Dec 14, 2021 at 09:34:18AM +, Marc Zyngier wrote: > > > On Tue, 14 Dec 2021 00:41:01 +, > > > Qu Wenruo wrote: > > > >

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Daniel P . Berrangé
On Tue, Dec 14, 2021 at 09:34:18AM +, Marc Zyngier wrote: > On Tue, 14 Dec 2021 00:41:01 +, > Qu Wenruo wrote: > > > > > > > > On 2021/12/14 00:49, Marc Zyngier wrote: > > > On Mon, 13 Dec 2021 16:06:14 +, > > > Peter Maydell wrote: > > >> > > >> KVM on big.little setups is a

Re: Guest vm doesn't recover after the nfs connection resume

2021-12-14 Thread Daniel P . Berrangé
On Tue, Dec 14, 2021 at 03:35:42PM +0800, Liang Cong wrote: > Hi Daniel, > > Thanks for your reply. I tried the nfs hard mount, and got the same > behavior of the soft mount. > But in the /var/log/message, got nfs server recovery message which is not > printed when mounting as soft mode. > > Dec

Re: internal error - invalid characters

2021-12-13 Thread Daniel P . Berrangé
On Mon, Dec 13, 2021 at 09:39:20AM +, lejeczek wrote: > > > On 07/12/2021 11:28, Ján Tomko wrote: > > On a Monday in 2021, lejeczek wrote: > > > Hi guys. > > > > > > Have you seen something like this below? > > > ... > > > internal error: The string resource has invalid characters in its >

Re: Libgfapi gone too?

2021-12-10 Thread Daniel P . Berrangé
On Fri, Dec 10, 2021 at 09:03:55PM +0400, Dmitry Melekhov wrote: > > 10.12.2021 18:27, lejeczek пишет: > > really?? > > That was one of the most useful & practical bits - having libvirt > > to make use of GlusterFS without having to "expose" GF volumes to the > > filesystem. (everybody who do

Re: Libgfapi gone too?

2021-12-10 Thread Daniel P . Berrangé
On Fri, Dec 10, 2021 at 11:18:16AM +, lejeczek wrote: > > > On 10/12/2021 11:08, Daniel P. Berrangé wrote: > > On Thu, Dec 09, 2021 at 08:45:52PM +, lejeczek wrote: > > > Hi guys. > > > > > > Is glusterFS/libgfapi support removed (permanently) t

Re: Libgfapi gone too?

2021-12-10 Thread Daniel P . Berrangé
On Thu, Dec 09, 2021 at 08:45:52PM +, lejeczek wrote: > Hi guys. > > Is glusterFS/libgfapi support removed (permanently) too? In CentOS 9 Stream. Correct, the in-QEMU glusterfs client has been removed from builds of the qemu-kvm RPM in CentOS-9 / RHEL-9. If storing VM disk on gluster you

Re: Guest vm doesn't recover after the nfs connection resume

2021-12-09 Thread Daniel P . Berrangé
On Thu, Dec 09, 2021 at 05:54:15PM +0800, Liang Cong wrote: > Dear developers: > > I found one issue during regular test and I could not confirm whether it is > a libvirt|qemu issue or it is a nfs client issue or it is not an issue, so > could you help to check it? > Below is the issue reproduce

Re: Qemu monitor info tlb gives unable to encode message payload

2021-12-08 Thread Daniel P . Berrangé
On Wed, Dec 08, 2021 at 01:32:48PM +0100, Philipp Klocke wrote: > On 12/8/21 12:09, Peter Krempa wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know > > the content is safe. > > > > > >

Re: No QXL in CentOS 9 Stream?

2021-12-07 Thread Daniel P . Berrangé
On Mon, Dec 06, 2021 at 06:50:36PM +, lejeczek wrote: > Hi. > > There seems to be no QXL (and Spice?) support in versions from CentOS 9 > repos. > Would anybody know if that intended, because something else replaces qxl > perhaps? SPICE is discontinued in RHEL, and thus CentOS too. It

Re: qemu-img create with preallocation=full and compression_type=zlib

2021-11-30 Thread Daniel P . Berrangé
On Tue, Nov 30, 2021 at 02:51:22PM +0100, Richard Taubo wrote: > Hi! > > When running this command on Fedora 35 I get: > [#] qemu-img create -o preallocation=full -f qcow2 /var/vm_mail/mytest.qcow2 > 10GB > => Formatting '/var/vm_mail//mytest.qcow2', fmt=qcow2 . . . > preallocation=full

Re: migrate libvirt config between machines

2021-11-30 Thread Daniel P . Berrangé
On Tue, Nov 30, 2021 at 09:28:36AM +0100, Michal Prívozník wrote: > On 11/29/21 17:37, daggs wrote: > > Greetings, > > > > I'd like to migrate my current libvirt config from one machine to another, > > what is the best way to do so? > > > > Thanks > > > > Do you mean domain/network/... XMLs

Re: virsh create fails with "Unable to find any firmware to satisfy 'efi'" for aarch64 guest on macOS

2021-11-30 Thread Daniel P . Berrangé
On Tue, Nov 30, 2021 at 02:40:07AM -0800, Andrea Bolognani wrote: > On Tue, Nov 30, 2021 at 09:54:38AM +0100, Michal Prívozník wrote: > > On 11/30/21 06:49, Nathan Vander Wilt wrote: > > > Ah, but it looks like the arm64 -> VIR_ARCH_AARCH64 patch > > > is still in limbo? AFAICT that's the main

Re: Cannot access KVM using virsh console after KVM rebooted or shut off

2021-11-16 Thread Daniel P . Berrangé
On Mon, Nov 15, 2021 at 06:13:22PM -0500, Yifei Liu wrote: > Dear all, > > I used ssh with -X option to connect to an Ubuntu remote server where I > applied virsh > (libvirt) to manage my KVM virtual machines, and my local machine is MacOS. > Then, > I used virt-install to install a Tiny Core

Re: is there a way to stop a domain in 'D' process state (uninterruptible) ?

2021-10-21 Thread Daniel P . Berrangé
On Thu, Oct 21, 2021 at 06:08:58PM +0200, Lentes, Bernd wrote: > Hi, > > how can i stop/shutdown a domain which is in process state 'D' ? > 'D' means uninterruptible and a process in 'D' can't be terminated by kill, > even not with kill -9. Yeah, this is tricky. Usually this is a result of an

Re: snapshot creation broken recently?

2021-09-09 Thread Daniel P . Berrangé
On Thu, Sep 09, 2021 at 02:33:25PM +0200, Štěpán Němec wrote: > > Hello, > > until very recently I had been happily creating snapshots of running VMs > (created using virt-install) simply with > > virsh --connect qemu:///system snapshot-create-as > > > Now when I try to do that I get

Re: vm vcpu uses isolated cores

2021-09-02 Thread Daniel P . Berrangé
On Thu, Sep 02, 2021 at 10:24:08AM +0200, Martin Kletzander wrote: > On Thu, Sep 02, 2021 at 10:44:06AM +0800, Jiatong Shen wrote: > > Hello, > > > > I am trying to understand why qemu vm CPU threads uses isolated cpus. > > > > I have a host which isolates some cpus using isolcpu > > like

Re: a test email (& dmarc) @admins

2021-08-16 Thread Daniel P . Berrangé
On Mon, Aug 16, 2021 at 07:23:25PM +0100, lejeczek wrote: > > > On 16/08/2021 09:35, Daniel P. Berrangé wrote: > > On Sat, Aug 14, 2021 at 09:38:50AM +0100, lejeczek wrote: > > > hi guys. > > > I sent email a while ago and I wonder, also having not received a

Re: a test email (& dmarc) @admins

2021-08-16 Thread Daniel P . Berrangé
On Sat, Aug 14, 2021 at 09:38:50AM +0100, lejeczek wrote: > hi guys. > I sent email a while ago and I wonder, also having not received a single > reply, because I did not get that own email - is there are problem I'm > having here or DMARC(yahoo & others?) are not fixed in by this mailing list > -

Re: RX throttling causes keep-alive timeout

2021-08-04 Thread Daniel P . Berrangé
On Wed, Aug 04, 2021 at 04:16:10PM +, Ivan Teterevkov wrote: > Hello folks, > > I recently discovered that the max_client_requests configuration option > affects the keep-alive RPC and can cause the connection timeout, and I > wanted to verify if my understanding is correct. > > Let me

Re: virsh qemu-monitor-command block_resize not working

2021-07-14 Thread Daniel P . Berrangé
On Wed, Jul 14, 2021 at 10:10:35AM +0200, arjen-libv...@gugu.be wrote: > Hi List, > > some version info: > ]# /usr/libexec/qemu-kvm -version > QEMU emulator version 4.2.0 > (qemu-kvm-4.2.0-48.module+el8.4.0+534+4680a14e) Copyright (c) 2003-2019 > Fabrice Bellard and the QEMU Project developers >

Re: host identifier

2021-07-05 Thread Daniel P . Berrangé
On Mon, Jul 05, 2021 at 08:31:15AM +0800, Jiatong Shen wrote: > Hello community, > > I am using OpenStack nova and realize that nova now uses host fqdn from > libvirt as a uniq identifier for a compute node. The issue is that host > might need to change its fqdn under some > rare circumstances

Re: issue when not using acpi indices in libvirt 7.4.0 and qemu 6.0.0

2021-06-23 Thread Daniel P . Berrangé
On Wed, Jun 23, 2021 at 06:49:12PM +0200, Riccardo Ravaioli wrote: > Hi everyone, > > We have an issue with how network interfaces are presented in the VM with > the latest libvirt 7.4.0 and qemu 6.0.0. > > Previously, we were on libvirt 7.0.0 and qemu 5.2.0, and we used increasing > virtual PCI

Re: the SSL cert of libvirt.org is outdated

2021-06-14 Thread Daniel P . Berrangé
On Mon, Jun 14, 2021 at 09:21:48AM +0100, Daniel P. Berrangé wrote: > On Mon, Jun 14, 2021 at 02:14:32PM +0800, 伍翀 wrote: > > hi, there, > > > > the SSL cert of libvirt.org is outdated, could anyone replace it as new one? > > Unfortunately the auto-renew process

Re: the SSL cert of libvirt.org is outdated

2021-06-14 Thread Daniel P . Berrangé
On Mon, Jun 14, 2021 at 02:14:32PM +0800, 伍翀 wrote: > hi, there, > > the SSL cert of libvirt.org is outdated, could anyone replace it as new one? Unfortunately the auto-renew process has broken, and it appears to not be quickly fixable because LetsEncrypt have disabled the v1 ACME API that our

Re: [Virtio-fs] virtiofs mounted filesystems & SELinux

2021-06-07 Thread Daniel P . Berrangé
On Fri, Jun 04, 2021 at 02:59:29PM +0100, Daniel P. Berrangé wrote: > On Fri, Jun 04, 2021 at 09:44:39AM -0400, Vivek Goyal wrote: > > On Thu, Jun 03, 2021 at 10:14:24PM -0400, Link Dupont wrote: > > > On Thu, Jun 3 2021 at 08:56:46 PM -0400, Link Dupont > > > w

Re: [Virtio-fs] virtiofs mounted filesystems & SELinux

2021-06-04 Thread Daniel P . Berrangé
On Fri, Jun 04, 2021 at 10:43:13AM -0400, Vivek Goyal wrote: > On Fri, Jun 04, 2021 at 02:59:29PM +0100, Daniel P. Berrangé wrote: > > On Fri, Jun 04, 2021 at 09:44:39AM -0400, Vivek Goyal wrote: > > > On Thu, Jun 03, 2021 at 10:14:24PM -0400, Link Dupont wrote: > > > &g

Re: [Virtio-fs] virtiofs mounted filesystems & SELinux

2021-06-04 Thread Daniel P . Berrangé
On Fri, Jun 04, 2021 at 09:44:39AM -0400, Vivek Goyal wrote: > On Thu, Jun 03, 2021 at 10:14:24PM -0400, Link Dupont wrote: > > On Thu, Jun 3 2021 at 08:56:46 PM -0400, Link Dupont > > wrote: > > > reproducible scenarios > > > > Alright. I reran my tests with a CentOS 8 guest. On CentOS 8 (with

Re: How to hot plugin a new vhost-user-blk-pci device to running VM?

2021-05-24 Thread Daniel P . Berrangé
On Mon, May 24, 2021 at 01:04:44PM +0200, Michal Prívozník wrote: > On 5/21/21 5:28 PM, 梁朝军 wrote: > > Thanks all of you for your help. > > One more question regarding vhost-user-blk-pci type device, how to > > identify a vhost-blk disk in QEUM VM ? for example, disk name looks like > >

Re: l3 cache and cpu pinning

2021-04-23 Thread Daniel P . Berrangé
On Thu, Apr 22, 2021 at 01:34:18PM +0200, Roman Mohr wrote: > On Thu, Apr 22, 2021 at 1:24 PM Roman Mohr wrote: > > > > > > > On Thu, Apr 22, 2021 at 1:19 PM Roman Mohr wrote: > > > >> > >> > >> On Wed, Apr 21, 2021 at 1:09 PM Daniel

Re: l3 cache and cpu pinning

2021-04-21 Thread Daniel P . Berrangé
On Wed, Apr 21, 2021 at 12:09:42PM +0100, Daniel P. Berrangé wrote: > On Wed, Apr 21, 2021 at 12:53:49PM +0200, Roman Mohr wrote: > > Hi, > > > > I have a question regarding enabling l3 cache emulation on Domains. Can > > this also be enabled without cpu-pinning,

Re: l3 cache and cpu pinning

2021-04-21 Thread Daniel P . Berrangé
On Wed, Apr 21, 2021 at 12:53:49PM +0200, Roman Mohr wrote: > Hi, > > I have a question regarding enabling l3 cache emulation on Domains. Can > this also be enabled without cpu-pinning, or does it need cpu pinning to > emulate the l3 caches according to the cpus where the guest is pinned to? I

Re: Live migration with change to setmaxmem

2021-04-07 Thread Daniel P . Berrangé
On Wed, Apr 07, 2021 at 07:45:47AM -0700, Dariusz Smigiel wrote: > Hi Team, > > I need to migrate beefy instance between two different hosts which is > running out of resources. > > I was wondering, if there is a way to change maximum memory value during > live migration, without shutting down

Re: virsh capabilities does not include qemu

2021-03-22 Thread Daniel P . Berrangé
On Mon, Mar 22, 2021 at 01:57:24PM +0100, Michal Privoznik wrote: > On 3/22/21 5:17 AM, shafnamol N wrote: > > Hi, > > I am new  to Libvirt and Qemu.I have installed Libvirt 7.1.0 and > > qemu-kvm 4.2.0. > > I configured and built libvirt based on instructions from > >

Re: Question about migrate the vm with host-passthrough cpu

2021-02-25 Thread Daniel P . Berrangé
On Wed, Feb 24, 2021 at 09:42:37PM +0800, Guoyi Tu wrote: > Hi there, > > Sorry to bother you, but could I ask you a question about the live migration > of virtual machine configured with host-passthough cpu, it confuse me a lot. > > Here i have two hosts with different cpu, and the cpu feature

Re: Some confusion about lsilogic controller

2021-02-24 Thread Daniel P . Berrangé
On Wed, Feb 24, 2021 at 09:11:03AM +, xingchaochao wrote: > > Hello, > I have been confused by such a phenomenon recently. > Libvirt is the master branch , and the VM is centos8.2(kernel is > 4.18.0-193.el8.aarch64). > When I hot-plug the scsi disk for a virtual machine without a virtio-scsi

Re: [ovirt-devel] Issue: Device path changed after adding disks to guest VM

2021-01-06 Thread Daniel P . Berrangé
On Wed, Jan 06, 2021 at 04:36:46PM +0100, Peter Krempa wrote: > On Wed, Jan 06, 2021 at 17:16:24 +0200, Nir Soffer wrote: > > On Wed, Dec 2, 2020 at 4:57 PM Joy Li wrote: > > [...] > > > Comparing to state before reboot: > > > > # virsh -r domblklist disk-mapping > > Target Source > >

Re: Migration via qemu+ssh using a given private ssh key possible ?

2021-01-06 Thread Daniel P . Berrangé
On Tue, Jan 05, 2021 at 07:39:49PM +0100, Oliver Dzombic wrote: > Hi Peter, > > thank you very much for this hint. Seems to work! :) > > But i also tried another switch: no_verify=1 > > The whole call: > > virsh -K0 -k0 migrate --copy-storage-inc --verbose --persistent --live > testInstance >

Re: relation between "virbr0" / "virbr0-nic" network interfaces

2021-01-04 Thread Daniel P . Berrangé
On Fri, Jan 01, 2021 at 10:24:41AM +0100, vrms wrote: > I am trying to understand KVM networking a little better and have noted > that the "virbr0" network interface (the default KVM bridge) comes with > another device named "virbr0-nic". > The same kind of pair comes with each new bridge you may

Re: live migration with authentication - how?

2020-12-15 Thread Daniel P . Berrangé
On Tue, Dec 15, 2020 at 12:38:39PM +, lejeczek wrote: > Hi guys. > > I'm trying I assumed something very crude, logic suggested I should try it > first: > > $ virsh migrate reactos > qemu+ssh://dzien/system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf > Please enter your authentication

Re: Libvirt driver iothread property for virtio-scsi disks

2020-11-04 Thread Daniel P . Berrangé
On Wed, Nov 04, 2020 at 05:48:40PM +0200, Nir Soffer wrote: > The docs[1] say: > > - The optional iothread attribute assigns the disk to an IOThread as defined > by > the range for the domain iothreads value. Multiple disks may be assigned to > the same IOThread and are numbered from 1 to

Re: Fail to build libvirt upstream rpm on fedora 33

2020-10-30 Thread Daniel P . Berrangé
On Fri, Oct 30, 2020 at 10:30:00AM +0800, Han Han wrote: > Hello, > I encountered errors when building rpm on fedora33: > > Versions: > libvirt: v6.9.0-rc2 > gcc-10.2.1-5.fc33.x86_64 > meson-0.55.3-1.fc33.noarch > ninja-build-1.10.1-2.fc33.x86_64 > binutils-2.35-11.fc33.x86_64 > > Steps: > 1.

Re: Encrypting boot partition Libvirt not showing the OS booting up

2020-10-13 Thread Daniel P . Berrangé
On Tue, Oct 13, 2020 at 10:40:11AM +0200, john doe wrote: > On 10/13/2020 8:50 AM, john doe wrote: > > On 10/13/2020 3:30 AM, Laine Stump wrote: > > > On 10/12/20 1:10 PM, john doe wrote: > > > > On 10/12/2020 5:14 PM, Michal Privoznik wrote: > > > > > On 10/12/20 4:27 PM, john doe wrote: > > > >

Re: Is it possible that "virsh destroy" does not stop a domain ?

2020-10-08 Thread Daniel P . Berrangé
On Thu, Oct 08, 2020 at 06:25:32PM +0200, Lentes, Bernd wrote: > > > - On Oct 7, 2020, at 7:26 PM, Peter Crowther peter.crowt...@melandra.com > wrote: > > > Bernd, another option would be a mismatch between the message that "virsh > > destroy" issues and the message that force_stop() in

Re: what does "virsh destroy" really ?

2020-10-06 Thread Daniel P . Berrangé
On Tue, Oct 06, 2020 at 09:15:57AM +0200, Martin Kletzander wrote: > On Mon, Oct 05, 2020 at 07:12:34PM -0400, Digimer wrote: > > On 2020-10-05 6:04 p.m., Lentes, Bernd wrote: > > > Hi, > > > > > > what does "virsh destroy" with the domain ? Send a kill -9 to the process > > > ? > > > > > >

Re: Help on Meson build Error

2020-09-25 Thread Daniel P . Berrangé
On Fri, Sep 25, 2020 at 05:31:09PM +0800, Wei Wang wrote: > On Fri, Sep 25, 2020 at 5:24 PM Andrea Bolognani > wrote: > > > On Fri, 2020-09-25 at 10:16 +0100, Daniel P. Berrangé wrote: > > > On Fri, Sep 25, 2020 at 05:03:24PM +0800, Wei Wang wrote: > > > > /

Re: Help on Meson build Error

2020-09-25 Thread Daniel P . Berrangé
On Fri, Sep 25, 2020 at 11:23:57AM +0200, Andrea Bolognani wrote: > On Fri, 2020-09-25 at 10:16 +0100, Daniel P. Berrangé wrote: > > On Fri, Sep 25, 2020 at 05:03:24PM +0800, Wei Wang wrote: > > > /usr/local/bin/rst2html5 --stylesheet= --strict docs/manpages/virsh.rst > > &

Re: Help on Meson build Error

2020-09-25 Thread Daniel P . Berrangé
On Fri, Sep 25, 2020 at 10:40:34AM +0200, 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 wrote: > > > > In file included from ../src/util/virfile.c:42:

Re: Help on Meson build Error

2020-09-25 Thread Daniel P . Berrangé
On Fri, Sep 25, 2020 at 05:03:24PM +0800, Wei Wang wrote: > On Fri, Sep 25, 2020 at 4:54 PM Daniel P. Berrangé > wrote: > > > > > > Yes, I tried, but it fails with > > > ../src/util/virfile.c:42:11: fatal error: libutil.h: No such file or > > > direct

  1   2   3   4   >