Re: [libvirt-users] Can not restore domain from a shared state file

2010-05-11 Thread Laine Stump
On 05/11/2010 04:40 AM, Zhang Qian wrote: Hi, I have two KVM host: h1 and h2, both of them mount an NFS directory as a shared storage. I can save (virsh save ) a domain in h1 to a state file in the shared storage successfully, but failed to restore it from h2 with the following error message

Re: [libvirt-users] network interface management in bridge firewall configuration

2010-06-27 Thread Laine Stump
On 06/17/2010 11:01 AM, Aleksander Trofimowicz wrote: Hello, I'm just wondering why I can't manage my network interfaces through libvirt when the following kernel parameters are turned on: net.bridge.bridge-nf-call-ip6tables net.bridge.bridge-nf-call-iptables net.bridge.bridge-nf-call-arptabl

Re: [libvirt-users] XML

2010-09-21 Thread Laine Stump
On 09/18/2010 04:52 PM, Glynn D. Reynolds wrote: Hi! I am new to libvirt. I would like to know where would you make the change to correct this error. I am not sure to add an entry in /etc/libvirt/network/default.xml or not. Could you provide ne with a current link to the documentation that wi

Re: [libvirt-users] correction

2010-09-21 Thread Laine Stump
On 09/20/2010 02:56 PM, Glynn D. Reynolds wrote: I have corrected the error! Error: Sep 18 13:53:46 gdrenterprise libvirtd: 13:53:46.116: error : virInterfaceDefParseMtu:141 : XML description for interface mtu value is improper is not well formed or invalid To correct this error you will have

Re: [libvirt-users] Question about use libvirt

2010-10-12 Thread Laine Stump
On 10/12/2010 08:40 PM, Mike Hall wrote: Original message: For a new system to develop, I need to know if I can use libvirt for to get (listen) the information that pass trought the lan (vlan) of the each VM. Marcela's perfect Spanish: quiero saber si utilizando esta libreria, puedo utilizar

Re: [libvirt-users] Updating Multiple VM Guests?

2010-11-10 Thread Laine Stump
On 11/10/2010 11:59 AM, Kenneth Stailey wrote: Hi, The libvirt.org FAQ says that "virsh edit" is the recommended way of updating the libvirt xml. If a change has to be made to many VMs "virsh edit" is tedious, time-consuming and likely to be prone to careless errors. Is there a command line

Re: [libvirt-users] Updating Multiple VM Guests?

2010-11-10 Thread Laine Stump
On 11/10/2010 01:20 PM, Kenneth Stailey wrote: --- On Wed, 11/10/10, Laine Stump wrote: From: Laine Stump Subject: Re: [libvirt-users] Updating Multiple VM Guests? To: libvirt-users@redhat.com Date: Wednesday, November 10, 2010, 12:41 PM On 11/10/2010 11:59 AM, Kenneth Stailey wrote: Hi

Re: [libvirt-users] ICMP into guest not "working"

2010-12-22 Thread Laine Stump
On 12/22/2010 04:02 PM, David Lane wrote: Good afternoon. I have a RHEL6 host, running RHEL 3.8 as a guest. The NIC is bridged. From the guest, I can ping successfully to a variety of network devices. From the host, I can ping successfully to a variety of network devices AND the guest OS.

Re: [libvirt-users] libvirt bridge configuration

2011-01-31 Thread Laine Stump
On 01/31/2011 12:18 AM, Justin Clift wrote: On 31/01/2011, at 5:52 AM, Taras Lipatov wrote: Hi Every one, I'm hoping some one can point me in the right direction. We are piloting KVM + Libvirt for migrating off Xen and I'm stuck with the network bridge configuration via libvirt. What we have

Re: [libvirt-users] Network/bridge questions

2011-02-05 Thread Laine Stump
On 02/05/2011 01:06 AM, Alex wrote: Hi, I have an fc14 install and would like to install a few kvm guests but am having difficulty with the networking. On the host I have disabled NetworkManager and configured a bridge which has eth0, the only physical interface on the server. I have a dhcp ser

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Laine Stump
y more because is related to another interface. I hope I've explained better the problem I have. Thank you very much, you've already helped too much to better understand the different cases of network configuration Regards. 2011/2/10 Marcela Castro León Hello Laine: Thank you ver

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Laine Stump
of "virsh define" followed by "virsh start" would be more appropriate. 3) there is a bug somewhere. 2011/2/10 Laine Stump: On 02/10/2011 08:50 AM, Tanguy ROZIER wrote: Your problem is related to udev : every reboot of VM, udev in VM checks the MAC address of the ethernet inte

Re: [libvirt-users] Connecting to Standalone KVM

2011-03-04 Thread Laine Stump
On 03/04/2011 01:47 PM, Markiewicz, Patrick F (N-No Laurels) wrote: Hi, Can virsh be used to connect to a standalone KVM? I.e. I started a KVM from the command line, and I wondered how to connect to it. Virsh list shows no VMs. Thanks. No. libvirt (and consequently virsh) only knows ab

Re: [libvirt-users] dnsmasq not started when no dhcp enabled ?

