Re: CAN virtualization

2023-09-18 Thread Martin Kletzander
t any time soon. Have a nice day, Martin Thank you! Márton -Original Message----- From: Martin Kletzander Sent: Tuesday, August 29, 2023 9:16 AM To: Sánta, Márton (ext) Cc: libvirt-users@redhat.com Subject: Re: CAN virtualization On Wed, Aug 23, 2023 at 01:15:36PM +, Sánta, Márton (

Re: Question about encryption and tls

2023-09-11 Thread Martin Kletzander
On Sun, Sep 10, 2023 at 01:00:21PM +0200, Kamil Jońca wrote: (Posted few days ago on qemu group but no reactions) Do I understand correctly that ssl shoudl be configured independently for libvirt and each hypervisor? It depends what you are asking about. There are various connections, each

Re: CAN virtualization

2023-08-29 Thread Martin Kletzander
On Wed, Aug 23, 2023 at 01:15:36PM +, Sánta, Márton (ext) wrote: Dear Users, I use KVM with libvirt 9.0.0. The host and guest OS-es are also AGL needlefish images. I am currently trying to virtualize a CAN driver and provide virtual machines access to the physical CAN channels. I started

Re: You will need to grant the 'libvirt-qemu' user search permissions for the following directories....

2023-08-07 Thread Martin Kletzander
On Mon, Aug 07, 2023 at 01:06:55PM +0200, Sebastien WILLEMIJNS wrote: Hello, Why LIBVIRT software/libs need to chown "near the root level" (home/blahblah/) when raw/vdi/vhd can contains lots of directories as /home/user/Virtual_HDs/desktop/daddy/private/bedroom/number2/hd.vdi ? on ubuntu,

Re: virsh not connecting to libvertd ?

2023-06-08 Thread Martin Kletzander
On Tue, Jun 06, 2023 at 04:56:38PM -0400, Jerry Buburuz wrote: I have identical two hypervisors same operating system: Ubuntu 22.04.2 LTS Recently both virsh stopped talking to the libvirtd. Both stopped within a few days of each other. Currently if I run: virsh uri virsh version virsh list

Re: Question regaring correct usage of CPU shares

2023-05-26 Thread Martin Kletzander
On Fri, May 12, 2023 at 11:36:36AM +, mailing-libv...@posteo.de wrote: Hi there, Hi, sorry for the late answer. I have a question regarding the shares option of the cputune section. I want to illustrate my question with the following example. Let's assume I have two virtual machines

Re: How can I check the history of all console logs starting from the first second of bootup

2022-09-22 Thread Martin Kletzander
On Thu, Sep 22, 2022 at 10:24:46AM +0800, Lucas Liu wrote: Gratings: Recently, I got an error while installing a guest, the error message is this,: [image: image.png] Is there a method to get the full log? I have tried to use virt-install --console, or attach to get the full log, but they

Re: Backup KVM Guest VM in OVA or VMDK format

2022-09-21 Thread Martin Kletzander
On Mon, Sep 19, 2022 at 09:13:37PM +0530, Kaushal Shriyan wrote: On Wed, Sep 14, 2022 at 7:38 PM Kaushal Shriyan wrote: On Sat, Sep 3, 2022 at 12:28 AM Kaushal Shriyan wrote: On Thu, Sep 1, 2022 at 9:39 PM Kaushal Shriyan wrote: Hi, Is there a way to backup KVM Guest VM in

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

2022-08-01 Thread Martin Kletzander
cket ought to be enough, no need for the service to run when nobody is connected. Looks like it is set up properly now, maybe it was some misconfig or a stuck socket somewhere. On Mon, Aug 1, 2022 at 5:02 AM Martin Kletzander wrote: On Thu, Jul 28, 2022 at 02:14:30PM -0400, Carol Bouchard wrote

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

2022-08-01 Thread Martin Kletzander
On Thu, Jul 28, 2022 at 02:14:30PM -0400, Carol Bouchard wrote: I have a test environment that use to work but no longer does. My laptop is Fedora36 (libvirt version 8.1.0.2) while the VMs it spawns are RHEL7 (max libvirt version is 4.5.0). The source of my problem seems to be that RHEL7 libvirt

Re: Incomplete information in the website Wiki for libvirt.org

2022-07-04 Thread Martin Kletzander
On Fri, Jul 01, 2022 at 04:37:55AM -0500, Uriel Emmanuel Pelaez Hernández wrote: Dear Web Marster from wiki.libvirt.org, I tried to look for the libvirtd, the demon that is suppose to run under Linux/Unix environment, but your site didn't show any information. Only a statement appeared: "Create

Re: [Libvirt][emulator-cores][dpdk] Emulatorpin cpuset best practices

2022-06-07 Thread Martin Kletzander
On Wed, Jun 01, 2022 at 05:57:14PM -0400, Laurent Dumont wrote: Hey folks, I am curious to understand a bit more the core use of the emulatorpin CPUs with libvirt. For example : qemu launched like this is one process with (at least, but let's omit that) 5 threads.

Re: Help with libvirt

2022-04-13 Thread Martin Kletzander
On Mon, Apr 11, 2022 at 01:06:54PM +, Eduardo Kiassucumuca wrote: Good morning I'm Eduardo, a computer science student and I'm doing a final course work focused on virtualization. The work consists of creating virtual machines on a server and allowing ssh access to the virtual machines that

Re: Libvirt Daemon Question

2022-04-13 Thread Martin Kletzander
On Fri, Apr 01, 2022 at 05:56:06PM -0400, Michael Espinoza wrote: Hi I’ve been googling this for a bit with no luck. Is there a way of determining what mode an already running libvirt daemon is running in.(session or system) From the docs it sounded like it was determined by what user started

Re: How to make the libvirt VM installed under the regular user boot during the system bootup?

2022-03-21 Thread Martin Kletzander
On Sun, Mar 20, 2022 at 10:09:36PM +0200, Martin T wrote: Hi. I installed a virtual machine under a regular user(in other words, not under root user) with virt-install and configured this VM to boot automatically: $ virsh dominfo vm Id: 1 Name: vm UUID:

Re: networking question

2022-02-25 Thread Martin Kletzander
On Thu, Feb 24, 2022 at 07:07:18PM +0100, Natxo Asenjo wrote: hi, I have an issue with one host at a customer's site. I think this cannot work, but I would like to ask you just in case I am confused. host: eno1: 172.20.10.x/24 management interface gw 172.20.10.254 bridge-service: 0.0.0.0/24

Re: frequent network collapse possibly due to bridging

2022-01-24 Thread Martin Kletzander
On Fri, Jan 21, 2022 at 08:42:58AM -0600, Hakan E. Duran wrote: Hi, I would like some help to troubleshoot the problem I have been having lately with my VM host, which contains 5 VMs, one of which is for pi-hole, unbound services. It has been a relatively common occurrence in the last few weeks

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

2021-12-20 Thread Martin Kletzander
On Mon, Dec 20, 2021 at 03:26:09AM -0800, Andrea Bolognani wrote: On Mon, Dec 20, 2021 at 06:52:46AM +0100, john doe wrote: Hello all, I would like to install Debian Bullseye using virt-install, as part of the command I usually specify the OS used with the option '--os-variant'. This works

Re: Libvirt + Debian Live = Heart Attack

2021-11-25 Thread Martin Kletzander
this information is the literal definition of freedom IMO, thank you all! Thanks ;) On Thu, Nov 25, 2021, 11:40 AM Martin Kletzander wrote: On Wed, Nov 24, 2021 at 06:21:22PM +0100, Elias Mobery wrote: >Hey Martin & Michal, thank you both for the replies! > >Yes, sorry I messed up that s

Re: Libvirt + Debian Live = Heart Attack

2021-11-25 Thread Martin Kletzander
e day Martin On Wed, Nov 24, 2021, 5:10 PM Martin Kletzander wrote: On Wed, Nov 24, 2021 at 04:01:34PM +0100, Elias Mobery wrote: >Hello Michal, thank you for the reply! > >I've carefully tested everything you suggested, thanks. > >I set dynamic_ownership=0 and use these hooks

Re: Libvirt + Debian Live = Heart Attack

2021-11-24 Thread Martin Kletzander
On Wed, Nov 24, 2021 at 04:01:34PM +0100, Elias Mobery wrote: Hello Michal, thank you for the reply! I've carefully tested everything you suggested, thanks. I set dynamic_ownership=0 and use these hooks during the live build for permissions. (I googled a lot, and apparently libvirt needs the

Re: vm vcpu uses isolated cores

2021-09-02 Thread Martin Kletzander
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 isolcpus=1,2,3,4,5,7,8,9,10,11. unfortunately, vcpupin does not mask out these cpus (vcpupin

Re: Are secrets hidden from admins too - ?

2021-08-16 Thread Martin Kletzander
On Mon, Aug 09, 2021 at 11:48:11AM +0100, lejeczek wrote: Hi guys. On a remote & "shared" systems - are private secrets completely 100% safe? Can root get to those? (naturally excluding hacking of unknown bugs & exploits and theories such as "no computer system is ultimately safe") Well, the

Re: issues with vm after upgrade

2021-08-12 Thread Martin Kletzander
On Wed, Aug 11, 2021 at 08:53:10PM +0200, daggs wrote: Greetings Martin, Sent: Wednesday, August 11, 2021 at 6:08 PM From: "daggs" To: "Martin Kletzander" Cc: d...@berrange.com, libvirt-users@redhat.com Subject: Re: issues with vm after upgrade Greetings Martin, >

Re: issues with vm after upgrade

2021-08-11 Thread Martin Kletzander
On Wed, Aug 11, 2021 at 03:09:34PM +0200, daggs wrote: Greetings Martin, Sent: Wednesday, August 11, 2021 at 10:14 AM From: "Martin Kletzander" To: "daggs" Cc: d...@berrange.com, libvirt-users@redhat.com Subject: Re: issues with vm after upgrade On Tue, Aug 10, 2021

Re: vmware ESXi in KVM

2021-08-11 Thread Martin Kletzander
On Tue, Aug 10, 2021 at 09:45:37PM +0200, Gunnar wrote: I am trying to install esxi7 inside a KVM machine virt-install --name=esxi7 \ --vcpus=2 \ --memory=4096 \ --cdrom=/home/username/isos/VMware-VMvisor-Installer-7.0U2a-17867351.x86_64.iso \ --disk size=33 \

Re: issues with vm after upgrade

2021-08-11 Thread Martin Kletzander
On Tue, Aug 10, 2021 at 09:21:00PM +0200, daggs wrote: Greetings Martin, Dan Sent: Wednesday, August 04, 2021 at 1:54 PM From: "daggs" To: "Martin Kletzander" Cc: libvirt-users@redhat.com, d...@berrange.com Subject: Re: issues with vm after upgrade Greetings Martin

Re: issues with vm after upgrade

2021-08-04 Thread Martin Kletzander
On Wed, Aug 04, 2021 at 10:30:29AM +0200, daggs wrote: Greetings Martin , Sent: Wednesday, August 04, 2021 at 11:11 AM From: "Martin Kletzander" To: "daggs" Cc: libvirt-users@redhat.com, d...@berrange.com Subject: Re: issues with vm after upgrade On Tue, Aug 03, 2021

Re: issues with vm after upgrade

2021-08-04 Thread Martin Kletzander
On Tue, Aug 03, 2021 at 08:47:20PM +0200, daggs wrote: Sent: Tuesday, August 03, 2021 at 6:51 PM From: "daggs" To: d...@berrange.com Cc: "Martin Kletzander" , libvirt-users@redhat.com Subject: Re: issues with vm after upgrade Greetings Daniel, > Sent: Tuesday, Aug

Re: issues with vm after upgrade

2021-08-03 Thread Martin Kletzander
On Mon, Aug 02, 2021 at 04:33:20PM +0200, daggs wrote: Greetings Martin, Sent: Monday, August 02, 2021 at 12:17 PM From: "Martin Kletzander" To: "daggs" Cc: libvirt-users@redhat.com Subject: Re: issues with vm after upgrade On Sat, Jul 31, 2021 at 12:19:59PM +0200, dag

Re: issues with vm after upgrade

2021-08-02 Thread Martin Kletzander
On Sat, Jul 31, 2021 at 12:19:59PM +0200, daggs wrote: Greetings, a few weeks ago I've upgraded my system, this resulted with qemu and libvirt being upgraded to 6.0.0 and ~7.5.0 respectfully. I have two vms running on my system, router and streamer. the router vm works great, the streamer vm

Re: how to build a github release tarball

2021-07-14 Thread Martin Kletzander
On Wed, Jul 14, 2021 at 08:44:52PM +0800, Jiatong Shen wrote: Hello community, I am trying to figure out a way to build a release tarball like https://github.com/libvirt/libvirt/releases?after=v6.2.0, for libvirt 6.0.0, but don't know how. Could anyone teach me how to package it? thank

Re: move mount permission denied

2021-04-12 Thread Martin Kletzander
On Wed, Mar 31, 2021 at 05:20:34PM +0800, Jiatong Shen wrote: Hello community! I am faced with a mysterious [error]( https://gist.github.com/jshen28/5f29eed51e0a1308684214b35f009478) which says move mount is not permissioned. We are using libvirt with openstack-helm which running libvirt in a

Re: Installing Kali Linux as Guest OS in KVM Hypervisor

2020-12-11 Thread Martin Kletzander
On Tue, Dec 01, 2020 at 09:58:26PM +0530, Kaushal Shriyan wrote: Hi, I have run the below command to install Kali Linux using linux-2020.4-installer-amd64.iso from https://www.kali.org/downloads/ #virt-install --name kalilinux --memory 4096 --vcpus=2

Re: image works in native but not in vm when cpu mode='host-passthrough' is set

2020-11-23 Thread Martin Kletzander
On Fri, Nov 20, 2020 at 08:06:08AM +0100, daggs wrote: Greetings Martin, Sent: Thursday, November 19, 2020 at 11:23 PM From: "Martin Kletzander" To: "daggs" Cc: "libvirt-usersredhat.com" Subject: Re: image works in native but not in vm when cpu mode='host-pa

Re: image works in native but not in vm when cpu mode='host-passthrough' is set

2020-11-19 Thread Martin Kletzander
On Tue, Nov 17, 2020 at 11:32:29AM +0100, daggs wrote: Greetings. I have an image I've created with a bunch of chost flags which works on my machine when it comes to native boot. if I take that same image into a vm managed via libvirt, I get kernel panic. I'd assume that something is missing

Re: unable to find any master var store for loader error

2020-10-13 Thread Martin Kletzander
On Mon, Oct 12, 2020 at 10:52:25PM +0200, daggs wrote: Greetings, I have the following machine: https://dpaste.com/5BPA3F77F which I'm trying to boot in uefi. /etc/libvirt/qemu.conf looks like this: https://dpaste.com/B3SFHUY6R and the ovmf files exists in the path, see: # ll

Re: Building libvirt library without libvirtd or virsh

2020-10-08 Thread Martin Kletzander
On Wed, Oct 07, 2020 at 04:50:26PM -0700, Román González wrote: Hello there, I'm trying to play with musl and libvirt to see if I'm able to build a libvirt client binary without dynamic lib dependencies. I have two questions: 1) to your knowledge, is this exercise futile? 2) Do you know if

Re: what does "virsh destroy" really ?

2020-10-06 Thread Martin Kletzander
On Tue, Oct 06, 2020 at 10:22:03AM +0200, Michael Hierweck wrote: On 06.10.20 10:16, Daniel P. Berrangé wrote: You don't need to be so scared of virsh destroy. It is simply akin to pulling out the power plug, and modern OS with a decent journaling filesystem will recover from that quite

Re: what does "virsh destroy" really ?

2020-10-06 Thread Martin Kletzander
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 ? Bernd It forces the guest off, like pulling the power on a hardware machine. Not sure of the exact

Re: can't define domain - error: cannot open /dev/null: Operation not permitted

2020-09-21 Thread Martin Kletzander
On Sun, Sep 20, 2020 at 01:09:51PM +0200, Lentes, Bernd wrote: Hi, Hi, I'll start with the usual... i have a two-node cluster running on SLES 12 with pacemaker. The cluster refused to start the domains on one node. So i took some of the domains out of the cluster and tried to start it

Re: NVDIMM sizes and DIMM hot plug

2020-06-19 Thread Martin Kletzander
need to determine the right NVDIMM size to make the subsequent memory modules correctly aligned and then I can't change the NVDIMM size, to not damage data stored in the NVDIMM. Unfortunatelly I didn't implement NVDIMM support so I don't know the intricacies. I've cc'd Martin Kletzander who did

Re: libvirt dynamic file ownership

2020-03-23 Thread Martin Kletzander
on my client, hopefully it sends plaintext now. (I'll switch to personal email going forward, as the choice of email clients at work is limited.) No problem, you couldn't know unless you specifically looked for it, don't worry about it ;) -Joe From: Martin Kletzander To: Joe Muro Cc

Re: libvirt dynamic file ownership

2020-03-20 Thread Martin Kletzander
On Fri, Mar 20, 2020 at 03:38:36PM +, Joe Muro wrote: Hi, Hi, could you please configure your client to send plaintext version as well? We mainly prefer plaintext on this list ;-) I am trying to understand libvirt dynamic ownership behavior. I have a VM that uses a qcow2 image with the

Re: Detecting of features of VMs

2020-01-29 Thread Martin Kletzander
On Mon, Jan 27, 2020 at 06:56:26PM +0100, Peter Krempa wrote: Hi, I was asked by Nir and Eyal of the oVirt project on how to detect whether a certain feature is supported by libvirt. As I thought it might be better to document this publically rather than being lost in a private thread I'm

Re: Volume file permissions and huge volume downloads

2020-01-17 Thread Martin Kletzander
On Fri, Jan 17, 2020 at 04:30:09PM +0100, R. Diez wrote: Hi all: I am using the libvirt version that comes with Ubuntu 18.04.3 LTS. I want to backup a virtual machine in a foolproof way: - Gracefully shutdown the VM. - Backup the disk image. - Restart the VM. I wrote the following script to

Re: [libvirt-users] create virtual network fails with virt-manager

2019-10-11 Thread Martin Kletzander
On Thu, Oct 10, 2019 at 03:40:24PM +0200, Marko Horn wrote: hello list, creatig a virtual network via virt-manager fails. gentoo linux vanilla-sources 5.3.1 virt-manager 2.2.1 qemu 4.0 libvirt 5.5.0 Please try newer libvirt. There were some fixes related to iptables/nf_tables in libvirt

Re: [libvirt-users] Emulated TPM doesn't work on Debian Buster

2019-10-07 Thread Martin Kletzander
On Sat, Oct 05, 2019 at 02:32:19PM +, proc...@riseup.net wrote: Hi. I am very interested in the security properties a totally open TPM can give our users  - its use as a universal smartcard to protect all types of keys. When adding the virtual 1.2 or 2.0 TPM I get the vague error below. OS

Re: [libvirt-users] Error validating install location: Distro 'rhel8' does not exist in our dictionary

2019-10-07 Thread Martin Kletzander
On Sun, Oct 06, 2019 at 10:54:33AM +0530, Kaushal Shriyan wrote: On Sat, Oct 5, 2019 at 7:27 PM Oliver Dzombic wrote: Hi, if you run on a shell the command: osinfo-query os you will see that its: rhl8.0 | Red Hat Linux 8.0 | 8.0 | http://redhat.com/rhl/8.0 This is

Re: [libvirt-users] virsh -c lxc:/// setvcpus and configuration fails

2019-09-16 Thread Martin Kletzander
On Sun, Sep 15, 2019 at 12:21:08PM +0200, i...@layer7.net wrote: Hi folks! i created a server with this XML file: lxctest1 227bd347-dd1d-4bfd-81e1-01052e91ffe2 http://libosinfo.org/xmlns/libvirt/domain/1.0;> http://centos.org/centos/6.9"/> 1024000 1024000 2

Re: [libvirt-users] Detach disk from VM - virsh (working) vs. PHP (not working)

2019-08-02 Thread Martin Kletzander
On Thu, Aug 01, 2019 at 10:12:15AM +0200, Jan Horak wrote: Hi all, i created a script in PHP for create a virtual server with two QCOW2 discs … one is our system for installation and second is target system. After successfully instalation (create a blank Debian system, prepare all files and

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

Re: [libvirt-users] Cloud automation

2019-06-10 Thread Martin Kletzander
Yes, even though libvirt is remotely accessible, it is node-centric, that is it manages the whole node (server) for you, but nothing else (well, it can migrate). If you want to have a "cloud" or anything involving more servers you probably want something on top of libvirt as well (oVirt,

Re: [libvirt-users] VM display is blank when open (but Gnome Boxes thumbnails ok)

2019-05-13 Thread Martin Kletzander
On Mon, May 13, 2019 at 04:40:55PM +0200, Michel Rozpendowski wrote: Hi, I also posted this question on the IRC #virt channel but have not received any reaction at the moment of posting this message to the mailing list. Since I last turned off my laptop (Dell XPS-15-9570 running Ubuntu 19.04)

Re: [libvirt-users] libvirtd not starting

2019-05-03 Thread Martin Kletzander
On Thu, May 02, 2019 at 02:25:28PM +0200, Martin Kletzander wrote: On Thu, May 02, 2019 at 01:07:32PM +0200, Michal Privoznik wrote: On 5/2/19 12:08 PM, Lothar Schilling wrote: I turned logging up to maximum. That's all I get: May  2 11:02:06 hl308-3 systemd: Starting Virtualization daemon

Re: [libvirt-users] libvirtd not starting

2019-05-02 Thread Martin Kletzander
On Thu, May 02, 2019 at 01:07:32PM +0200, Michal Privoznik wrote: On 5/2/19 12:08 PM, Lothar Schilling wrote: I turned logging up to maximum. That's all I get: May  2 11:02:06 hl308-3 systemd: Starting Virtualization daemon... May  2 11:02:06 hl308-3 libvirtd: 472: info : libvirt version:

Re: [libvirt-users] Running all my virtual machines with a low priority

2019-05-02 Thread Martin Kletzander
On Thu, May 02, 2019 at 12:10:54PM +0200, R. Diez wrote: You could perhaps set 'cpu.shares' cgroup setting on /machine.slice. This isn't really a nice level in the traditional sense, rather it is a relative weighting evaluated against other cgroups at the same level. So if you change it from

Re: [libvirt-users] libvirtd not starting

2019-05-02 Thread Martin Kletzander
On Thu, May 02, 2019 at 11:22:39AM +0200, Lothar Schilling wrote: Hi everybody, I've set up an new CentOS 7.6.1810 server. Then, via yum I installed qemu-kvm libvirt libvirt-python libguestfs-tools virt-install. There were no problems. But when I try to systemctl start libvirtd I get the

Re: [libvirt-users] Running all my virtual machines with a low priority

2019-05-02 Thread Martin Kletzander
On Wed, May 01, 2019 at 11:58:23AM +0200, R. Diez wrote: You would have to set the priority of all vCPUs in each guest, as well as emulator threads in each guest (the latter needs very new libvirt). This does not seem a viable option then with Ubuntu 18.04. And changing XML on all guest VMs

Re: [libvirt-users] KVM-Docker-Networking using TAP and MACVLAN

2019-03-14 Thread Martin Kletzander
On Wed, Mar 13, 2019 at 11:40:51PM +0100, Lars Lindstrom wrote: On 3/13/19 2:26 PM, Martin Kletzander wrote: IIUC, you are using the tap0 device, but it is not plugged anywhere. By that I mean there is one end that you created and passed through into the VM, but there is no other end

Re: [libvirt-users] KVM-Docker-Networking using TAP and MACVLAN

2019-03-13 Thread Martin Kletzander
On Tue, Mar 12, 2019 at 11:10:40PM +0100, Lars Lindstrom wrote: Hi everyone! I have the following requirement: I need to connect a set of Docker containers to a KVM. The containers shall be isolated in a way that they cannot communicate to each other without going through the KVM, which will

Re: [libvirt-users] HELP!

2019-02-15 Thread Martin Kletzander
Please consider writing more descriptive subjects. No need to shout, too. On Fri, Feb 15, 2019 at 08:43:36PM +0530, Shashwat shagun wrote: [...] func (d *DomService) Connect() error { var err error d.Conn, err = libvirt.NewConnect("qemu:///system") if err != nil {

Re: [libvirt-users] Libvirt api for esx

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

Re: [libvirt-users] Libvirt api for esx

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

Re: [libvirt-users] Libvirt api for esx

2018-11-29 Thread Martin Kletzander
at 9:31 PM, Martin Kletzander wrote: On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote: >Hi, > >I am doing poc for using libvirt api for implementation of esx in python. > >I tried researching through module but did not find a way how it works for >esx. >Any h

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.

Re: [libvirt-users] Questions regarding migration from QEMU to libvirt

2018-11-06 Thread Martin Kletzander
On Mon, Oct 22, 2018 at 12:07:13PM -0300, Rodrigo Siqueira wrote: Hi, First of all, thanks for your feedback :) Sorry for the slow reply, lot of work around KVM Forum conference. On 10/17, Martin Kletzander wrote: On Wed, Oct 03, 2018 at 01:04:50PM -0300, Rodrigo Siqueira wrote: >

Re: [libvirt-users] How to change the default connection of 'virsh' tool from 'qemu' to 'xen' ?

2018-10-31 Thread Martin Kletzander
On Wed, Oct 31, 2018 at 09:32:30AM +0100, Andrea Bolognani wrote: On Wed, 2018-10-31 at 10:56 +0900, Minjun Hong wrote: Hi. Thanks to help of this mailing list (especially Jim Fehlig), I have finished setup of libvirt. However, there is something weird. It is that I installed libvirt on 5

Re: [libvirt-users] Questions regarding migration from QEMU to libvirt

2018-10-17 Thread Martin Kletzander
On Wed, Oct 03, 2018 at 01:04:50PM -0300, Rodrigo Siqueira wrote: Hi, My colleagues and I have a set of scripts that we use to automate our daily tasks related to the Linux Kernel. As a result, most of our code relies on the QEMU features; and recently we decided use libvirt instead of QEMU.

Re: [libvirt-users] live migration via unix socket

2018-10-12 Thread Martin Kletzander
On Mon, Sep 17, 2018 at 02:17:39PM +0200, Fabian Deutsch wrote: On Fri, Sep 14, 2018 at 6:55 PM David Vossel wrote: Any chance we can get the safety check removed for the next Libvirt release? Does there need to be an issue opened to track this? Regardless of Martin's answer :): Please file

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

Re: [libvirt-users] live migration via unix socket

2018-09-12 Thread Martin Kletzander
On Mon, Sep 10, 2018 at 02:38:48PM -0400, David Vossel wrote: On Wed, Aug 29, 2018 at 4:55 AM, Daniel P. Berrangé wrote: On Tue, Aug 28, 2018 at 05:07:18PM -0400, David Vossel wrote: > Hey, > > Over in KubeVirt we're investigating a use case where we'd like to perform > a live migration

Re: [libvirt-users] How to specify a x509-dir from XML config file?

2018-09-05 Thread Martin Kletzander
On Tue, Sep 04, 2018 at 02:59:43PM +0800, 陈炤 wrote: Hi Everyone, I'd like to ask a question about libvirt xml config. I am using kvm with tls certification. For some reason I need to specify a unique certificate file for every instance, so my kvm command would be like:

Re: [libvirt-users] Setting up port forwarding to guests on nat network

2018-08-31 Thread Martin Kletzander
On Thu, Aug 30, 2018 at 06:50:38PM -0400, Rhys Ferris wrote: Thanks for the reply! output: net.ipv4.ip_forward = 1 OK, so that is fine. What do you mean "The out:any and" I started writing something and then realized it's not related. Anyway, you can also Anywhere else I can look as

Re: [libvirt-users] Setting up port forwarding to guests on nat network

2018-08-30 Thread Martin Kletzander
On Wed, Aug 29, 2018 at 06:31:41PM -0400, Rhys Ferris wrote: Hello all, I’m currently trying to figure out how to forward ports to guests that are on a NAT Network. I have followed the directions on https://wiki.libvirt.org/page/Networking under the “Forwarding Incoming Connections” Section

Re: [libvirt-users] Download image to libvirt storage pool

2018-08-27 Thread Martin Kletzander
On Sat, Aug 25, 2018 at 04:48:01PM +0530, Shashwat shagun wrote: Is there any function in libvirt (golang SDK) to download image to libvirt storage pool from path? I _think_ you have to do: https://godoc.org/github.com/libvirt/libvirt-go#StoragePool.StorageVolCreateXML followed by:

Re: [libvirt-users] Efficacy of jitterentropy RNG on qemu-kvm Guests

2018-08-17 Thread Martin Kletzander
On Thu, Aug 16, 2018 at 03:06:00PM +, procmem wrote: Martin Kletzander: On Fri, Aug 10, 2018 at 08:33:00PM +, procmem wrote: Hello. I'm a distro maintainer and was wondering about the efficacy of entropy daemons like haveged and jitterentropyd in qemu-kvm. One of the authors

Re: [libvirt-users] Efficacy of jitterentropy RNG on qemu-kvm Guests

2018-08-16 Thread Martin Kletzander
On Fri, Aug 10, 2018 at 08:33:00PM +, procmem wrote: Hello. I'm a distro maintainer and was wondering about the efficacy of entropy daemons like haveged and jitterentropyd in qemu-kvm. One of the authors of haveged [0] pointed out if the hardware cycles counter is emulated and deterministic,

Re: [libvirt-users] List-Archives ...

2018-06-07 Thread Martin Kletzander
On Mon, May 28, 2018 at 09:30:42AM +0200, Ján Tomko wrote: On Sun, May 27, 2018 at 01:04:37PM +0200, thg wrote: Hi everybody, actually I wanted to search the list archive, before asking, but unfortunately I don't "get" it: $ gunzip 2018-May.txt.gz gunzip: 2018-May.txt.gz: not in gzip format

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 Tu

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

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

Re: [libvirt-users] Server 2016 locked in paused state

2018-05-01 Thread Martin Kletzander
On Mon, Apr 30, 2018 at 05:46:14PM +0200, Francesc Guasch wrote: On 30/4/18 16:59, Paul O'Rorke wrote: Hi all, I have a number of production Windows servers on KVM/DRBD and two of them are Server 2016.  Both these guests have started exhibiting the same behaviour where they enter a paused

Re: [libvirt-users] Possible to resize a Windows guest's disk while online?

2018-04-17 Thread Martin Kletzander
On Wed, Apr 11, 2018 at 01:30:26PM -0400, Andre Goree wrote: I'm looking for a way to online resize a Windows disk -- i.e., be able to resize the disk without shutting down, rebooting, or detaching the disk. virsh blockresize $domain $disk $size and then resize the disk in the disk managing

Re: [libvirt-users] How can we achieve vga emulation over a serial port in libvirt

2018-03-05 Thread Martin Kletzander
On Mon, Mar 05, 2018 at 11:37:08AM +0100, Martin Kletzander wrote: On Wed, Feb 28, 2018 at 03:10:08PM +0800, Meina Li wrote: Hi For the latest seabios version, it said: Support for vga emulation over a serial port in SeaBIOS (sercon). So I want to know how can I find the application

Re: [libvirt-users] How can we achieve vga emulation over a serial port in libvirt

2018-03-05 Thread Martin Kletzander
On Wed, Feb 28, 2018 at 03:10:08PM +0800, Meina Li wrote: Hi For the latest seabios version, it said: Support for vga emulation over a serial port in SeaBIOS (sercon). So I want to know how can I find the application of this feature in libvirt? And whether my understanding is correct? There

Re: [libvirt-users] is it possible to add to libvirt Network XML

2018-01-31 Thread Martin Kletzander
On Tue, Jan 30, 2018 at 10:01:53PM +0530, Shashwat shagun wrote: i need to know is it possible to add metadata to Libvirt Network XML like i do in Domain XML with tag? Yes. -- Regards, Shashwat Shagun ___ libvirt-users mailing list

Re: [libvirt-users] Inter Shared Memory ( Ivshmem ) : Cannot Bind

2017-12-12 Thread Martin Kletzander
On Mon, Dec 11, 2017 at 03:03:34PM +0800, Rogue S.T wrote: Hello, friends. I encounter a problem when i use ivshmem with my guest, my ivshmem server is not start, and output a error : Example code, do not use in production ,cannot bind. Detail distribution: Today, I know ivshmem from a topic

Re: [libvirt-users] terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)

2017-10-26 Thread Martin Kletzander
On Wed, Oct 25, 2017 at 09:41:58PM +0300, Matwey V. Kornilov wrote: Well, I really had to use start --console from the beginning. It would have safe the time. # start --console s390_generic Using guessed DASD geometry. Using ECKD scheme (block size 4096), CDL

Re: [libvirt-users] terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)

2017-10-24 Thread Martin Kletzander
On Fri, Oct 20, 2017 at 10:12:19PM +0300, Matwey V. Kornilov wrote: 2017-10-20 17:14 GMT+03:00 Matwey V. Kornilov <matwey.korni...@gmail.com>: 2017-10-20 15:16 GMT+03:00 Martin Kletzander <mklet...@redhat.com>: On Fri, Oct 20, 2017 at 03:07:19PM +0300, Matwey V. Kornilov wrote: 2

Re: [libvirt-users] terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)

2017-10-20 Thread Martin Kletzander
On Fri, Oct 20, 2017 at 03:07:19PM +0300, Matwey V. Kornilov wrote: 2017-10-20 14:59 GMT+03:00 Martin Kletzander <mklet...@redhat.com>: On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote: Hello, I use libvirt 3.3.0 and qemu 2.9.0 My domain XML spec is the fol

Re: [libvirt-users] terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)

