Re: how to add LD_PRELOAD in the xml

2022-12-29 Thread Laine Stump
On 12/26/22 3:44 PM, Marc wrote: How should I add LD_PRELOAD to domain xml. I guess within: but this is generating syntax errors. https://libvirt.org/kbase/qemu-passthrough-security.html Note the bit in the example that shows: So try:

Re: Predictable and consistent net interface naming in guests

2022-12-08 Thread Laine Stump
On 12/8/22 11:15 AM, Julia Suvorova wrote: On Thu, Nov 3, 2022 at 9:26 AM Amnon Ilan wrote: On Thu, Nov 3, 2022 at 12:13 AM Amnon Ilan wrote: On Wed, Nov 2, 2022 at 6:47 PM Laine Stump wrote: On 11/2/22 11:58 AM, Igor Mammedov wrote: On Wed, 2 Nov 2022 15:20:39 + Daniel P

Re: Need help

2022-12-02 Thread Laine Stump
On 12/2/22 7:43 AM, Gk Gk wrote: Hi, We have an openstack platform and we are trying to get the network details of the guest vm on the hypervisors using the python libvirt library (domain.interfaceStats) . But in cases of SR-IOV vms, the interface is not being reported by the above tool.  The

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Laine Stump
On 11/2/22 11:58 AM, Igor Mammedov wrote: On Wed, 2 Nov 2022 15:20:39 + Daniel P. Berrangé wrote: 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

Re: Predictable and consistent net interface naming in guests

2022-11-02 Thread Laine Stump
On 11/1/22 7:46 AM, Igor Mammedov wrote: On Mon, 31 Oct 2022 14:48:54 + Daniel P. Berrangé wrote: 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 di

Re: Predictable and consistent net interface naming in guests

2022-10-31 Thread Laine Stump
On 10/31/22 2:21 PM, Edward Haas wrote: On Mon, Oct 31, 2022 at 6:55 PM Andrea Bolognani > wrote: On Mon, Oct 31, 2022 at 04:32:27PM +0200, Edward Haas wrote: > That discussion mentioned that a guest PCI address may change in two cases: > - The PC

Re: Libvirt virsh : Error starting network, cannot execute binary /usr/sbin/iptables

2022-08-16 Thread Laine Stump
On 8/15/22 1:00 PM, Pascal wrote: Hi, I am a bit lost and hope someone can help me. I am running Debian bookworm (testing) with last updates. $ sudo apt policy libvirt-daemon libvirt-daemon:   Installé : 8.5.0-1   Candidat : 8.5.0-1  Table de version :  *** 8.5.0-1 100     100 /var/l

Re: libvirt can't setup simple bridged network?

2022-08-15 Thread Laine Stump
On 8/15/22 10:11 AM, Ian Pilcher wrote: I feel like I'm taking crazy pills!  I'm reading the libvirt network XML format documentation[1], and I can't figure out how to create a simple bridged network - no NAT, no routing, no OVS, no  macvtap, etc.  I.e., just a Linux bridge with a single physical

Re: Domain XML and VLAN tagging

2022-06-16 Thread Laine Stump
On 6/16/22 3:24 AM, Peter Krempa wrote: On Thu, Jun 16, 2022 at 09:20:21 +0200, Gionatan Danti wrote: Hi all, from here [1]: "Network connections that support guest-transparent VLAN tagging include 1) type='bridge' interfaces connected to an Open vSwitch bridge Since 0.10.0 , 2) SRIOV Virtual F

Re: vepa-mode directly attached interface

2022-06-11 Thread Laine Stump
On 6/11/22 8:54 AM, Gionatan Danti wrote: Hi all, I just realized that libvirt default for directly attached interface is vepa mode. I discovered it now because virt-manager automatically enables bridge mode, while cockpit-machines get the default vepa mode. This is unfortunate because, bein

Re: Problem calling 'virsh' in a script

2022-05-15 Thread Laine Stump
On 5/15/22 11:48 AM, Digimer wrote: Hi all,   I've got a series of programs that monitor various things on a CentOS Stream 8 VM host. All of these scripts work when called directly. However, when I have a parent program that calls all the little programs in series, I found that some virsh ca

Re: Updating domains definitions via API

2022-05-15 Thread Laine Stump
On 5/14/22 6:42 PM, Darragh Bailey wrote: Hi, On Sat 14 May 2022, 21:11 Laine Stump, <mailto:la...@redhat.com>> wrote: Caveat - I'm completely unfamiliar with ruby and the libvirt-ruby API bindings. If there is a problem that causes the domain config to

Re: Updating domains definitions via API