2011-03-12 Thread Laine Stump
ression when I added IPv6 support for virtual networks. I pushed a fix last night. Thanks for the report! https://www.redhat.com/archives/libvir-list/2011-March/msg00584.html commit 7892edc9cc45e4fb1079b627bda3f571ac27041f Author: Laine Stump Date: Fri Mar 11 11:47:58 2011 -0500

Re: [libvirt-users] With which VMM ,libvirt cooperates the most?

2011-03-16 Thread Laine Stump
On 03/16/2011 06:08 AM, kadir yüceer wrote: Hi all, I'm trying to develop some applications that communicate with VMM about guest OSs. Libvirt has drivers for many VMMs like Qemu, Vbox, etc. I'm currently using Vbox and time to time I get the error that says "this function is not supported by

Re: [libvirt-users] how to restart the network connection of kvm guest OS ?

2011-03-25 Thread Laine Stump
On 03/25/2011 12:43 AM, Osier Yang wrote: ?? 2011??03??24?? 19:16, ?? : When a vm move from one VLAN(e.g. VLAN 1) to another VLAN (e.g. VLAN 2), it is needed to restart the network connection of guest OS, so that it can begin a dhcp discover and get a new ip again. But i can't find the w

Re: [libvirt-users] bridge and route without IP

2011-04-01 Thread Laine Stump
On 03/31/2011 04:29 PM, Robert Šmol wrote: Hi, I want to forward all traffic received on eth1 into virtual domain 'firewall' (where I want to configure public IP+shorewall) I've created following network: node002 qemu # cat networks/int-001.xml int-001 virsh # net-create networks/int-001

Re: [libvirt-users] Default network / net-edit

2011-04-18 Thread Laine Stump
On 04/18/2011 10:49 AM, ssa...@nrln.us wrote: How do you modify the default network parameters? The net-edit command within virsh does not seem to work as expected. Changes made to the configuration of a network do not take effect until the network has been net-destroyed, then net-started ag

Re: [libvirt-users] Undefined interfaces?

2011-04-19 Thread Laine Stump
On 04/18/2011 01:12 PM, Alex wrote: Hi, I have a working fc14 install with a few virtual interfaces set up, and just noticed the following in messages: Apr 18 13:07:43 fc14 libvirtd: 13:07:43.155: error : interfaceGetXMLDesc:355 : internal error could not get interface XML description (netcf: NE

Re: [libvirt-users] [Libvir] libvirt & vde_switch

2011-04-28 Thread Laine Stump
On 04/28/2011 09:56 AM, Robert Šmol wrote: For my needs I would like to see either vdeswitch or openvswitch integrated in the project. Is there any preference from the users/developers on which one of those I should start looking into? Are you volunteering to write some code? :-) There have b

Re: [libvirt-users] port forwarding

2011-04-28 Thread Laine Stump
On 04/28/2011 09:15 AM, Ireneusz Szcześniak wrote: Hi, I'm using CentOS release 5.6 (Final) and Xen 3.1. I'm writing to ask how to configure port forwarding. With virt-manager 0.6.1 I added the machines, but there I don't see an option for port forwarding. I would like to reach the VM on a s

Re: [libvirt-users] port forwarding

2011-04-28 Thread Laine Stump
On 04/28/2011 10:56 AM, Whit Blauvelt wrote: On Thu, Apr 28, 2011 at 10:41:11AM -0400, Laine Stump wrote: On 04/28/2011 09:15 AM, Ireneusz Szcześniak wrote: I would like to reach the VM on a specific port of the host machine. Once the machinces are running, I can configure iptables so that the

Re: [libvirt-users] libvirt-bin MOSTLY fails to create default virtual network

2011-06-12 Thread Laine Stump
On 06/06/2011 03:24 PM, m m wrote: I have observed 3 scenarios after I reboot the host with 2 guests (which are supposed to autostart after boot/reboot of the host): 1. Default network is created but I can not ping guests. Gests don't have assigned IP address or they both have IP address 192.168

Re: [libvirt-users] Guest-networking: Two subnets = Guests cannot connect to the other subnet

2011-07-07 Thread Laine Stump
On 07/06/2011 06:02 AM, mailingli...@florian-kaiser.net wrote: Hello list, We have KVM setup using libvirt (0.9.0) as configuration device on a Debian Squeeze Host. Networking is done in routed bridge mode and we have two different subnets, as well as one main ip. Subnets get routed to the main

Re: [libvirt-users] Using libvirt with a preexisting network infrastructure

2011-08-04 Thread Laine Stump
On 07/29/2011 07:19 AM, Vegard Vesterheim wrote: On Fri, 29 Jul 2011 10:15:09 +0100 Tom Hughes wrote: - virt-manager should offer the bridges as options when you create an interface and you just select the one you want. I do not see my bridges as options in virt-manager, but when configuring

Re: [libvirt-users] Graphical framebuffers confuse, XML format about spice

2011-09-08 Thread Laine Stump
On 09/07/2011 11:03 PM, huachao yao wrote: Hello, i want to start a guest OS in the server, and use spice to achieve graphical interaction with the guest OS. But when i config the XML file, i was confuse by spice . The graphic node is : address='127.0.0.1'/> but is has such error as below :