2017-10-20 Thread Martin Kletzander
On Thu, Oct 19, 2017 at 09:11:00PM +0300, Matwey V. Kornilov wrote: Hello, I use libvirt 3.3.0 and qemu 2.9.0 My domain XML spec is the following: s390_generic 82b4d16e-b636-447e-9fda-41d44616bce8 1048576 1048576 1 hvm destroy restart destroy

Re: [libvirt-users] Rollback to running VM

2017-09-19 Thread Martin Kletzander
On Tue, Sep 19, 2017 at 01:28:45PM +, Jackson, Gary L. wrote: I would like to make a snapshot of a running VM, let it continue to run after the shapshot, and then at some later time roll back the VM to that previous running state. Can I do that with libvirt? If so, how? I understand that

Re: [libvirt-users] How can i limit CPU allowance to 25% of a single core

2017-09-19 Thread Martin Kletzander
On Tue, Sep 19, 2017 at 02:57:09AM +0530, Shashwat shagun wrote: Hi, How do Hard limit a CPU allowance to 25% of a single core in KVM? Using `period`/`quota` and `shares` parameters of cgroups. This is mapped to the domain XML's respective `cputune` elements [1]. Martin [1]

Re: [libvirt-users] How to configure dnsmasq using libvirt?

2017-09-18 Thread Martin Kletzander
On Wed, Aug 23, 2017 at 05:02:48PM -0400, Don Zickus wrote: Hi, I am working on a project, beaker, where they use anisble scripts to setup an environment with 4 virtual machines. One acts as a server to the other 3. We noticed after the network was setup, the domainname is not properly