2022-05-14 Thread Laine Stump
On 5/14/22 3:23 PM, Darragh Bailey wrote: On Fri, 13 May 2022 at 00:17, Darragh Bailey <mailto:daragh.bai...@gmail.com>> wrote: Hi, On Thu 12 May 2022, 21:34 Laine Stump, mailto:la...@redhat.com>> wrote: The virDomainDefineXMLFlags API (and also the o

Re: Updating domains definitions via API

2022-05-12 Thread Laine Stump
On 5/12/22 4:03 PM, Darragh Bailey wrote: Hi, Looking into a bug in vagrant-libvirt where an error during the update will cause the domain to be completely discarded. https://github.com/vagrant-libvirt/vagrant-libvirt/issues/949

Re: macvtap with disconnected physical interface

2022-05-03 Thread Laine Stump
On 5/3/22 4:31 AM, Daniel P. Berrangé wrote: 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-

Re: Network interface element not working

2022-04-05 Thread Laine Stump
On 4/5/22 10:28 AM, Ian Pilcher wrote: On 4/4/22 21:10, Laine Stump wrote: That's not what the element in a is used for. It's actual use is (in my opinion) not all that useful, which has led to people assuming other functionality for it that doesn't exist. Ah.  Thanks for

Re: Network interface element not working

2022-04-04 Thread Laine Stump
On 4/4/22 2:08 PM, Ian Pilcher wrote: I've added an interface element to a libvirt network, but it isn't working.  The interface is not being added to the bridge, even after the system is rebooted. That's not what the element in a is used for. It's actual use is (in my opinion) not all that

Re: networking question

2022-02-25 Thread Laine Stump
On 2/25/22 11:05 AM, Martin Kletzander wrote: 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 interfa

Re: SSH VM from outside, but not from host

2022-02-16 Thread Laine Stump
On 2/16/22 4:40 AM, Peter Crowther wrote: ... hang on.  Why does the *bridge* have an IP address?  Think of a bridge as being like a switch; it has no address of its own. It's not the IP address of the bridge, it's the IP address of the "default / built-in" port of the bridge. The standard way

Re: Public IP on virtual machine network issue

2022-02-15 Thread Laine Stump
y response didn't come off as discouraging responses - even though it wasn't the source of the problem this time, next time yours might be the idea that solves the issue :-)). I'll try to take care of the wiki article in the next day or two. Thanks, Tom On Mon, Feb 14, 2022 at 8:

Re: Public IP on virtual machine network issue

2022-02-14 Thread Laine Stump
On 2/13/22 5:38 PM, Tom Ammon wrote: Can you post the output of iptables -L? By default, the bridge module in the kernel sends packets traversing the bridge to iptables (in the FORWARD chain I believe) for processing. So if you have configured a DENY policy on the FORWARD chain, or are oth

Re: frequent network collapse possibly due to bridging

2022-01-24 Thread Laine Stump
On 1/24/22 4:35 AM, Martin Kletzander wrote: 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 re

Re: configure path name of ebtables executable

2021-11-17 Thread Laine Stump
On 11/17/21 4:52 PM, Michael Ströder wrote: On 11/17/21 20:28, Laine Stump wrote: On 11/17/21 1:39 PM, Michael Ströder wrote: Is it possible to configure the full path name of the ebtables executable used somewhere in libvirt's config? That's done in meson.build when you'r

Re: configure path name of ebtables executable

2021-11-17 Thread Laine Stump
On 11/17/21 1:39 PM, Michael Ströder wrote: HI! Is it possible to configure the full path name of the ebtables executable used somewhere in libvirt's config? That's done in meson.build when you're building from source. Look for "optional_programs". Background: I'd like to avoid automa

Re: another upgrade another vm issue

2021-10-30 Thread Laine Stump
On 10/30/21 6:57 AM, daggs wrote: Greetings Michal, Sent: Friday, October 29, 2021 at 11:36 AM From: "Michal Prívozník" To: "daggs" , libvirt-users@redhat.com Subject: Re: another upgrade another vm issue On 10/28/21 8:40 PM, daggs wrote: Greetings, so I've upgraded my server and yet aga

Re: internal error: Network is already in use by interface virbr0

2021-09-17 Thread Laine Stump
On 9/17/21 7:11 AM, Michael Ströder wrote: HI! I'm using libvirt 7.7.0 on openSUSE Tumbleweed. Until recently everything just worked. But now my virtual NAT network is not usable anymore. Starting a VM I get this error: # virsh start ae-dir-suse-p1 error: Failed to start domain 'ae-dir-suse-p

Re: virsh domifaddr domain does not show static IP

2021-09-10 Thread Laine Stump
On 9/9/21 10:07 PM, Kaushal Shriyan wrote: Thanks Laine for the detailed explanation. The below command worked. Thanks a lot and appreciate it. virsh domifaddr testdobssbahrainms --source agent Name       MAC address          Protocol     Address -

