Re: about the script /etc/qemu-ifup with nmcli command

2021-01-04 Thread Yalan Zhang
Hi, Could anyone familiar with NetworkManager help with this? This question has been bothering me for a long time. Thank you very much! --- Best Regards, Yalan Zhang IRC: yalzhang On Wed, Oct 21, 2020 at 6:31 PM Yalan Zhang wrote: > Hi, > > I have tried the qemu-ifup script as below with

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

2021-01-04 Thread vrms
ok, thanks for the explainer. On 04.01.21 12:20, Daniel P. Berrangé wrote: > 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

Re: virt-manager connection fails with 'qemu unexpectedly closed the monitor'

2021-01-04 Thread Michal Privoznik
On 12/19/20 10:22 PM, John Paul Adrian Glaubitz wrote: Hi! I recently ran into a problem when connecting to libvirtd 6.9.0 on Debian unstable and trying to import an existing image with Windows 7. Upon finishing the wizard and starting the instance, the import process fails with the following

Re: Unexplicable permission error when trying to read a qemu firmware file

2021-01-04 Thread Michal Privoznik
On 12/29/20 6:09 PM, Emmanuel Kasper wrote: Hi I want to create a CoreOS VM following the steps mentioned at https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started, using a Debian 11 (bullseye) system. I am thus creating a VM with the following virt-install command: virt-install

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

Manage libvirt actions through netgroups and PolKit

2021-01-04 Thread Gi Actor
Hello!We are trying to implement a solution to let users see status of their virtual machines (domains), reboot or stop (destroy) them when needed. So far we managed to write plenty of rules for PolKit to associate usernames with their virtual machines. However this becomes quite complicated as

Unexplicable permission error when trying to read a qemu firmware file

2021-01-04 Thread Emmanuel Kasper
Hi I want to create a CoreOS VM following the steps mentioned at https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started, using a Debian 11 (bullseye) system. I am thus creating a VM with the following virt-install command: virt-install --connect="qemu:///system" --name=coreos \

virt-manager connection fails with 'qemu unexpectedly closed the monitor'

2021-01-04 Thread John Paul Adrian Glaubitz
Hi! I recently ran into a problem when connecting to libvirtd 6.9.0 on Debian unstable and trying to import an existing image with Windows 7. Upon finishing the wizard and starting the instance, the import process fails with the following error message: Unable to complete install: 'internal

Re: How to open listener of Libvirt ?

2021-01-04 Thread Andrea Bolognani
On Mon, 2021-01-04 at 17:22 +0800, tommy wrote: > Andrea Bolognani wrote: > > On Thu, 2020-12-24 at 13:38 +0800, tommy wrote: > > > But, on my system, there are no such service like libvirtd-tls.socket or > > > libvirtd-tcp.socket. > > > > > > root@ubts1:~# systemctl | grep libvirt > > >

RE: Get Host Capabilities failed: Internal JSON-RPC error: {'reason': 'internal error: Duplicate key'}

2021-01-04 Thread tommy
Thank you! I reinstalled it, now it's fine. -Original Message- From: Michal Privoznik Sent: Monday, January 4, 2021 5:31 PM To: tommy ; libvirt-users@redhat.com Subject: Re: Get Host Capabilities failed: Internal JSON-RPC error: {'reason': 'internal error: Duplicate key'} On

Re: Get Host Capabilities failed: Internal JSON-RPC error: {'reason': 'internal error: Duplicate key'}

2021-01-04 Thread Michal Privoznik
On 12/24/20 4:06 AM, tommy wrote: Hi,everyone: I got this error in my ovirt env: VDSM ooengh1.tltd.com command Get Host Capabilities failed: Internal JSON-RPC error: {'reason': 'internal error: Duplicate key'} I think you're hitting this bug:

RE: How to open listener of Libvirt ?

2021-01-04 Thread tommy
But there are not such services: libvirtd-tcp.socket libvirtd-tls.socket I really not understand how to enable them.:) Should I reinstall libvirtd on my Ubuntu OS, or should I only need install the missing packages about the two services ? Thanks. -Original

Re: How to open listener of Libvirt ?

2021-01-04 Thread Andrea Bolognani
On Thu, 2020-12-24 at 13:38 +0800, tommy wrote: > Hi,every one: > > My Ubuntu is : 20.04 LTS, and I using libvirtd on it to manage KVM vm, but > now I can not open listener function of the libvirtd. > > > SYSTEM SOCKET ACTIVATION >The libvirtd daemon is capable of starting in two