Re: [libvirt-users] Graphical framebuffers confuse, XML format about spice

2011-09-08 Thread Laine Stump
On 09/07/2011 11:13 PM, huachao yao wrote: When i set the Graphic node as : the Error is : libvir: QEMU error : XML error: listen network 'rednet' had no usable address Unless you actually have a network defined in libvirt that is named "rednet", this configuration makes n

Re: [libvirt-users] Graphical framebuffers confuse, XML format about spice

2011-09-09 Thread Laine Stump
(please reply to the list rather than personal mail) On 09/08/2011 11:23 PM, huachao yao wrote: 2011/9/9 Laine Stump mailto:la...@laine.org>> On 09/07/2011 11:03 PM, huachao yao wrote: Hello, i want to start a guest OS in the server, and use spice to achieve gra

Re: [libvirt-users] [libvirt] how did libvirt manage Virtual Network?

2011-09-09 Thread Laine Stump
(This seems more appropriate for the libvirt-users mailing list) On 09/08/2011 10:16 PM, Wayne Xia wrote: Working at the network management, I am a bit confused about the VLAN model in libvirt. in the xml definition, there is a section as following: ... What is

Re: [libvirt-users] How to install libvirt 0.9.4 RPM on Fedora 14?

2011-09-13 Thread Laine Stump
On 09/13/2011 08:53 AM, Guido Winkelmann wrote: Hi, I'm trying to install the newest version of libvirt and libvirt-client from the rpms at ftp://libvirt.org/libvirt/ on a Fedora 14 machine. The naming of the rpms as "libvirt-0.9.4-1.fc14.x86_64.rpm" suggests that this is exactly the system this

Re: [libvirt-users] Second VM cannot get dhcp ip in NAT mode

2011-10-02 Thread Laine Stump
On 09/29/2011 11:45 PM, Magicloud Magiclouds wrote: On Fri, Sep 30, 2011 at 10:34 AM, Magicloud Magiclouds wrote: Hi, Yesterday I started to use libvirt with kvm under centos6. The first VM works great. Today I added another VM and start to initialize with virt-install. Well, it seems th

Re: [libvirt-users] QEMU hook on restore

2012-02-10 Thread Laine Stump
On 02/10/2012 01:45 PM, Eric Blake wrote: > On 02/10/2012 05:43 AM, Székelyi Szabolcs wrote: >> I've also noticed that the domain description passed to the hook script >> doesn't contain the network device the host will be attached to (XPath: >> /domain/devices/interface/target/@dev). > This is a

Re: [libvirt-users] QEMU hook on restore

2012-02-10 Thread Laine Stump
On 02/10/2012 03:35 PM, Eric Blake wrote: > On 02/10/2012 12:42 PM, Laine Stump wrote: >> On 02/10/2012 01:45 PM, Eric Blake wrote: >>> On 02/10/2012 05:43 AM, Székelyi Szabolcs wrote: >>>> I've also noticed that the domain description passed to the hook scrip

Re: [libvirt-users] QEMU hook on restore

2012-02-10 Thread Laine Stump
On 02/10/2012 01:45 PM, Eric Blake wrote: > On 02/10/2012 05:43 AM, Székelyi Szabolcs wrote: >> Hi, >> >> I'm using libvirt 0.8.3. It looks like to me that when a QEMU domain is >> restored from save, the hook is called with the "stopped end -" arguments. >> >> >> I've also noticed that the domain

Re: [libvirt-users] QEMU hook on restore

2012-02-13 Thread Laine Stump
On 02/12/2012 09:15 PM, Székelyi Szabolcs wrote: > On 2012. February 10. 16:59:09 Laine Stump wrote: >> On 02/10/2012 01:45 PM, Eric Blake wrote: >> From the documentation page, it looks like the "prepare" hook didn't >> exist until 0.9.0; my guess would

Re: [libvirt-users] [libvirt] Fail to import available VM image

2012-02-14 Thread Laine Stump
On 02/14/2012 11:01 AM, Jun Koi wrote: > On Tue, Feb 14, 2012 at 11:47 PM, Alex Jia wrote: >> Hi Jun, >> I assume you haven't changed libvirt default URI, it may be a issue, >> I want to know whether it works for you if you explicitly specify >> --connect qemu:///system with virt-install? I think

Re: [libvirt-users] [libvirt] Problem with Open vSwitch and dnsmasq