Re: virsh domifaddr domain does not show static IP

2021-09-09 Thread Laine Stump
On 9/9/21 2:11 PM, Kaushal Shriyan wrote: Hi, I have assigned static IP for all the below KVM Guest VM's. Is there a way to find out the IP of the below VM's from virsh utility or any other utility? virsh domifaddr testdobssbahrainms does not show the static IP. By default, "virsh domifa

Re: issues with vm after upgrade

2021-08-29 Thread Laine Stump
(Alex - search for your name down in the middle of this - there is one question for you. You can probably save your neurons the trouble of reading the rest) On 8/28/21 6:56 AM, daggs wrote: Greetings Laine, Sent: Wednesday, August 25, 2021 at 7:53 PM From: "Laine Stump" To: &

Re: issues with vm after upgrade

2021-08-25 Thread Laine Stump
On 8/20/21 12:07 PM, daggs wrote: Greetings Laine, Sent: Monday, August 16, 2021 at 12:57 AM From: "Laine Stump" To: "daggs" Cc: "Martin Kletzander" , libvirt-users@redhat.com Subject: Re: issues with vm after upgrade On 8/14/21 6:05 AM, daggs wrote: Gree

Re: issues with vm after upgrade

2021-08-15 Thread Laine Stump
On 8/14/21 6:05 AM, daggs wrote: Greetings Martin, Sent: Thursday, August 12, 2021 at 2:07 PM From: "daggs" To: "Martin Kletzander" Cc: d...@berrange.com, libvirt-users@redhat.com Subject: Re: issues with vm after upgrade Sent: Thursday, August 12, 2021 at 11:49 AM From: "Martin Kletzand

Re: Sharing dhcp leases between multiple host systems

2021-08-04 Thread Laine Stump
On 8/4/21 8:12 AM, Michael Ablassmeier wrote: hi, assume i have multiple host systems which spin up virtual machines using the vagrant/vagrant-libvirt provider. Both host systems have a defined network (which has the same name on both hosts) which the first network interface of the virtual ma

Re: attach a pcie root port as hostdev

2021-08-04 Thread Laine Stump
On 8/4/21 3:21 AM, Jiatong Shen wrote: Hello community, I am working on plugging a xilinx fpga card as a hostdev.  This fpga card has 2 functions, each has a different role, for some reason, I would like to attach both of them but do not want to attach them separately, so I have tried to a

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

2021-06-23 Thread Laine Stump
On 6/23/21 7:37 PM, Riccardo Ravaioli wrote: On Wed, 23 Jun 2021 at 18:59, Daniel P. Berrangé > wrote: [...] So your config here does NOT list any ACPI indexes Exactly, I don't list any ACPI indices. > After upgrading to libvirt 7.4.0 and qemu 6.0.0

Re: KVM Virtual Machine Network - Guest-guest/VM-VM only network (no host/hypervisor access, no outbound connectivity)

2021-06-14 Thread Laine Stump
On 6/11/21 7:22 PM, Eduardo Lúcio Amorim Costa wrote: I know that with the *virsh* command I can create several types of networks (a "NAT network", for example) as we can see in these URLs... KVM network management KVM default NAT-based net

Re: Virtual Network API for QEMU

2021-03-28 Thread Laine Stump
On 3/27/21 8:39 AM, Radek Simko wrote: Hi, According to this support matrix https://libvirt.org/hvsupport.html#virNetworkDriver there is no support for any APIs other than hypervisor ones for qemu. For example virConnectNumOfNetworks is not

Re: Updating dnsmasq options with virsh net-update

2021-03-17 Thread Laine Stump
On 3/17/21 1:51 PM, brent s. wrote: On 3/17/21 13:19, Alex Crawford wrote: I'm trying to take advantage of libvirt's support for passing through options to dnsmasq , but I'm having trouble getting it to take effect. I have a network alre

Re: Bridge and VLAN trunk

2021-03-11 Thread Laine Stump
On 3/11/21 5:53 AM, Gionatan Danti wrote: Dear list, I am a question about the best use of bridge, vlan trunk and libvirt. When dealing with virtual machies bound to specific vlan, I generally use a straightforward approach: eth -> bridge -> vm (for untagged traffic) eth -> eth.10 -> bridge ->

Re: Static DHCP lease never distributed

2021-02-10 Thread Laine Stump
On 2/9/21 8:28 PM, Brooks Swinnerton wrote: Hi there, I have a libvirt network defined as so:     customers         At first I was suspicious that your problem could be related to the (because not many people use it), but I added that to my own test, and it still worked. Same for m

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

