Re: Compiling libvirt on ubuntu

2021-09-13 Thread Pavel Hrdina
On Mon, Sep 13, 2021 at 10:27:38AM +0200, Peter Krempa wrote: > On Mon, Sep 13, 2021 at 01:36:57 +, Or Ozeri wrote: > > Hi, > > > > > > I'm trying to compile libvirt on ubuntu machine. > > I installed meson 0.59.1 using pip. > > Then installed a few more packages that were required by meson b

Re: driver_remote option defaults to auto

2021-06-21 Thread Pavel Hrdina
On Sun, Jun 20, 2021 at 05:10:40PM +0800, Jiatong Shen wrote: > Hello community, > > I am looking at building and packaging libvirt source code. I am seeing > from commit > https://github.com/libvirt/libvirt/commit/83ff55b5a2618d32f623d7ca0b6f9c28b7253972 > `driver_remote` is defaulting to auto wh

Re: could not start libvirt service

2021-04-13 Thread Pavel Hrdina
On Tue, Apr 13, 2021 at 03:56:57PM +0530, shafnamol N wrote: > Hi, > > I am using *CentOS 8*. I have built *libvirt* with the following method: > > $ meson build -Dsystem=true > $ ninja -C build > $ ninja -C build install I would recommend to never to this again. In general installing upstream p

Re: Confusion over networking configuration - I might be able to do some documentation