Re: [libvirt-users] network configuration for guest specific dns-servers

2017-08-31 Thread Martin Kletzander
On Thu, Aug 31, 2017 at 01:09:14PM +0200, David Ayers wrote: Am Donnerstag, den 31.08.2017, 11:32 +0200 schrieb David Ayers: Am Donnerstag, den 31.08.2017, 10:11 +0200 schrieb Martin Kletzander: > > AFAIK the support for this was not added. Feel free to request this in > our bugzil

Re: [libvirt-users] duplicated notifications for suspend and resume

2017-08-25 Thread Martin Kletzander
On Thu, Aug 24, 2017 at 12:54:26PM +, Naud, AntoineX wrote: Hello, I am using domain event notifications from libvirt-event API in my application and it seems to work fine, except for 'suspend' and 'resume' events where I keep receiving duplicated notifications. Similarly, the example

Re: [libvirt-users] Regarding KVM-Qemu Migration code

2017-08-02 Thread Martin Kletzander
On Wed, Aug 02, 2017 at 02:48:17PM +0530, Aditya Bhardwaj wrote: Respected Sir, I need to modify kvm-qemu migration code. Please tell me where i can find the code. If I were in a bad mood, I would just send you this: http://lmgtfy.com/?s=d=qemu-kvm+repository I never send these:

Re: [libvirt-users] Understanding the contents of virsh dump --memory-only

2017-08-02 Thread Martin Kletzander
On Tue, Aug 01, 2017 at 10:22:43PM -0400, Arnabjyoti Kalita wrote: Hello, I was trying to understand the ELF file generated by the virsh dump (--memory-only) command. I have successfully generated a dump of the VM memory using this command. You are running a QEMU machine and the dump is

  1   2   3   4   >