2020-12-22 Thread Laine Stump
On 12/21/20 6:15 AM, John Paul Adrian Glaubitz wrote: (CC'ing a friend who's run into the problem as well) Hi Laine! On 12/20/20 7:37 PM, Laine Stump wrote: The first step would be to look in /var/log/libvirt/qemu/$guestname.log. If qemu is encountering some error, it should be

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

2020-12-20 Thread Laine Stump
On 12/20/20 6:53 AM, 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 e

Re: DNS forwarding for guest domains on isolated network

2020-11-11 Thread Laine Stump
On 11/11/20 3:40 AM, Jörg Kastning wrote: Hi @all, I'm having trouble to realize my use case and hope somebody could help me. # Use case For a home lab I want to deploy several guest domains. These domains must not have a direct or NAT connection to the internet or my LAN. They should only b

Re: consume existing tap device when libvirt / qemu run as different users

2020-11-06 Thread Laine Stump
On 11/4/20 6:34 AM, Miguel Duarte de Mora Barroso wrote: Hello, I'm having some doubts about consuming an existing - already configured - tap device from libvirt (with `managed='no' ` attribute set). In KubeVirt, we want to have the consumer side of the tap device run without the NET_ADMIN capa

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

2020-10-12 Thread Laine Stump
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: On 10/12/2020 4:09 PM, Peter Krempa wrote: On Mon, Oct 12, 2020 at 16:05:43 +0200, Michal Privoznik wrote: On 10/12/20 2:14 PM, john doe wrote: I sent privately the req

Re: [libvirt] SRIOV configuration

2020-09-24 Thread Laine Stump
Edward and I have had a multi-day private conversation in IRC on the topic of this mail. I was planning to update this thread with an email, but forgot until now :-/ On 9/24/20 10:54 AM, Daniel P. Berrangé wrote: On Mon, Sep 21, 2020 at 06:04:36PM +0300, Edward Haas wrote: The PCI addresses

Re: cant create network with virt-manager

2020-09-21 Thread Laine Stump
On 9/21/20 3:58 PM, Marko Horn wrote: hello list, i cant create an isolated network with the virt-manager. installed version virt-manager 3.0.0 installed version libvirt 6.2.0 output in error-message: Error creating virtual network: internal error: Failed to apply firewall rules /sbin/iptabl

Re: libvirt binding

2020-09-09 Thread Laine Stump
On 9/9/20 3:08 AM, Shashwat shagun wrote: is the connection object a connection pool or just a single connection? Can it be used concurrently? libvirt is fully threadsafe (modulo any unknown errors, of course!). There can be man connections at once, from the same or from different processes o

Re: Isolated bridge does not bridge

2020-09-09 Thread Laine Stump
On 9/9/20 7:13 AM, Paul van der Vlis wrote: Hello, I want to do some testing and I have removed two VM's from the bridge what connects them to internet, and added them to another isolated bridge what's not connected to internet. Problem is that I cannot reach the other host in the isolated netwo

Re: network config not working on newer libvirt

2020-09-08 Thread Laine Stump
On 9/6/20 12:02 PM, daggs wrote: Greetings LAine, When you say "the vm", you mean the one running libreelec, that is trying to get and IP address, correct? yes, you are correct. I guess Broadcom.home is the IP of the VM that's running the dhcp server? (I should have suggested using "tcpdump

Re: network config not working on newer libvirt

2020-09-05 Thread Laine Stump
On 9/4/20 6:47 PM, daggs wrote: Greetings Laine, I would start troubleshooting by making sure that the dhcp server is running, and that you can communicate between the machine with DHCP server and the guest once a manual IP is assigned. Then use tcpdump or wireshark at different places on the

Re: network config not working on newer libvirt

2020-09-04 Thread Laine Stump
On 9/4/20 12:38 AM, daggs wrote: Greetings, up until a year ago, I was running a server with Debian 10 (stable) on it with the latest versions of libvirt, qemu and kernel 4.19.x Debian 10 had to offer (both libvirt and qemu versions were really old). the network config was simple, one of the

Re: bridge + SR-IOV guests with KVM

2020-09-01 Thread Laine Stump
On 8/27/20 4:12 AM, Philipp Rosenberger wrote: Hi, I managed to get SR-IOV with an Intel I350 NIC to work.For this I followed the documentation on this page: https://wiki.libvirt.org/page/Networking#Assignment_from_a_pool_of_SRIOV_VFs_in_a_libvirt_.3Cnetwork.3E_definition But as I have more

Re: support for live migration with PCI passthrough devices

2020-08-25 Thread Laine Stump
On 8/25/20 8:56 AM, Michal Privoznik wrote: On 8/25/20 1:40 PM, Henry lol wrote: Hi guys, I'm wondering whether libvirt supports live migration for the VM with PCI passthrough devices. or it must be assumed before live migration that all passthrough devices be unplugged? Unfortunately, this