2021-04-12 Thread Pavel Hrdina
On Sat, Apr 10, 2021 at 03:12:24PM +, Ed B wrote: > Hi libvirt users, > > I have been using libvirt on Debian Linux for a few months. (Mostly with > virt-manager. I haven't yet learned all of the command line commands.) > > I'm currently confused by bridge mode networking, which I think is w

Re: How to exit console in L2 vm?

2020-11-29 Thread Pavel Hrdina
On Mon, Nov 30, 2020 at 02:50:33PM +0800, Yalan Zhang wrote: > Hi, > > I have a question about nested virtualization. The scenario is as below: > 1. Prepare the nested environment, start L2 guest. > 2. On the host, connect the L1 vm console, then on L1 guest, connect the L2 > guest console: > (hos

Re: virsh rights voor normal users

2020-10-30 Thread Pavel Hrdina
On Thu, Oct 29, 2020 at 11:34:09PM +0100, Natxo Asenjo wrote: > On Thu, Oct 29, 2020 at 8:39 PM Michal Privoznik > wrote: > > > On 10/29/20 4:47 PM, Natxo Asenjo wrote: > > > ah, yes. I try this: > > > > > > $ virsh -c qemu:///system > > > > > > But it then I get a prompt: > > > > > > AUTHEN

Re: Building libvirt library without libvirtd or virsh

2020-10-09 Thread Pavel Hrdina
On Thu, Oct 08, 2020 at 11:18:08AM -0700, Román González wrote: > > > > If you want to do a minimal build of libvirt you can run meson with > > --auto-features=disabled which will disable most of the features and you > > can explicitly enable only the things that you want to use (this is what > > m

Re: Building libvirt library without libvirtd or virsh

2020-10-08 Thread Pavel Hrdina
On Thu, Oct 08, 2020 at 09:38:22AM +0200, Martin Kletzander wrote: > 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 tw

Re: Meson build

2020-09-01 Thread Pavel Hrdina
On Tue, Sep 01, 2020 at 11:38:59AM -0600, Jim Fehlig wrote: > On 9/1/20 7:55 AM, Daniel P. Berrangé wrote: > > 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,

Re: Meson build

2020-09-01 Thread Pavel Hrdina
On Tue, Sep 01, 2020 at 03:03:02PM +0200, Ján Tomko wrote: > On a Sunday in 2020, Toolybird wrote: > > Hi, > > > > Just a heads up on my experiences with the new build system. > > > > Arch Linux > > meson-0.55.1 > > > > Overall, it looks good, so well done! > > > > Just a couple of minor things

Re: Meson build

2020-09-01 Thread Pavel Hrdina
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, > > > > > > Just a heads up on my experiences with the new build system. > &

Re: Meson build

2020-09-01 Thread Pavel Hrdina
On Sun, Aug 30, 2020 at 02:34:56AM +0200, Toolybird wrote: > Hi, > > Just a heads up on my experiences with the new build system. > > Arch Linux > meson-0.55.1 > > Overall, it looks good, so well done! > > Just a couple of minor things I noted: > > 1. Arch uses a meson wrapper script (arch-mes

Re: Installing Kali Linux using KVM virt-install tool

2020-08-10 Thread Pavel Hrdina
On Fri, Aug 07, 2020 at 07:59:05PM +0530, Kaushal Shriyan wrote: > Hi Pavel, > > I am running virt-install version 1.5.0 on CentOS Linux release 7.6.1810 > (Core) server. > > #virt-install --name=kalilinux --file=/linuxkvmaddgbdisk/kalilinux.img > --file-size=50 --nonsparse --vcpu=2 --ram=4096 --

Re: Question for smbios

2020-08-10 Thread Pavel Hrdina
On Mon, Aug 10, 2020 at 12:49:37AM -0500, David wrote: > I am reposting this because it's been 2 or 3 weeks. > > Hello, > > Hopefully this is the right place to send a question like this... > > I'm attempting to automate creation of VMs using virt-install and a > cloud-init disk image. To get th

Re: Installing Kali Linux using KVM virt-install tool

2020-08-07 Thread Pavel Hrdina
On Fri, Aug 07, 2020 at 05:05:48PM +0530, Kaushal Shriyan wrote: > On Fri, Aug 7, 2020 at 1:10 PM Erik Skultety wrote: > > > On Wed, Aug 05, 2020 at 10:13:57PM +0530, Kaushal Shriyan wrote: > > > On Wed, Aug 5, 2020 at 1:32 PM Pavel Hrdina wrote: > > > > > &g

Re: Installing Kali Linux using KVM virt-install tool

2020-08-05 Thread Pavel Hrdina
On Wed, Aug 05, 2020 at 06:57:11AM +0530, Kaushal Shriyan wrote: > Hi, > > I am trying to install kali-linux-2020.2-installer-amd64.iso ( > https://www.kali.org/downloads/) using KVM virt-install tool > > #virt-install --name=kalilinux --file=/linuxkvmaddgbdisk/kalilinux.img > --file-size=50 --no

Re: Feature request? Auto start vm upon next shutdown

2020-06-22 Thread Pavel Hrdina
On Mon, Jun 22, 2020 at 04:48:32AM -0400, brent s. wrote: > On 6/22/20 03:47, Marc Roos wrote: > > > > > > It is not a destroy. With some hardware changes you require the host to > > shutdown down and then start. The shutdown down is manually given either > > via some acpi request or from with

Re: USB-hotplugging fails with "failed to load cgroup BPF prog: Operation not permitted" on cgroups v2

2020-01-21 Thread Pavel Hrdina
On Mon, Jan 20, 2020 at 09:00:15PM +0100, Pol Van Aubel wrote: > Hi, > > Quoting Pavel Hrdina (2020-01-20 14:29:36) > > On Sat, Jan 18, 2020 at 11:17:11PM +0100, Pol Van Aubel wrote: > > > Hi all, > > > > > > I've disabled cgro

Re: USB-hotplugging fails with "failed to load cgroup BPF prog: Operation not permitted" on cgroups v2

2020-01-20 Thread Pavel Hrdina
On Sat, Jan 18, 2020 at 11:17:11PM +0100, Pol Van Aubel wrote: > Hi all, > > I've disabled cgroups v1 on my system with the kernel boot option > "systemd.unified_cgroup_hierarchy=1". Since doing so, USB hotplugging > fails to work, seemingly due to a permissions problem with BPF. Please > note tha

Re: [libvirt-users] error: internal error: Unable to parse 'rbps=max wbps=max riops=100 wiops=max' as an integer

2020-01-13 Thread Pavel Hrdina
On Mon, Jan 13, 2020 at 01:42:24AM +0100, Oliver Dzombic wrote: > Hi, > > i am running: > > libvirt-5.6.0-5.fc31.x86_64 > 5.4.8-200.fc31.x86_64 > > > Using: > > > > /dev/sda1 > 100 > 100 > 5120 > 5120 > > > > > and receiving > > error: i

Re: [libvirt-users] Understanding the use of virt-install from the CLI (Linux)

2019-11-07 Thread Pavel Hrdina
On Thu, Nov 07, 2019 at 11:02:49AM -0500, jonetsu wrote: > Hello, > > I've created several VMs using virt-manager and am using them. This > time around though, I'd like to use the CLI approach. The problem > resides in defining a storage space. This is using virt-install 1.5.1 > on Xubuntu 18.0

Re: [libvirt-users] 5.2.0 xen and maxGrantFrames

2019-04-26 Thread Pavel Hrdina
On Fri, Apr 26, 2019 at 11:25:13AM +0200, Christoph wrote: > > Hi > > libvirt 5.2.0 should support maxGrantFrames setting for xen (changelog). > I get ever an error if I use it in the config: Hi > > satan.chao5.int > f1f96b1c-fb75-4707-afb7-604d696d29cc > 3145728 > 3145728 > 4 > py

Re: [libvirt-users] CGroup V2 Support

2019-04-10 Thread Pavel Hrdina
On Sun, Apr 07, 2019 at 06:46:19PM +0900, ITeng A wrote: > Dear all > > Does the current version of libvirt support the new cgroup v2 ? > I am running KVM qemu VMs on Ubuntu with linux Kernel 4.18 with cgroup v1 > and I would like to use Cgroup v2 but we I mount cgroup v2 the libvirt > virtual

Re: [libvirt-users] virsh reboot "in shutdown" state?

2018-11-12 Thread Pavel Hrdina
On Mon, Nov 12, 2018 at 06:25:52AM -0800, Michael Taboada wrote: > Hi all, > > I've got a weird issue, and I'm trying to confirm if it's a bug, and if so, > if there is a workaround until it is fixed. > The situation is this: If I virsh reboot --mode acpi, it will > actually reboot the domain c

Re: [libvirt-users] ceph rbd pool and libvirt manageability (virt-install)

2018-08-07 Thread Pavel Hrdina
On Mon, Aug 06, 2018 at 09:19:59PM +0200, Jelle de Jong wrote: > Hello everybody, > > virt-install --version > 1.4.0 > > How do I create a ceph network disk with virt-install without having to > edit it? > > > > > > > > > > >

Re: [libvirt-users] Make discard='unmap' the default?

2018-06-01 Thread Pavel Hrdina
On Fri, Jun 01, 2018 at 02:47:38PM +0100, Daniel P. Berrangé wrote: > On Fri, Jun 01, 2018 at 08:37:30AM -0500, Ian Pilcher wrote: > > On 06/01/2018 08:14 AM, Daniel P. Berrangé wrote: > > > Yes, it inherits some defaults to libvirt and/or QEMU. If those are not > > > suitable for some reason, then

Re: [libvirt-users] manually install a machine (no virt-install)

2018-05-03 Thread Pavel Hrdina
On Wed, May 02, 2018 at 04:05:05PM +, Stallard, Adam wrote: > Hi, Hi Adam, > I'm wondering if there are any guides to connecting a qemu image to libvirt > without using any virt-manager tools. I wish to send poweroff / on signals to > the machine, and it seems all I need to do so is the lib

Re: [libvirt-users] can't find how to solve "QEMU guest agent is not connected"

2018-04-17 Thread Pavel Hrdina
On Tue, Apr 17, 2018 at 07:54:14PM +0900, Matt wrote: > I am trying to make Qemu agent work with libvirt thanks to > https://github.com/NixOS/nixops/pull/922 with libvirt 4.1.0. I've been > trying to make it work for quite some time but I still haven't the > slightest idea of what is wrong, I keep

Re: [libvirt-users] Disable guest discovery in virt-manager

2018-04-09 Thread Pavel Hrdina
On Mon, Apr 09, 2018 at 03:21:04PM +0200, Gionatan Danti wrote: > Hi all, > on CentOS7 / RHEL7 launching virt-manager causes a "discovery process" of > the various configured VMs. > > This discovery is executed by inspection and overlayed disk files and it > create a very short lived guest-xxxzzzy

Re: [libvirt-users] Guest Reboot After Plug HDMI

2017-12-04 Thread Pavel Hrdina
On Mon, Dec 04, 2017 at 04:02:33PM +0800, Lying wrote: > Hello, Everybody. I encounter a problem when i using my guest. > > I booting my guest without HDMI primarily, Then i add it, but my guest is be > rebooted. > > > To know what cause it, i do it again, especially i check my guest is running

Re: [libvirt-users] domain xml doubt

2017-09-27 Thread Pavel Hrdina
On Wed, Sep 27, 2017 at 06:23:17PM +0800, llilulu wrote: > Hi > > My libvirt is 3.4.0,When I create a kvm domain, I use default > (type=cirrus, I not set video) create guest(debian9.1.0), but when finish > install the guest and reboot, the guest will block in "started update utmp > about

Re: [libvirt-users] Increasing video memory available to Windows

2017-08-14 Thread Pavel Hrdina
On Sat, Aug 05, 2017 at 04:13:52PM -0400, Alex wrote: > Hi, > > On Sun, Jul 23, 2017 at 3:45 PM, Pavel Hrdina wrote: > > On Sat, Jul 22, 2017 at 03:03:06PM -0400, Alex wrote: > >> Hi, > >> I have a fedora25 system with a Windows10 host and would like to use &

Re: [libvirt-users] Increasing video memory available to Windows

2017-07-23 Thread Pavel Hrdina
On Sat, Jul 22, 2017 at 03:03:06PM -0400, Alex wrote: > Hi, > I have a fedora25 system with a Windows10 host and would like to use > it for photoshop. However, it complains the video memory is too low. > I'm using the QXL driver and it appears to be limited to 256MB? I've > installed the Red Hat QX

Re: [libvirt-users] creating new vm with virt-manager, existing disk failure

2017-07-19 Thread Pavel Hrdina
On Wed, Jul 19, 2017 at 11:45:36AM +0200, Marko Weber | 8000 wrote: > > hello, > i rsynced a kvm vm from one host to another. > i start virt-manager and tell virt-manager to use an existing disk. > i set cpu to haswell that is on the host. > > configure before start is set, and i start "begin ins

Re: [libvirt-users] libvirtd segfault when using oVirt 4.1 with graphic console - CentOS7.3

2017-04-21 Thread Pavel Hrdina
er it can take a while to get it back to CentOS/RHEL. The source of this crash is that you have a "tun0" network interface without IP address and that interface is checked before "ovirtmgmt" and it causes the crash. You can workaround it by removing the "tun0" interfac

Re: [libvirt-users] libvirtd segfault when using oVirt 4.1 with graphic console - CentOS7.3

2017-04-20 Thread Pavel Hrdina
On Thu, Apr 20, 2017 at 07:36:42AM +0200, Rafał Wojciechowski wrote: > hello, > > I am getting such error: > libvirtd[27218]: segfault at 0 ip 7f4940725721 sp 7f4930711740 > error 4 in libvirt.so.0.2000.0[7f4940678000+353000] > > when I am trying to start VM with graphic spice/vnc consol

Re: [libvirt-users] [help] How to modify the vgamem value ?

2016-03-14 Thread Pavel Hrdina
On Mon, Mar 14, 2016 at 09:41:36AM +0100, Holger Schranz wrote: > Hi Luo, > > the vgamem is limited inside. Myself, I use QEMU 2.5/Virgil3D to expand > the vgamem. It's not limited and can be modified inside the xml, the only limitation is that the value has to be a power of 2 and for QXL the val

Re: [libvirt-users] virt-viewer and virt-manager problem

2016-01-29 Thread Pavel Hrdina
On Fri, Jan 29, 2016 at 03:20:31PM +0100, Pascal Legrand wrote: > Helle and thanks for your answer > > Debug log from virt-manager (virt-manager --debug) would be helpful. > Cf virt-manager.debug > > don't need to forwar X to your client, you can install > virt-manager/virt-viewer > directly on

Re: [libvirt-users] virt-viewer and virt-manager problem

2016-01-29 Thread Pavel Hrdina
On Fri, Jan 29, 2016 at 02:20:50PM +0100, Pascal Legrand wrote: > Hello, Hi, > here is my problem : > i migrated an old debian server, with kvm host and guests vm, on a new > one (wheezy to jessie). > Everything worked fine on this old server. > > On the new server, i created a storage pool, c