2012-03-22 Thread Laine Stump
(Cc'ing to libvirt-users@redhat.com) On 03/22/2012 02:43 PM, Ansis Atteka wrote: > > > On Thu, Mar 22, 2012 at 11:11 AM, Daniele Milani > wrote: > > I think I could try the first solution. Can you explain me how do > I create the port used by dnsmasq? > > F

Re: [libvirt-users] Cant Update libvirt on fedora 15 i686

2012-03-27 Thread Laine Stump
On 03/27/2012 04:28 AM, siddharth jain wrote: > > > On Mon, Mar 26, 2012 at 8:28 PM, Eric Blake > wrote: > > On 03/24/2012 11:18 PM, siddharth jain wrote: > > I am running Fedora15 on a i386 machine, and using libvirt > 0.8.7. I cant > > update libvirt t

Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-13 Thread Laine Stump
On 04/12/2012 03:35 AM, yue wang wrote: > hi everybody, > i saw the new feature: network: support Open vSwitch. > how to use this feature? are there any documents about that? i didn't > find it on the website. It's a very new feature, only in libvirt-0.9.10 and newer. Here is the commit log that d

Re: [libvirt-users] Guests can't connect to each other

2012-04-15 Thread Laine Stump
On 04/13/2012 08:33 AM, Anthony Bourguignon wrote: > Hi, > > I'm using libvirt and qemu on Debian Wheezy. I'm having a strange > behavior. Guests can't connect to each other when they're on the same > host. > > On the host I'm using bonding (in active / backup mode) and vlan. It > looks like this :

Re: [libvirt-users] Guests can't connect to each other

2012-04-15 Thread Laine Stump
On 04/13/2012 03:17 PM, Richard W.M. Jones wrote: > On Fri, Apr 13, 2012 at 02:33:24PM +0200, Anthony Bourguignon wrote: >> Hi, >> >> I'm using libvirt and qemu on Debian Wheezy. I'm having a strange >> behavior. Guests can't connect to each other when they're on the same >> host. >> >> On the host

Re: [libvirt-users] Guests can't connect to each other

2012-04-16 Thread Laine Stump
On 04/16/2012 07:02 AM, Anthony Bourguignon wrote: > Le dimanche 15 avril 2012 à 10:19 -0400, Laine Stump a écrit : >> Your config looks fine (the important part is that you're using bridge >> mode for macvatap rather than private). I would suspect some sort of bug >> rel

Re: [libvirt-users] Guests can't connect to each other

2012-04-16 Thread Laine Stump
I just noticed the packet dumps in your original message. They show that the TCP checksum of all packets past #3 are incorrect. This is a similar problem with one caused by using the virtio "vhost" mode with standard tap network devices - if the dhcp server and client are on the same physical mac

Re: [libvirt-users] F14->F16 Upgrade Results in Win2003 Server Client BSOD 0x7f

2012-05-17 Thread Laine Stump
On 05/09/2012 08:11 AM, Thomas J. Baker wrote: > Hello, > > I upgraded my kvm server from Fedora 14 to Fedora 16 and the only casualty > was a Windows 2003 Server client that will no longer boot with and produces a > BSOD. I admittedly know very little about Windows and this VM has been around >

Re: [libvirt-users] How can a bridge be optimized?

2012-06-13 Thread Laine Stump
On 06/11/2012 03:28 PM, Whit Blauvelt wrote: > On Mon, Jun 11, 2012 at 07:22:48PM +0300, Henrik Ahlgren wrote: >> On 06/11/2012 06:34 PM, Whit Blauvelt wrote: >>> Looking into background info on these, it looks like SR-IOV capability is >>> specific to certain NICs and not documented for KVM/libvir

Re: [libvirt-users] How can a bridge be optimized?

2012-06-13 Thread Laine Stump
On 06/11/2012 11:34 AM, Whit Blauvelt wrote: > On Sat, Jun 02, 2012 at 11:43:34PM -0400, Andrew Cathrow wrote: > >>> On Jun 1, 2012 2:17 PM, "Whit Blauvelt" < whit.v...@transpect.com > >>> wrote: I recall the kernel recently adding a new alternative for handling VM interfaces, but can't r

Re: [libvirt-users] VM dies with error regarding "virConnectNumOfInterfaces"

2012-07-20 Thread Laine Stump
On 07/20/2012 05:12 PM, Helga Velroyen wrote: > Hi! > > I ran into a problem using a USB device and was wondering if > you could help me. > > I'm running a Win XP SP3 in a VM with libvirt on a Xubuntu 11.10. > I configured it to talk to several USB devices. > > With one particular device (a Phonak

Re: [libvirt-users] VM dies with error regarding "virConnectNumOfInterfaces"

2012-07-24 Thread Laine Stump
On 07/23/2012 05:59 AM, Helga Velroyen wrote: > Hi! > > thanks for your mail! See my answers inline. > > > I ran into a problem using a USB device and was wondering if > > you could help me. > > > > I'm running a Win XP SP3 in a VM with libvirt on a Xubuntu 11.10. > > I configur

Re: [libvirt-users] virsh iface-list error

2012-07-25 Thread Laine Stump
On 07/24/2012 05:11 PM, Eric Blake wrote: > On 07/24/2012 03:52 AM, Arun Sharma wrote: >> Hello >> >> Facing below error while trying to access the iface-list. >> >> # virsh iface-list >> *error: Failed to list active interfaces >> error: this function is not supported by the connection driver: >>

Re: [libvirt-users] Can't NAT in KVM

2012-07-28 Thread Laine Stump
On 07/27/2012 03:15 AM, Borden Rhodes wrote: > I have tried creating a Windows 8 Release Preview machine and a > Kubuntu Live CD machine. Despite recognising the hardware and network > interface, neither machine will connect to the Internet. From what I > can see in both virtual machines, it seems

Re: [libvirt-users] Can't NAT in KVM

2012-07-28 Thread Laine Stump
On 07/28/2012 01:41 AM, Borden Rhodes wrote: > On 28 July 2012 01:23, vipul borikar wrote: >> Can you just disable the firewall and see whether it works or not . > I did that. The virtual machine can get an IP address now but can't > connect to the Internet. The VMs can, however, connect to the Ap

Re: [libvirt-users] How to disable dnsmasq from starting automatically with libvirtd

2012-09-13 Thread Laine Stump
On 09/13/2012 04:14 AM, Osier Yang wrote: > > If you want to use the default NAT network, but to use your own > DHCP server instead of dnsmasq, patches/RFC/ideas are welcomed > (libvir-l...@redhat.com). > If you want to use network in mode other than NAT. You won't have > to suffer from the dnsmasq

Re: [libvirt-users] cannot start domain with SR-IOV interface

2012-10-24 Thread Laine Stump
On 10/15/2012 06:29 PM, Radhika Niranjan wrote: > Hi, > > I've been using libvirt (versions 0.9.11.5, and recently upgraded to > 0.10.2), and have been attaching an SR-IOV VF to my VM with the > following device configuration: > > > > >function='0x0'/> > > > I had

Re: [libvirt-users] IPV6 configuration

2012-11-26 Thread Laine Stump
On 11/13/2012 04:05 PM, Patrick Chemla wrote: > Hi, > > I am running package libvirt-0.9.11.6-1.fc17.x86_64 on a > kernel-3.6.5-1.fc17.x86_64 Fedora 17. > > I have set up the host with an IPv6 address, and I made some > successfull tests transferring in IPv6 mode to/from other hosts. > > I want to

Re: [libvirt-users] NWFilter and IPv6

2012-11-26 Thread Laine Stump
On 11/07/2012 03:22 AM, Guido Winkelmann wrote: > Hi, > > Libvirt's nwfilter ships a number of useful filter scripts by default, but > none to handle IPv6 traffic. Is there a particular reason for that, or is > that > just because nobody has got around to that yet? Hi Guido! I just saw this mes

Re: [libvirt-users] what interface does virbr0 forward message to?

2012-11-26 Thread Laine Stump
On 11/26/2012 04:48 AM, Timon Wang wrote: > > brctl show > That command won't show anything relevant to the question. The virbr0 bridge created by libvirt for the default network is not attached directly to any physical interfaces, so brctl will not show anything other than guest tap devices conn

Re: [libvirt-users] NWFilter and IPv6

2012-12-04 Thread Laine Stump
On 12/04/2012 10:22 AM, Guido Winkelmann wrote: > Am Montag, 26. November 2012, 10:41:47 schrieb Laine Stump: >> On 11/07/2012 03:22 AM, Guido Winkelmann wrote: >>> One interesting thing about dealing with IPv6 traffic is that hosts often >>> have several auto-confi

Re: [libvirt-users] NWFilter and IPv6

2012-12-05 Thread Laine Stump
nstag, 4. Dezember 2012, 19:18:01 schrieb Stefan Berger: >> On 12/04/2012 09:39 AM, Guido Winkelmann wrote: >>> Am Montag, 26. November 2012, 12:24:11 schrieb Stefan Berger: >>>> On 11/26/2012 10:41 AM, Laine Stump wrote: > [...] >>>> One problem I want t

Re: [libvirt-users] openvswitch

2013-01-08 Thread Laine Stump
On 01/06/2013 01:07 PM, do...@mailoo.org wrote: > > Hello > > I'm a newbie with libvirt and I would like to know if when I compile > libvirt (0.10 on amd64 debian) I have to specify an option for the > management of openvswitch or if it's integrated in the code? > (If you're compiling it yourself

Re: [libvirt-users] Problems with VM networking on Ubuntu Quantal

2013-01-08 Thread Laine Stump
On 01/02/2013 06:10 AM, Dale Amon wrote: > I have shifted some VM's to a new server running Quantal > and have had a world of trouble. The first one was caused > by issues with an apparently compiled in path in their > apparmor version which forced VM pools to be in /srv or > similar rather than wh

Re: [libvirt-users] firewalld, no dhcp and virsh

2013-01-17 Thread Laine Stump
On 01/16/2013 12:27 AM, Paul Wouters wrote: > > On all of the networks I create, I really don't want > libvirt/KVM/virt-manager to do any kind of DHCP. I'm currently using > xml files to feed into libvirt via virsh, for example: > > > 192_0_1 > > > > > > > Running this through virsh

Re: [libvirt-users] Libvirt node is not getting booted through network with KVM too

2013-01-17 Thread Laine Stump
On 01/16/2013 12:20 AM, Varun Bhatnagar wrote: > Hi, > > Sorry for putting the images. Posting this question again. > I am trying to boot my node through network with the following > configuration (even with KVM it is not getting booted): > > *< domain type='kvm'>* > * < name>Node-2-3* > > * < os

Re: [libvirt-users] http problem with (a particular url) and default (nat) networking

2013-01-28 Thread Laine Stump
On 01/26/2013 07:30 PM, John McFarlane wrote: > At work I have a script that provisions a vm for use by employees. > One step in this process is to fetch hadoop, which we happen to get > from cloudera. I noticed the script always failed when I used > libvirt's default networking (nat) but worked

Re: [libvirt-users] Networking problem - multiple guests using MacVTap in bridge mode

2013-02-03 Thread Laine Stump
On 02/01/2013 08:26 AM, Filip Korzeniowski wrote: > Dear list, > > I am getting strange problems using a setup outlined in the subject. I > want to run three guests on a single kvm host. The guests are connected > through macvtap directly to the network device 'eth0' of the host using > this config

Re: [libvirt-users] netfilter+libvirt=(smth got broken?)

2013-03-20 Thread Laine Stump
On 03/20/2013 09:41 AM, Nikolai Zhubr wrote: > Hello, > 20.03.2013 16:47, I wrote: > [...] >> This all looks to me as if "--ctdir" argument somehow magically changed >> its meaning to the opposite, but this just cannot be! I'm out of ideas >> and looking for insights. Any hints appreciated quite a

Re: [libvirt-users] netfilter+libvirt=(smth got broken?)

2013-03-22 Thread Laine Stump
On 03/22/2013 06:53 AM, Pablo Neira Ayuso wrote: > On Thu, Mar 21, 2013 at 10:55:42AM +0100, Pablo Neira Ayuso wrote: >> Hi Eric, >> >> On Wed, Mar 20, 2013 at 09:18:21PM -0600, Eric Blake wrote: >> [...] By looking at the changes you made: > --A FI-vnet0 -p tcp -m tcp --sport 110 -m

Re: [libvirt-users] netfilter+libvirt=(smth got broken?)

2013-03-27 Thread Laine Stump
On 03/26/2013 10:18 AM, Pablo Neira Ayuso wrote: > On Fri, Mar 22, 2013 at 02:10:33PM -0400, Laine Stump wrote: >> On 03/22/2013 06:53 AM, Pablo Neira Ayuso wrote: >>> On Thu, Mar 21, 2013 at 10:55:42AM +0100, Pablo Neira Ayuso wrote: >>>> Hi Eric, >>>&g

Re: [libvirt-users] Host modifications

2013-03-28 Thread Laine Stump
On 03/25/2013 05:12 PM, Benoit Friry wrote: > On 03/25/2013 16:21, Eric Blake wrote: >> On 03/25/2013 03:09 AM, Benoit Friry wrote: >>> Examples: - editing interfaces with virsh or virt-manager >>> modifies my /etc/network/interfaces. It's not clear at first >>> glance that I can even cut myself fr

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-08 Thread Laine Stump
On 04/08/2013 02:44 PM, Will Dennis wrote: > Update: I have upgraded from libvirt 0.9.8 on the virtualization server > to libvirt 1.0.4. Now the net-define command works with the "virtualport > type='openvswitch'" directive in it. So I did a "net-edit" on the > networks, added that line in, and sav

Re: [libvirt-users] Issue with macvtap bridge and forwarding

2013-04-08 Thread Laine Stump
On 04/04/2013 10:48 PM, Matt LaPlante wrote: > I have three hosts running Ubuntu 12.04 (libvirt 0.9.8). The > configuration is one host running on bare metal while the other two > are KVM guests. > > The first guest is my network router. It has a direct connection to a > physical nic going out to

Re: [libvirt-users] Faulty manual?

2013-04-09 Thread Laine Stump
On 04/09/2013 09:48 AM, Daniele Testa wrote: > Hi, > > Look under examples: > http://builder.virt-tools.org/artifacts/libvirt-virshcmdref/html/sect-attach-disk.html > > (root@h2)-(/)# virsh attach-disk vps_99 /dev/nbd2 vdb --address > pci:.00.11.0 --persistent > *error: command 'attach-disk' do

Re: [libvirt-users] Issue with macvtap bridge and forwarding

2013-04-09 Thread Laine Stump
be enough to convince me to use a host bridge instead of macvtap (is there some particular reason you want to use macvtap?) > > > On Mon, Apr 8, 2013 at 3:24 PM, Laine Stump wrote: >> On 04/04/2013 10:48 PM, Matt LaPlante wrote: >>> I have three hosts running Ubuntu 12.0

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-09 Thread Laine Stump
On 04/08/2013 05:20 PM, Will Dennis wrote: > Thanks, Laine, for your reply. The OVS bridge named 'vl20-ovsbr0' does > exist, but it is an Open vSwitch "fake bridge" -- see > http://blog.scottlowe.org/2012/10/19/vlans-with-open-vswitch-fake-bridge > s/ for why I'm doing this. > Here's some relevant

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-09 Thread Laine Stump
* accept a patch. Otherwise, hopefully there will be some new blood in virt-manager, and they'll think this is a good request to take on. At any rate, the generic nature of your error leads me to believe that the problem isn't the "fake bridge" after all. > > Than

Re: [libvirt-users] Port forwarding for KVM

2013-04-12 Thread Laine Stump
On 04/12/2013 07:06 AM, ??? (Wei-Ren Chen) wrote: > Hi all, > > Let me illustrate what I want to do. I want to launch a QEMU > "inside" a KVM virtual machine, then get that QEMU's vnc output. > I am using libvirt 0.9.13 (`libvirtd --version`), and attach is > my vm's original config xml. Is there

Re: [libvirt-users] how to start virbr0-nic when start NAT network virbr0

2013-04-15 Thread Laine Stump
On 04/14/2013 09:56 PM, yue wrote: > in my case each ethernet must in UP status even it is a NAT network > where is the point i can start its virt-ethernet when i start a > NAT-network? I've discussed this with (who I *think* is) the author of this email on irc, but just in case anyone in the

Re: [libvirt-users] network under session

2013-04-15 Thread Laine Stump
On 04/13/2013 02:42 PM, Evaggelos Balaskas wrote: > Perhaps a stupid question, but i will give it a try: > > I have two machines on libvirtd session and network on usermod. > Can i (somehow) cross these two machines ? > > machineA: > ip addr add 10.10.10.101/24 dev eth0 > ip route add default via 1

Re: [libvirt-users] dnsmasq does not start

2013-04-24 Thread Laine Stump
On 04/24/2013 03:23 AM, Alexey Kardashevskiy wrote: > Hi! > > I am trying to run tap networking with libvirtd. > > My test system is Fedora18/ppc64, libvirt 1.0.4 (compiled from git and > installed). On another system with Fedora17/ppc64 with the same > settings, dnsmasq is running. All configs in

Re: [libvirt-users] Basic Network Connections

2013-04-29 Thread Laine Stump
On 04/26/2013 02:41 PM, Slater, Joseph wrote: > > Hi, > > > > If I have these fragments in a domain definition, the guest will start > with "eth0" > > assigned by dhcp to an address on my lan. Things seem to work > according to the documentation > > I can find. > > > > > > direct-macvta

Re: [libvirt-users] Libvirt 1.0.5 with Openvswitch 1.11.90: unable to add bridge br0 port vnet0 operation not supported

2013-05-08 Thread Laine Stump
On 05/07/2013 02:10 AM, Christopher Paggen (cpaggen) wrote: > > Howdy, > > > > Running the most recent OVS and libvirt I'm running into the following > error message with virt-install: > > > > root@qemu-kvm:~/libvirt-1.0.5# > ovs-vsctl -V > > ovs-vsctl

Re: [libvirt-users] Using source installed open vswitch with libvirt(or virsh).

2013-05-31 Thread Laine Stump
On 05/27/2013 05:22 AM, ??? wrote: > > > At that time, /var/log/libvirt/libvirtd.log > (these are also translated) > - > 2013-05-23 04:32:14.588+: 11455: error : virNetDevGetMTU:343 : > Cannot get interface MTU on 'ovsbr0': No such device > 2013-05-23

Re: [libvirt-users] Libvirt, virtmanager & Windows 7 installation partition

2013-07-04 Thread Laine Stump
On 07/04/2013 04:21 PM, Roland Giesler wrote: > I need to use an existing windows 7 installation in a virtual machine > form a libvirt host running Ubuntu 12.10. > > Windows 7 installs on two partitions. There a 100MB boot partitiona > and then the main partition for the installation. > > If I boo

Re: [libvirt-users] Modify Iptables Rules (virbr0 & virbr1)

2013-08-13 Thread Laine Stump
On 08/06/2013 06:38 PM, Jorge Fábregas wrote: > On 07/31/2013 11:01 AM, Jorge Fábregas wrote: >> That is, the first network can reach all other networks (just because it >> happens to be the first one defined). Is this the intention (only >> default can talk to the others but not the other way aro

Re: [libvirt-users] Modify Iptables Rules (virbr0 & virbr1)

2013-08-13 Thread Laine Stump
On 08/13/2013 07:07 AM, Jorge Fábregas wrote: > On 08/13/2013 06:31 AM, Laine Stump wrote: >> Correct. That is a known problem since 2008: >> >>https://bugzilla.redhat.com/show_bug.cgi?id=453580 > Thanks Laine for confirming it is a known issue. I googled it a lot

Re: [libvirt-users] SR-IOV Pool Availability

2013-09-26 Thread Laine Stump
On 09/20/2013 02:28 AM, Dax Kelson wrote: > I have an Intel X540 SR-IOV NIC in a box with ACS support running RHEL6.4. > > Hi Hongming, I'm hoping you can please help with two issues: > > 1. The pool works, but I transparent VLAN with the pool does not. I > have to manually run "ip" afterwards to g

Re: [libvirt-users] network filter and openvswitch bridge

2013-10-07 Thread Laine Stump
On 10/01/2013 10:27 AM, Pavel Tokarev wrote: > > Hello all! > > I try to use network filters for openvswitch interfaces. This is the > xml configuration of my bridge interface > > > > > > > > > > > > function='0x0'/> > > > The filter 'myfilter' is

Re: [libvirt-users] Automatically assign static ipv4 via dhcp to new VMs (Tim)

2013-10-07 Thread Laine Stump
On 10/05/2013 08:22 PM, Chandana De Silva wrote: > You can do this with the built in dhcp server for the virtual network. > The definition is passed to dnsmasq. > > ... > > > > ip="192.168.122.10" /> > > > ... but if you do this via "virsh net-edit", you will have to stop and r

Re: [libvirt-users] Automatically assign static ipv4 via dhcp to new VMs

2013-10-07 Thread Laine Stump
On 10/04/2013 12:09 PM, Tim wrote: > Hi guys, > > I'm running a KVM/libvirt host in a datacenter and got a fancy IPv4 > subnet from my provider. I'm able to assign IPs from that subnet via > dhcp to my VMs: > > host01 ~ # virsh net-dumpxml internet > > internet > 37b888cc-510f-46f1-9246-346da9

Re: [libvirt-users] sr-iov with openvswitch possible?

2013-10-30 Thread Laine Stump
On 10/23/2013 05:17 PM, Vasiliy Tolstov wrote: > Hi all. I'm try to find answer for my qustion in google, but i can't. > > if i use openvswitch virtualport in domain and want to use sr-iov does > it possible? Or if i use sr-iov traffic not goes to openvswitch? > What do you mean by "use sr-iov"? I

Re: [libvirt-users] bridged networking using VLAN : guest with 2 NIC

2013-10-30 Thread Laine Stump
(There is no need or advantage to Cc'ing individuals who are already subscribed to the mailing list.) On 10/28/2013 05:34 PM, Dan Sa wrote: > hello all, > > I have been trying to set-up bridged network with VLAN and not able to > succeed as many tutorials address only single NIC. > > I am trying t

Re: [libvirt-users] Automatically assign static ipv4 via dhcp to new VMs

2013-10-30 Thread Laine Stump
On 10/18/2013 12:31 AM, Tim wrote: > Thanks for the hint with net-update, thats exactly that what I was > looking for. > > Am 07.10.2013 13:10, schrieb Laine Stump: >> Fortunately, in libvirt 0.10.0 and later (I think that is the version it >> was added) you can use the &q

Re: [libvirt-users] Problem with bridged network configuration

2013-11-13 Thread Laine Stump
On 11/12/2013 06:52 PM, Bob Doolittle wrote: > For the record - I figured this out so am sharing the result for > posterity: > > The issue was that I didn't follow the instructions literally. Since, > once booted, my primary NIC name was "em1" I assumed I had to create > an initscript called ifcfg-

Re: [libvirt-users] macvtap direct and ip spoofing

2013-11-19 Thread Laine Stump
On 11/19/2013 11:00 AM, vlad halilov wrote: > Hi there. I have configured kvm domain (rhel6.4) with ethernet bridged > over macvtap, and found no filtration applied except mac. 'virsh' just > silently ignoring attributes 'filterref' and 'ip address' in different > formats. No error on validate stag

Re: [libvirt-users] Using hostdev to plug a PCI-E host device into Q35 pcie-root port

2013-11-19 Thread Laine Stump
On 11/15/2013 03:35 PM, Thomas Kuther wrote: > Hello, > > I'm trying to migrate a working qemu command line configuration to > libvirt. > The part I'm currently failing on is: > > $ qemu-system-x86_64 -M Q35 ... -device vfio-pci,host=05:00.0,bus=pcie.0 > > The right way to translate this into libvi

Re: [libvirt-users] Asterisk, pci passthrough, and pri card

2013-11-19 Thread Laine Stump
On 11/15/2013 05:18 PM, Mauricio Tavares wrote: > Has anyone been successfully running asterisk in libvirt with a > pri card? I thought we had it working but we seem to be experiencing > long (1h+) calls being dropped. Since you've got it working at all, that means that libvirt has done its

Re: [libvirt-users] layer2 tunnel between guests across hosts

2013-12-03 Thread Laine Stump
On 12/03/2013 11:45 AM, sujay g wrote: > Hi, > Is it possible to setup layer2 tunnels between guests across hosts? > Using vrbr? -- i.e the Guest is unaware. > > On Host 1: > guest (a) --- vrbr0 --- > | > | > On Host 2:

Re: [libvirt-users] How to Position a Network Interface in Physical PCI Slot

2013-12-17 Thread Laine Stump
On 12/17/2013 08:02 AM, Thiru Murugan wrote: > Hi , > > I would like to assign a Network Interface card to Physical Slot X in > the virtual machine, > > I have gone through the XML file definition[Now i have some idea on > how to position the Network Interface in Logical PCI Slot.] What is logical

Re: [libvirt-users] assign static external IP to container

2013-12-20 Thread Laine Stump
On 12/16/2013 04:47 AM, Gao feng wrote: > On 12/14/2013 10:51 AM, scar wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Gao feng @ 12/12/2013 10:18 PM: >>> I saw there are two bridge br0 and virbr0 in your host. which >>> bridge the libvirt uses? what's result of #virsh net-list

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-08 Thread Laine Stump
On 01/08/2014 01:43 PM, ZeroUno wrote: > Hi, > I'm using libvirt to manage some VMs on a CentOS host, and I need some > custom iptables rules to always be in place for some communications to > happen, e.g. between the VMs and the outside world in both directions. > > Some of these rules need to be

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-09 Thread Laine Stump
On 01/09/2014 12:38 PM, ZeroUno wrote: > Il 08/01/14 16:17, Laine Stump ha scritto: > >> On 01/08/2014 01:43 PM, ZeroUno wrote: >>> Also, regarding the "iptables restart problem" described in the last >>> paragraph at <http://libvirt.org/firewall.html

  1   2   3   4   5   >