Re: multiple vms with same PCI passthrough

2020-08-18 Thread Laine Stump
On 8/18/20 3:09 PM, Laine Stump wrote: On 8/17/20 8:40 PM, Daniel Black wrote: This, for 4 pci devices, confused libvrtd in the meantime however it was still functional. Aug 18 10:31:27 grit libvirtd[106082]: internal error: failed to get number of host interfaces: unspecified error

Re: multiple vms with same PCI passthrough

2020-08-18 Thread Laine Stump
On 8/17/20 8:40 PM, Daniel Black wrote: This, for 4 pci devices, confused libvrtd in the meantime however it was still functional. Aug 18 10:31:27 grit libvirtd[106082]: internal error: failed to get number of host interfaces: unspecified error - errors in loading some config files Aug 18

Re: multiple vms with same PCI passthrough

2020-08-17 Thread Laine Stump
On 8/8/20 11:53 PM, Daniel Black wrote: In attempting to isolate vfio-pci problems between two different guest instances, the creation of a second guest (with existing guest shutdown) resulted in:. Aug 09 12:43:23 grit libvirtd[6716]: internal error: Device :01:00.3 is already in use Au

Re: Post-firewall hook to insert custom rules?

2020-08-17 Thread Laine Stump
On 8/17/20 5:15 AM, Gunnar Niels wrote: Hello, I have a set of iptables rules that I need to insert *after* libvirt has set up all of its firewall rules. Is there a hook that I can tap into in order to run something like a custom script to make sure this happens? Any ideas? -GN You should

Re: pass-though Intel gpu int o a vm

2020-08-12 Thread Laine Stump
On 8/12/20 12:46 PM, daggs wrote: what is the proper uri to use? If you run virt-manager on some other machine, then select "File / New Connection", you will get a dialog box that will prompt you for the info needed, and create the proper URI for you. Utually it is "qemu+ssh://root@$remote

Re: ipv6 NAT; accept_ra errors and about network choice

2020-08-11 Thread Laine Stump
On 8/10/20 11:23 PM, Ian Wienand wrote: Hello, Firstly THANK YOU for the IPv6 NAT support merged in 6.5. It has been almost impossible to get IPv6 into a VM on a laptop that switches between wifi and wired (dock) connections, because you can not add a wifi interface to a bridge. I know NAT is

Re: Problem with xen config

2020-08-10 Thread Laine Stump
On 8/10/20 4:38 AM, Christoph wrote: xen_platform_pci=1 This setting is not supported in the libvirt libxl driver, but AFAICT libxl sets the default to 'true' for HVM guests. pci_msitranslate=1 This is also not supported in libvirt and unfortunately defaults to 'false'. pci_permissive =

Re: virsh attach-interface auto up

2020-08-08 Thread Laine Stump
On 8/8/20 11:26 PM, brent s. wrote: On 8/8/20 9:42 AM, Marc Roos wrote: I am doing a virsh detach-interface and an attach-interface. Is it possible to automatically bring the interface up after attaching it? By coincidence, I was just playing with this with the python API. The interface b

Re: Libvirtd Fails to Launch First Time

2020-08-08 Thread Laine Stump
On 8/8/20 10:44 AM, Ken Swenson wrote: Hello, I'm having a quite odd issue with libvirtd. I have it set to start on boot via systemd service, however it seems to fail and the service 'succeeds' and does not continue running the daemon. There is nothing in the journal logs however the libvirtd

Re: Routed network can't reach outside network

2020-07-27 Thread Laine Stump
On 7/23/20 6:14 PM, Rui Correia wrote: On Thu, Jul 23, 2020 at 10:36 PM Rui Correia > wrote: Thanks for the headsup. I'll ask the Manjaro guys about the nft. Hopefully they'll know if nft is installed and running. Well, that was fast. I've asked the gu

Re: host and vm on isolated network, there is ip (via dhcp) but not ping

2020-07-21 Thread Laine Stump
On 7/20/20 12:38 PM, daggs wrote: Greetings, I've setup an vm with openwrt in it, defined a isolated lan between the vm and the host and booted the vm up. I see the vm is up, made sure the vnic is visible in both the host and guest and added it to the br in the guest. I've issued an dhcpd call

Re: Could you please help with questions about the net failover feature

2020-07-08 Thread Laine Stump
On 7/8/20 10:02 AM, Ken Cox wrote: On 7/8/20 1:30 AM, Stefan Assmann wrote: On 2020-07-06 10:01, Laine Stump wrote: On 7/6/20 5:10 AM, Yalan Zhang wrote: Hi Laine, For the feature testing before, I only test the linux bridge setting as in 2), it works. Now I tried 1), to use macvtap bridge

