Re: Libvirt APIs for creating virtual networks

2020-04-30 Thread Laine Stump
On 4/28/20 12:01 PM, Daniel P. Berrangé wrote: 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 ? libvirt has no supported method of specifying a default gateway other than the

Re: Migrate to a bigger disk possible?

2020-04-30 Thread Paul van der Vlis
Thanks for your help! Paul Op 28-04-2020 om 07:39 schreef Peter Krempa: > On Mon, Apr 27, 2020 at 20:58:19 +0200, Paul van der Vlis wrote: >> Op 27-04-2020 om 10:41 schreef Peter Krempa: >>> On Mon, Apr 27, 2020 at 10:13:37 +0200, Paul van der Vlis wrote: >> A point is that I have to create d

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, > > > > > > I'm seeing the following issue when attemp

Re: sync guest time

2020-04-30 Thread Miguel Duarte de Mora Barroso
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, > > > > I'm seeing the following issue when attempting to update the guest's > > clock on a running fc32 guest (using guest agent): > > > > ``` > > [

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

2020-04-30 Thread Ramesh B
Thanks, I'll check it out. On Thu, Apr 30, 2020, 6:02 PM Michal Privoznik wrote: > On 4/30/20 2:26 PM, Ramesh B wrote: > > Hi Michel, > > > > Thanks for quick update. > > > >Weird. I have slightly older version and it works for me. Maybe > > configure is picking something else, some weird bi

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

2020-04-30 Thread Michal Privoznik
On 4/30/20 2:26 PM, Ramesh B wrote: Hi Michel, Thanks for quick update.   Weird. I have slightly older version and it works for me. Maybe configure is picking something else, some weird binary/python script? *=>* I have python 3.6 version, is it required latest version e.g Python 3.8 ? No.

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

2020-04-30 Thread Ramesh B
Hi Michel, Thanks for quick update. Weird. I have slightly older version and it works for me. Maybe configure is picking something else, some weird binary/python script? * =>* I have python 3.6 version, is it required latest version e.g Python 3.8 ? Ideally, you would construct the domai

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

sync guest time

2020-04-30 Thread Miguel Duarte de Mora Barroso
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 Time: 2020-04-30 23:27:29 [root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --sync error

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

2020-04-30 Thread Ramesh B
Ok, thanks for the clarification. On Thu, Apr 30, 2020, 5:11 PM Daniel P. Berrangé wrote: > 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 whatev

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-https://www.flickr.com/

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

2020-04-30 Thread Ramesh B
Hi Daniel, Thanks for command. Can I install specific version of prebuilt libvirt ? Eg: version 6.0 On Thu, Apr 30, 2020, 4:54 PM Daniel P. Berrangé wrote: > 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. > > F

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) required,

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

2020-04-30 Thread Michal Privoznik
On 4/30/20 12:53 PM, Ramesh B wrote: Hi Michal, Please find the details below, rst2html5 1.10.6 (Docutils 0.16 [release], Python 3.6.9, on linux) Weird. I have slightly older version and it works for me. Maybe configure is picking something else, some weird binary/python script? is there

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

2020-04-30 Thread Ramesh B
Hi Michal, Please find the details below, rst2html5 1.10.6 (Docutils 0.16 [release], Python 3.6.9, on linux) is there any other way to access/control the guest os running on top QEMU ? Thanks, Ramesh On Thu, Apr 30, 2020 at 3:47 PM Michal Privoznik wrote: > [Please keep the list CCed] > > On

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

2020-04-30 Thread Michal Privoznik
[Please keep the list CCed] On 4/30/20 12:02 PM, Ramesh B wrote: Hi Michal, Thanks for quick response. Ubuntu: 18.04.3 LTS QEMU emulator version 4.2.0 libvirtd (libvirt) 4.0.0 I have lunched the guest os using QEMU. I would like to use the virsh commands to get the status / control of guest

回复: why libvirtd can not list the running domain?

2020-04-30 Thread 崔涛的个人邮箱
I got it. Thanks! -邮件原件- 发件人: Michal Privoznik 发送时间: 2020年4月30日 17:38 收件人: 崔涛的个人邮箱 ; libvirt-users@redhat.com 主题: Re: why libvirtd can not list the running domain? On 4/30/20 11:31 AM, 崔涛的个人邮箱 wrote: > 1.I run a user domain like this: > > [root@kvm1 ~]# qemu-system-x86_64 -enable-

Re: why libvirtd can not list the running domain?

2020-04-30 Thread Michal Privoznik
On 4/30/20 11:31 AM, 崔涛的个人邮箱 wrote: 1.I run a user domain like this: [root@kvm1 ~]# qemu-system-x86_64 -enable-kvm -m 1G -smp 4 /images/test1.img Libvirt lists only those virtual machines (or domains as we call them) that were started through it. It doesn't list nor can manage qemu processe

why libvirtd can not list the running domain?

2020-04-30 Thread 崔涛的个人邮箱
1. I run a user domain like this: [root@kvm1 ~]# qemu-system-x86_64 -enable-kvm -m 1G -smp 4 /images/test1.img WARNING: Image format was not specified for '/images/test1.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operation

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: (ERROR/

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

2020-04-30 Thread Michal Privoznik
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: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block::    

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

2020-04-30 Thread Ramesh B
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) required, 0 supplied. .. code-block:: help [command-or-group] :229: (ERROR/3

Re: "failed to setup INTx fd: Operation not permitted" error when using PCI passthrough

2020-04-30 Thread Riccardo Ravaioli
So ultimately the problem was somewhere in the BIOS. A BIOS update fixed the issue. Riccardo On Tue, 7 Apr 2020 at 18:05, Riccardo Ravaioli wrote: > Hi, > > I'm on a Dell VEP 1405 running Debian 9.11 and I'm running a few tests > with various interfaces given in PCI passthrough to a qemu/KVM Vi