Re: Why wireless interface cannot be attached to a Linux host bridge?

2020-07-07 Thread Laine Stump
On 7/7/20 12:29 PM, Ken D'Ambrosio wrote: On 2020-07-07 11:26, ryotaro kobayashi wrote: I'm from japan and using machine translation, so I apologize if it's hard to read. [...] P.S.  The machine translation worked very, very well. Scary! :-) I didn't even notice that until you mentioned it

Re: Why wireless interface cannot be attached to a Linux host bridge?

2020-07-07 Thread Laine Stump
On 7/7/20 11:26 AM, ryotaro kobayashi wrote: Hello, everyone. I'm from japan and using machine translation, so I apologize if it's hard to read. I am currently trying to build a virtual environment using Ubuntu and kvm. However, I found out from the following page that the virtual machine c

Re: Could you please help with questions about the net failover feature

2020-07-06 Thread Laine Stump
et adapter on the host that is connected to the same network. --- Best Regards, Yalan Zhang IRC: yalzhang On Sun, Mar 22, 2020 at 6:50 AM Laine Stump <mailto:la...@redhat.com>> wrote: On 3/21/20 1:08 AM, Yalan Zhang wrote: > In my understanding, the standby and primary hostdev

Re: Virtual Bridge "Network" for Sandbox

2020-06-29 Thread Laine Stump
rke* On 2020-06-29 9:13 a.m., Laine Stump wrote: On 6/29/20 11:01 AM, Paul O'Rorke wrote: Hi all, I couldn't find any documentation on this, hopefully someone can point me in the right direction. I recently set up a sand-boxed environment for our developers. There are domain control

Re: Virtual Bridge "Network" for Sandbox

2020-06-29 Thread Laine Stump
On 6/29/20 11:01 AM, Paul O'Rorke wrote: Hi all, I couldn't find any documentation on this, hopefully someone can point me in the right direction. I recently set up a sand-boxed environment for our developers. There are domain controller(s), workstations and servers in there.  The whole thi

Re: No outbound connectivity from guest VM(fedora 32)

2020-06-09 Thread Laine Stump
On 6/8/20 8:55 AM, Justin Stephenson wrote: On Mon, Jun 8, 2020 at 5:09 AM Daniel P. Berrangé wrote: On Fri, Jun 05, 2020 at 01:27:08PM -0400, Justin Stephenson wrote: Hi, I recently installed a fresh install of Fedora 32 and I am having trouble with my virtual machine networking, I can ssh

Re: macvtap direct

2020-05-18 Thread Laine Stump
On 5/18/20 10:51 PM, Subhendu Ghosh wrote: On Thu, May 14, 2020 at 1:32 PM Laine Stump <mailto:la...@redhat.com>> wrote: On 5/13/20 12:52 AM, Subhendu Ghosh wrote: > Hi > > Couple of questions around macvtap direct usage: > > 1) is t

Re: macvtap direct

2020-05-14 Thread Laine Stump
On 5/13/20 12:52 AM, Subhendu Ghosh wrote: Hi Couple of questions around macvtap direct usage: 1) is the document here current? https://libvirt.org/formatnetwork.html#examplesDirect Yes. None of that has changed in any major way in many years. I have been able to get host to guest network

Re: Libvirt APIs for creating virtual networks

2020-05-08 Thread Laine Stump
On 5/7/20 2:18 PM, Santhosh Kumar Gunturu wrote: Does the libvirt has any capabilities to get the statistics of DHCP server ? How many packets received/sent ? Is there a way to get those statistics if the APIs are not available ? libvirt spawns a dnsmasq instance for each network to handle D

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: plug pre-created tap devices to libvirt guests

2020-04-06 Thread Laine Stump
On 4/6/20 9:54 AM, Daniel P. Berrangé wrote: On Mon, Apr 06, 2020 at 03:47:01PM +0200, Miguel Duarte de Mora Barroso wrote: Hi all, I'm aware that it is possible to plug pre-created macvtap devices to libvirt guests - tracked in RFE [0]. My interpretation of the wording in [1] and [2] is that

Re: Could you please help with questions about the net failover feature

2020-03-21 Thread Laine Stump
On 3/21/20 1:08 AM, Yalan Zhang wrote: In my understanding, the standby and primary hostdev interface may be in different subnet. There is only one hostdev device in the team pair (that will be the one with since it needs to be unplugged during migration). The other device must be a virtio

Re: can hotplug vcpus to running Windows 10 guest, but not unplug

2020-02-17 Thread Laine Stump
On 2/14/20 11:17 AM, Gianluca Cecchi wrote: On Fri, Feb 14, 2020 at 4:54 PM Lentes, Bernd > wrote: qemu-kvm-2.11.2-5.18.1.x86_64 [...] I found a table on https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virt

Re: Bridge-less VM

2020-01-17 Thread Laine Stump
(look towards the bottom of the message for the "hidden lead" :-) On 1/16/20 1:16 PM, Rob Roschewsk wrote: I'm trying to create a free standing VM that doesn't connect to a bridge. This is supposedly do able according to the WIKI: https://libvirt.org/formatdomain.html#elementsNICSEthernet But

Re: [libvirt-users] Connecting a VM to an existing OVS bridge

2020-01-10 Thread Laine Stump
On 1/4/20 4:48 AM, Amir Sela wrote: Hi, I have an existing OVS bridge, that I can see in ovs-vsctl and use for other purposes. Does the bridge show up when you run "ovs-vsctl list-br"? Both OVS bridges I have on my system are seen in that list. I created them both with "ovs-vsctl add-br BLAH"

Re: [libvirt-users] Error in launching chasis

2019-12-17 Thread Laine Stump
On 12/17/19 5:52 AM, abhishek jain wrote: Hi I am new to Libvirt and is starting Chassis but getting following error qemu-system-x86_64: -netdev tap,id=net0,ifname=tap01,vhost=on,script=no,downscript=no: tap: open vhost char device failed: Operation not permitted You aren't using libvirt,

Re: [libvirt-users] What's the best way to make use of VLAN interfaces with VMs?

2019-11-27 Thread Laine Stump
On 11/26/19 11:07 PM, Richard Achmatowicz wrote: Hello I have a problem with attaching VMs to a VLAN interface. Here is my setup: I have several physical hosts connected by a physical switch.  Each host has two NICs leading to the switch, which have been combined into a team, team0. Each host

Re: [libvirt-users] Confused setting up a "Virtual Server Hosting" config

2019-10-23 Thread Laine Stump
On 10/23/19 12:43 AM, Paul O'Rorke wrote: Hi list, Can anyone advise me on the correct/best set up for Virtual Server Hosting? I have a guest in my server room wish to migrate to dedicated server I rented in an offsite in a data centre.  I rented a box with one NIC and one public IP.  I insta

Re: [libvirt-users] Live migrate + change interface name

2019-10-22 Thread Laine Stump
On 10/17/19 4:26 PM, Marc Roos wrote: Is it possible to do a live migrate of a guest, having on the from host a source_device=eth2 and to host a source_dev=eth1? What management tool are you using that the syntax is "source_device=eth2"? Are you maybe just paraphrasing your config, and what y

Re: [libvirt-users] KVM NAT stops from working

2019-09-03 Thread Laine Stump
On 9/2/19 10:31 AM, Francesc Guasch wrote: Hi. First of all thank you for the work you are doing with libvirt. I am not sure this is the right place to ask, I'd appreciate if you can give me any hint or directions. I have several similar KVM Linux boxes and one of them has a really strange behav

Re: [libvirt-users] RLIMIT_MEMLOCK in container environment

2019-08-24 Thread Laine Stump
On 8/24/19 3:08 AM, Dan Kenigsberg wrote: On Fri, 23 Aug 2019, 0:27 Laine Stump, <mailto:la...@redhat.com>> wrote: (Adding Alex Williamson to Cc so he can correct any mistakes) On 8/22/19 4:39 PM, Ihar Hrachyshka wrote: > On Thu, Aug 22, 2019 at 12:01 PM Laine Stu

Re: [libvirt-users] RLIMIT_MEMLOCK in container environment

2019-08-22 Thread Laine Stump
(Adding Alex Williamson to Cc so he can correct any mistakes) On 8/22/19 4:39 PM, Ihar Hrachyshka wrote: On Thu, Aug 22, 2019 at 12:01 PM Laine Stump wrote: On 8/22/19 10:56 AM, Ihar Hrachyshka wrote: On Thu, Aug 22, 2019 at 2:24 AM Daniel P. Berrangé wrote: On Wed, Aug 21, 2019 at 01:37

Re: [libvirt-users] RLIMIT_MEMLOCK in container environment

2019-08-22 Thread Laine Stump
On 8/22/19 10:56 AM, Ihar Hrachyshka wrote: On Thu, Aug 22, 2019 at 2:24 AM Daniel P. Berrangé wrote: On Wed, Aug 21, 2019 at 01:37:21PM -0700, Ihar Hrachyshka wrote: Hi all, KubeVirt uses libvirtd to manage qemu VMs represented as Kubernetes API resources. In this case, libvirtd is running

Re: [libvirt-users] UDP broadcasts vs. nat Masquerading issue

2019-07-04 Thread Laine Stump
On 6/28/19 10:23 AM, Nikolai Zhubr wrote: Hi all, I'm observing an issue that as soon as libvirt starts, UPD broadcasts going through physical network (and unrelated to any virtualization) get broken. Specifically, windows neighbourhood browsing through samba's nmbd starts suffering badly (Sa

Re: [libvirt-users] Easy solution for custom firewall rules-

2019-06-03 Thread Laine Stump
On 6/2/19 10:02 PM, Joshua Kramer wrote: Nakta wrote: libvirts nwfilter module can achieve that. I read over those resources and I did what I thought would be correct, but it's not having any effect. I created a new nwfilter like this:

Re: [libvirt-users] Easy solution for custom firewall rules- is it possible?

2019-06-03 Thread Laine Stump
> Am Donnerstag, den 30.05.2019, 21:44 -0400 schrieb Joshua Kramer: >> Hello All- >> >> I've looked in several places and haven't found an answer to this >> question: is it possible to have libvirt add custom rules to iptables >> for virtual network interfaces? I took a look at the "Firewall and

Re: [libvirt-users] PCI passthrough and abstraction

2019-04-25 Thread Laine Stump
On 4/25/19 10:14 AM, Mauricio Tavares wrote: So I am reading through , and am wondering what is the difference between and if I am trying to give full access to a NIC? Which one exposes more of the card? I also answered this on IRC, but just in case someone is looking through the email

Re: [libvirt-users] Network hooks for ethernet interfaces

2019-04-10 Thread Laine Stump
On 4/9/19 11:35 AM, Ruben Kerkhof wrote: On Tue, Apr 9, 2019 at 5:10 PM Michal Privoznik wrote: On 4/9/19 4:38 PM, Ruben Kerkhof wrote: Hi all, I have a hook script, /etc/libvirt/hooks/network, that doesn't seem to be called when I attach an interface with type 'ethernet' with this xml snipp

Re: [libvirt-users] Guest interface names not same as configured name

2019-04-04 Thread Laine Stump
On 4/4/19 2:02 PM, PR PR wrote: Hi, I am creating a guest with following description for interfaces in the xml using virsh create xml command. For some reason, the guest interface names in the VM dont match the names specified in the xml. Is there a way to make guest interface names predictab

Re: [libvirt-users] Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0

2019-03-26 Thread Laine Stump
ied#012' Mar 26 19:25:01 dpdk-OptiPlex-5040 libvirtd.service: 20423: error : virNetDevOpenvswitchAddPort:155 : internal error: Unable to add port vnet0 to OVS bridge br0 Mar 26 19:25:01 dpdk-OptiPlex-5040 NetworkManager[1096]: [1553608501.7126] devices removed (path: /sys/devices/virtual/net

Re: [libvirt-users] Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0

2019-03-19 Thread Laine Stump
On 3/15/19 3:21 AM, Harsh Gondaliya wrote: I have installed OVS from sources using the installation steps mentioned on this link: http://docs.openvswitch.org/en/latest/intro/install/general/ I had installed libvrt, KVM, QEMU and all the necessary packages using apt-get. My KVM-QEMU hypervisor

Re: [libvirt-users] vlan tagging for openVSwitch

2019-03-14 Thread Laine Stump
On 3/13/19 6:52 AM, lejeczek wrote: hi everyone, I'm trying to get vlans tagged in libvirt as my switch's end (yes traffic will be leaving the host and into network switches) allows only tagged vlans. But with network as such: ...       I responded to the bug you filed at bugzilla.redh

Re: [libvirt-users] How to insert a dummy NIC

2019-03-11 Thread Laine Stump
On 3/11/19 5:05 AM, wf...@niif.hu wrote: Hi, I have to host (with KVM) an appliance which does not use its second and third NIC. They have to be present in the guest, but they'd better stay totally disconnected from anything in the host. "Second" and "third" apparently means bus order. Let's

Re: [libvirt-users] libvirt 5.0.0 - LXC container still in "virsh list" output after shutdown

2019-02-25 Thread Laine Stump
On 2/25/19 11:12 AM, mxs kolo wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1681180 Since you are able to post to a mailing list, and are also know what is the problem and how to patch it, how about sending a patch (based on git master of libvirt source, and using git send-email) to lib

Re: [libvirt-users] script called from qemu hook freezes.

2019-01-04 Thread Laine Stump
On 1/4/19 11:27 AM, daggs wrote: Greetings Peter, Sent: Friday, January 04, 2019 at 4:47 PM From: "Peter Krempa" To: daggs Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] script called from qemu hook freezes. On Thu, Jan 03, 2019 at 18:07:58 +0100, daggs wrote: Greetings, I'm exe

  1   2   3   4   5   >