Re: [libvirt-users] libvirt restarting vms on restart?

2010-01-18 Thread Daniel P. Berrange
On Fri, Jan 15, 2010 at 11:08:21AM +, Tom Hughes wrote: > On 15/01/10 11:03, Daniel P. Berrange wrote: > > >It sounds like you are probably hitting this bug > > > > https://bugzilla.redhat.com/show_bug.cgi?id=550400 > > > >the trouble is I can't rep

Re: [libvirt-users] KVM virtio bonding bandwidth problem

2010-01-21 Thread Daniel P. Berrange
On Thu, Jan 21, 2010 at 11:29:07AM +0100, Didier Moens wrote: > > (first post) > > > Dear all, > > > I have been wrestling with this issue for the past few days ; googling > around doesn't seem to yield anything useful, hence this cry for help. > > > > Setup : > > - I am running several RH

Re: [libvirt-users] Stealing ownership: chown user->qemu->root

2010-01-25 Thread Daniel P. Berrange
On Mon, Jan 25, 2010 at 08:45:01AM -0500, Matthew Farrellee wrote: > F12, libvirt 0.7.1-15, qemu 0.11.0-12, 32 bit > > I recently discovered that libvirt is stealing ownership of my disk > images. How can I make it stop? Edit /etc/libvirt/qemu.conf and set the 'user' and 'group' config options ba

Re: [libvirt-users] monitor option in libvirt ?

2010-01-26 Thread Daniel P. Berrange
On Tue, Jan 26, 2010 at 01:52:13PM +0100, Riccardo Veraldi wrote: > Hello, > > I woudl liek to start qemu-kvm with -monitor myfile.pipe options > instead of default -monitor pty > > Anyway I have not found any way to tell libvirt (using virsh) that I > want to set a specific > -monitor option to

Re: [libvirt-users] domain definition storage

2010-01-26 Thread Daniel P. Berrange
On Tue, Jan 26, 2010 at 08:00:19PM +0100, Arik Raffael Funke wrote: > Hi, > > I defined several xen domains with libvirt. Can anybody tell me where > libvirt stores these definitions? E.g. what files would one need to back up? > > Is it correct, that the xen domain definitions in /var/lib/xend/d

Re: [libvirt-users] domain definition storage

2010-01-26 Thread Daniel P. Berrange
On Tue, Jan 26, 2010 at 09:51:00PM +0100, Arik Raffael Funke wrote: > Hi Daniel, > > >libvirt never directly stores its XML files when talking to Xen - it > >always uses one of the two Xen formats as the master database instead. > ...snipp... > >On Xen> 3.0.3 libvirt uses the native Xen APIs, wh

Re: [libvirt-users] monitor option in libvirt ?

2010-01-27 Thread Daniel P. Berrange
On Tue, Jan 26, 2010 at 08:33:27PM +0100, Riccardo Veraldi wrote: > > because I wold like to do this: > > 1) start qemu-kvm and redirect the monitor to a named pipe called let's > say my.pipe > > 2) write into the named pipe with a script when I want to take a > snapshot, somthing like: > >

Re: [libvirt-users] domain -> IP

2010-01-27 Thread Daniel P. Berrange
On Wed, Jan 27, 2010 at 07:30:04AM -0500, Matthew Farrellee wrote: > How can I map from a domain to the IP(s) given to its network interfaces? > > I'm not specifying a to the domain, so I don't have an upfront > mapping setup. > > Is the best way to do some upfront mapping, e.g. install static

Re: [libvirt-users] Stealing ownership: chown user->qemu->root

2010-01-27 Thread Daniel P. Berrange
On Wed, Jan 27, 2010 at 07:24:41AM -0500, Matthew Farrellee wrote: > Thanks for the quick reply. > > On 01/25/2010 12:33 PM, Daniel P. Berrange wrote: > > On Mon, Jan 25, 2010 at 08:45:01AM -0500, Matthew Farrellee wrote: > >> F12, libvirt 0.7.1-15, qemu 0.11.0-12, 32

Re: [libvirt-users] How to debug Ubuntu 8.04 LTS guest crash during install?

2010-01-27 Thread Daniel P. Berrange
On Tue, Jan 19, 2010 at 10:54:12PM -0600, Neil Aggarwal wrote: > Hello: > > I am using kvm on a CentOS 5.4 server. > > I am trying to install the TunkeyLinux Core appliance > found here: http://www.turnkeylinux.org/core > > I downloaded the ISO file from the web site. > > Then, I used this com

Re: [libvirt-users] Problem creating VM: "tap: not a valid disk type"

2010-02-02 Thread Daniel P. Berrange
On Sat, Jan 30, 2010 at 10:31:46PM +0100, Arik Raffael Funke wrote: > Hi, > > I am having problems creating VMs in virt-manager. > > I have played with different xen hypervisor versions 3.0 & 3.4 (with rpm > -i --force) but have in principle gone back to the originals. - Though I > cannot absol

Re: [libvirt-users] [libvirt] [LXC] Tyring to locate livbvirt operations for LXC relocation

2010-02-04 Thread Daniel P. Berrange
On Wed, Feb 03, 2010 at 04:03:10PM +0200, Avi Weit wrote: > > Hello, > > I am searching for the libvirt operations for relocating LXC (system or > application) containers. LXC relocation mechanism is done by checkpoint / > restart. I went over libvirt API documentation and found the following > m

Re: [libvirt-users] pre/post vm start commands

2010-02-11 Thread Daniel P. Berrange
On Wed, Feb 10, 2010 at 06:26:02PM +0100, Soeren Grunewald wrote: > Hi there, > > for development i use a windows vm. which is installed into a disk > image. because the compiler generates a lot of temporary files into the > user tempdir (C:\\Documents And Users\\User\\Local Settings\\Temp) the

Re: [libvirt-users] pre/post vm start commands

2010-02-11 Thread Daniel P. Berrange
On Thu, Feb 11, 2010 at 11:54:45AM +, Daniel P. Berrange wrote: > On Wed, Feb 10, 2010 at 06:26:02PM +0100, Soeren Grunewald wrote: > > Hi there, > > > > for development i use a windows vm. which is installed into a disk > > image. because the compiler generates a

Re: [libvirt-users] libvirt attaching wrong usb device?

2010-02-11 Thread Daniel P. Berrange
On Thu, Feb 11, 2010 at 02:30:30PM +, Tom Hughes wrote: > I'm trying to attach a USB device which is attached to my host to a > guest instance. The device definition in the XML looks like: > > > > > > > > > and the device appears in lsusb as USB devi

Re: [libvirt-users] problem with dependencies

2010-02-15 Thread Daniel P. Berrange
On Sun, Feb 14, 2010 at 06:41:39PM +0200, monitz wrote: > hello > i have been having trouble installing libvirt > i installed kvm-kmod on rhel 5.4 kernel 2.6.18 without issues using an rpm > from the redhat website > after installation i tested it by creating an img file with qemu image and > went

Re: [libvirt-users] build libvirt on Mac OSX 10.6

2010-02-16 Thread Daniel P. Berrange
On Mon, Feb 15, 2010 at 08:27:07PM -0500, Camilo Aguilar wrote: > Hi, > > Anybody know how to build libvirt on Mac OSX 10.6 ? Mac OS-X is not a officially supported platform for libvirt, because we don't have anyone who is able to regularly test it. If someone wants to volunteer to fix any curren

Re: [libvirt-users] /dev/pts linking option?

2010-02-23 Thread Daniel P. Berrange
On Tue, Feb 23, 2010 at 08:14:12PM -0500, Jon Masters wrote: > Folks, > > Does anyone know whether libvirt provides a means for me to guarantee a > persistent link for my guest's virtual serial console? I need to have a > consistent mapping (for example, a symlink that always points to the > corre

Re: [libvirt-users] Regarding SPICE

2010-03-04 Thread Daniel P. Berrange
On Thu, Mar 04, 2010 at 12:07:06PM +0530, anuj rampal wrote: > Hi, > > I have set up KVM on FC12. > I was wondering if its possible to Display the VM using spice + libvirt? KVM in Fedora 12 does not support SPICE, since it is not merged in the upstream repository. Daniel -- |: Red Hat, Engineer

Re: [libvirt-users] behaviour of "virsh shutdown domainName"

2010-03-15 Thread Daniel P. Berrange
On Sat, Mar 13, 2010 at 06:08:05PM +0100, Jorge Somavilla wrote: > Hi all, > > I am experiencing some problems with different versions of libvirt > (0.7.5 and 0.7.7), with a kvm (WinXP), host running Ubuntu 9.10, and i > would like to ask you two questions: > > - In virsh, after running the comma

Re: [libvirt-users] Duplicate USB vendor,product specification

2010-03-15 Thread Daniel P. Berrange
On Mon, Mar 15, 2010 at 01:25:47PM -0500, Don Morrison wrote: > > I studying how to attach USB devices to a KVM guest virtual machine using > libvirt. Using the "vendor" and "product" to specify the source device > seems like a good option since the "bus" and "device" values can change as > a devi

Re: [libvirt-users] Migrating domains across nodes

2010-03-22 Thread Daniel P. Berrange
On Sun, Mar 21, 2010 at 11:10:07AM -0400, Sagar Dixit wrote: > Hi, > > I am exploring the migration APIs and was curious to know if I can use them > with LXC containers for live migration from one node to another. > If not LXC, then can I use them with OpenVZ containers ? If yes, what would > be

Re: [libvirt-users] connect libvirt and virtualbox

2010-03-31 Thread Daniel P. Berrange
On Wed, Mar 31, 2010 at 06:18:07PM +0100, Matthias Bolte wrote: > 2010/3/31 Matthias Bolte : > > 2010/3/31 angelo alfano : > >> > >>>2010/3/31 angelo alfano : > conn = libvirt.open("vbox:///session") > > return this error: > > libvir: VBOX error : internal error unable to i

Re: [libvirt-users] connection creating

2010-03-31 Thread Daniel P. Berrange
On Wed, Mar 31, 2010 at 10:30:58AM -0700, jeremy avnet wrote: > Are there any recommendations as to how often a new connection should be > made versus reused? Right now we create a new connection *every time* we hit > libvirt for something. We can easily change this so that a single connection > is

Re: [libvirt-users] STP default behavior for bridged (off) and NAT (on) networking in libvirt

2010-04-16 Thread Daniel P. Berrange
On Thu, Apr 15, 2010 at 09:23:46PM +0200, Francesco Pretto wrote: > Hello, > > when talking about networking in hypervisors, it's easy to distinguish > the two classic configurations, NAT and bridged, and the official > libvirt wiki does exactly in this way here [1]. NAT networking is > already co

Re: [libvirt-users] STP default behavior for bridged (off) and NAT (on) networking in libvirt

2010-04-16 Thread Daniel P. Berrange
On Fri, Apr 16, 2010 at 12:47:13PM +0200, Francesco Pretto wrote: > 2010/4/16 Daniel P. Berrange : > > > > I don't believe we're recommending STP=off for bridging. > > > > Actually STP=off is "recommended" in the wiki [1] in the ubuntu part, >

Re: [libvirt-users] Problems moving qemu machine to libvirt

2010-04-26 Thread Daniel P. Berrange
On Sun, Apr 25, 2010 at 01:03:42AM +1000, Erik de Castro Lopo wrote: > Hi all, > > I have a qemu-system-arm machine that I am currently starting using: > > qemu-system-arm -M versatilepb -nographic \ > -hda img.qcow2 \ > -net vde,vlan=0,sock=/var/run/qemu-vde.ctl \ > -net ni

[libvirt-users] FYI: Notes on setting up KVM guests using iSCSI

2010-05-05 Thread Daniel P. Berrange
DV suggested that we document some libvirt setups using shared storage. I'm not a fan of NFS, so I wrote some blog posts on how to use iSCSI in the context of libvirt + KVM. There is of course more than one way todo things, so I've outlined a couple of different options. One completely manual comm

Re: [libvirt-users] FYI: Notes on setting up KVM guests using iSCSI

2010-05-05 Thread Daniel P. Berrange
On Wed, May 05, 2010 at 08:09:50AM -0400, Tom Georgoulias wrote: > On 05/05/2010 07:23 AM, Daniel P. Berrange wrote: > >DV suggested that we document some libvirt setups using shared storage. I'm > >not a fan of NFS, so I wrote some blog posts on how to use iSCSI in the > &g

Re: [libvirt-users] FYI: Notes on setting up KVM guests using iSCSI

2010-05-05 Thread Daniel P. Berrange
On Wed, May 05, 2010 at 08:28:15AM -0500, David Ehle wrote: > > Daniel, > > > Thank you Very much for you efforts. I'll be studying these with interest. > > I also plan on replying to the previous response to my request for help on > shard storage later today. I'm still trying to run some tes

Re: [libvirt-users] FYI: Notes on setting up KVM guests using iSCSI

2010-05-05 Thread Daniel P. Berrange
On Wed, May 05, 2010 at 08:50:57AM -0500, David Ehle wrote: > > Daniel, > > OK so I think I get it now. While for other storage backends one pool can > hold multiple volumes, when using iSCIS there is alwasy a 1 to 1 > relationship for pool to volume? Each pool contains exactly one volume? No,

Re: [libvirt-users] libvirtd loses all of its data after restart

2010-05-05 Thread Daniel P. Berrange
On Wed, May 05, 2010 at 07:27:23PM +0200, guido wrote: > Hi, > > I'm having a problem with libvirtd (backend being kvm) losing its if I > restart > it with /etc/init.d/libvirtd restart. > > What I did was: > Start libvirtd > Connect to it using virsh > Create a new storage pool with pool-cre

Re: [libvirt-users] XML-Created domain vanishes after shutdown

2010-05-16 Thread Daniel P. Berrange
On Sat, May 15, 2010 at 09:34:52AM +0200, Alexander Topolanek wrote: > Hi, > > im migrating existing kvm-images into libvirt domains, by creating a > domain in virsh from a xml file. The domain starts, is working fine, but > after shutdown it is lost, and I have to recreate it. virsh create

Re: [libvirt-users] ctrl+alt+2 disabled?

2010-05-19 Thread Daniel P. Berrange
On Wed, May 19, 2010 at 02:44:14PM +0200, Ralf Hornik Mailings wrote: > Ralf Hornik Mailings wrote: > > >I need to attach pci devices using qemu command interface but when > >I use the vnc connection started using virsh, the key combination > >(or qemu interface) seems to be disabled. > > > >How

Re: [libvirt-users] Better error codes when stopping a VM that is already stopped

2010-05-24 Thread Daniel P. Berrange
On Fri, May 21, 2010 at 02:11:47PM +0200, Guido Winkelmann wrote: > Hi, > > Sometimes when stopping a virtual domain using virDomainDestroy(), I come > across a domain that is already stopped. (For example when someone already > stopped the domain manually using virsh or because the guest OS iss

Re: [libvirt-users] Better error codes when stopping a VM that is already stopped

2010-05-24 Thread Daniel P. Berrange
On Fri, May 21, 2010 at 11:50:10AM -0400, Cole Robinson wrote: > On 05/21/2010 08:11 AM, Guido Winkelmann wrote: > > Hi, > > > > Sometimes when stopping a virtual domain using virDomainDestroy(), I come > > across a domain that is already stopped. (For example when someone already > > stopped th

Re: [libvirt-users] Better error codes when stopping a VM that is already stopped

2010-05-24 Thread Daniel P. Berrange
On Mon, May 24, 2010 at 09:07:24AM -0400, Brian K. White wrote: > On 5/24/2010 6:24 AM, Daniel P. Berrange wrote: > >On Fri, May 21, 2010 at 02:11:47PM +0200, Guido Winkelmann wrote: > > > >>Hi, > >> > >>Sometimes when stopping a virtual domain usi

Re: [libvirt-users] [libvirt] How to obtain rights to extend libvirt documentation pages

2010-05-25 Thread Daniel P. Berrange
On Tue, May 25, 2010 at 01:07:50PM +0600, ? wrote: > For example, http://libvirt.org/formatdomain.html#elementsDisks > does not contain tag. > (https://bugzilla.redhat.com/show_bug.cgi?id=593266) > > I wrote to community (users and developers). No one has added this > information

Re: [libvirt-users] Host should not touch passed-through USB device, how?

2010-06-01 Thread Daniel P. Berrange
On Tue, Jun 01, 2010 at 12:49:05PM -0400, Cole Robinson wrote: > On 05/28/2010 02:09 PM, Andreas Ntaflos wrote: > > Hello list, > > > > this may be off topic but it is closely related to my Libvirt adventures > > so maybe you can help me. > > > > I want to pass a USB device (a USB Huawei E620 m

Re: [libvirt-users] Missing target dev for interface

2010-06-09 Thread Daniel P. Berrange
On Tue, Jun 08, 2010 at 05:31:50PM -0700, jeremy avnet wrote: > I have over 20 guests running on a particular host and the three > longest running ones are missing the network device information in > their XML description: > > > > > I guess you restarted libvirtd - there w

Re: [libvirt-users] SCM_RIGHTS file error when attaching device?

2010-06-16 Thread Daniel P. Berrange
On Tue, Jun 15, 2010 at 01:10:28PM -0700, steven...@yahoo.com wrote: > So I just upgraded to 0.8.1-1 and virt-manager 8.4 when i try to attach my > network card that's been perfectly fine in the past i now get... > > virsh # attach-device gnome /etc/libvirt/qemu/nic.xml > error: Failed to attach

Re: [libvirt-users] how to match the ID of a LUN in a storage pool with the GUID on the target server

2010-06-16 Thread Daniel P. Berrange
On Wed, Jun 16, 2010 at 01:20:02PM -0400, Tom Georgoulias wrote: > I've configured a libvirt storage pool using an iscsi target from a Sun > 7310 storage appliance and am using the LUNs in this target as volumes > for my KVM guests. The setup is very similar to what Daniel covered in > a recent

Re: [libvirt-users] cannot acquire state change lock

2010-06-17 Thread Daniel P. Berrange
On Thu, Jun 17, 2010 at 10:34:33AM +0100, Julian Robbins wrote: > Hi > > I keep getting libvirtError: Timed out during operation: cannot acquire > state change lock > errors - what does this mean exactly ? When ever any API call attempts to change the state of a guest, it first acquires a lock.

[libvirt-users] FYI: a short guide to libvirt & network filtering iptables/ebtables use

2010-06-30 Thread Daniel P. Berrange
I just wrote this to assist some Red Hat folks understanding what libvirt does with iptables, and thought it is useful info for the whole libvirt community. When I have time I'll adjust this content so that it can fit into the website in relevant pages/places. Firewall / network filterin

Re: [libvirt-users] SASL GSSAPI error "Key table entry not found"

2010-06-30 Thread Daniel P. Berrange
On Mon, Jun 28, 2010 at 09:40:49AM -0700, Adam Gray wrote: > My server and client are running Ubuntu Lucid, libvirt-bin > 0.7.5-5ubuntu27, qemu-kvm-0.12.3+noroms-0ubuntu9 and I'm using > virt-viewer-0.0.3-6ubuntu7.xul19 or virt-manager-0.8.2-2ubuntu8 to > connect. I configured SASL2 to use GSSAPI f

Re: [libvirt-users] how to match the ID of a LUN in a storage pool with the GUID on the target server

2010-06-30 Thread Daniel P. Berrange
On Wed, Jun 16, 2010 at 06:41:30PM +0100, Daniel P. Berrange wrote: > On Wed, Jun 16, 2010 at 01:20:02PM -0400, Tom Georgoulias wrote: > > I've configured a libvirt storage pool using an iscsi target from a Sun > > 7310 storage appliance and am using the LUNs in this target as

Re: [libvirt-users] how to deactivate an active network with virsh? (and what is that anyway)

2010-07-14 Thread Daniel P. Berrange
On Wed, Jul 14, 2010 at 11:49:40AM -0400, John Lumby wrote: > > virsh provides > net-start > to activate an inactive network. > > > Does virsh provide any way to do the exact converse? virsh net-destroy is the converse Daniel -- |: Red Hat, Engineering, London-o- http://pe

Re: [libvirt-users] Too many active clients?

2010-07-29 Thread Daniel P. Berrange
On Wed, Jul 28, 2010 at 06:35:20PM -0700, jeremy avnet wrote: > Hello, > > I'm receiving a lot of these since a couple of days ago: > > libvirtd: 16:30:10.960: error : qemudDispatchServer:1282 : Too many active > clients (20), dropping connection > > I'm trying to figure out where all these acti

Re: [libvirt-users] how to load different bios into qemu

2010-08-11 Thread Daniel P. Berrange
On Wed, Aug 11, 2010 at 12:20:57PM +0200, Daniel Veillard wrote: > On Sun, Aug 08, 2010 at 06:19:09PM +0200, Martin Kraus wrote: > > Hello. I'm using debian squeeze with libvirt and kvm and I need to load a > > newer version of seabios into qemu. I'd like to do it without overwriting > > seabios in

Re: [libvirt-users] cpuTimes and qemu-kvm on F13

2010-08-14 Thread Daniel P. Berrange
On Fri, Aug 13, 2010 at 08:42:21PM -0400, Matthew Farrellee wrote: > http://libvirt.org/html/libvirt-libvirt.html#virDomainInfo > http://libvirt.org/html/libvirt-libvirt.html#virVcpuInfo > > Both virDomainInfo and virVcpuInfo have a nanosecond cpuTime field. How > do the two related to one anothe

Re: [libvirt-users] is libvirt java binding thread safe?

2010-09-03 Thread Daniel P. Berrange
On Fri, Sep 03, 2010 at 01:02:09PM +0200, Matthias Bolte wrote: > Ah, okay, now I understand what you want to say. > > You have two threads A and B. When A runs on its own then it's just > fine, but when you add B (that triggers an exception on purpose and > ignores it) then A picks it up and repo

Re: [libvirt-users] is libvirt java binding thread safe?

2010-09-03 Thread Daniel P. Berrange
On Fri, Sep 03, 2010 at 01:02:09PM +0200, Matthias Bolte wrote: > Ah, okay, now I understand what you want to say. > > You have two threads A and B. When A runs on its own then it's just > fine, but when you add B (that triggers an exception on purpose and > ignores it) then A picks it up and repo

Re: [libvirt-users] Status of libvirtd on BSD/OSX?

2010-09-08 Thread Daniel P. Berrange
On Wed, Sep 08, 2010 at 09:56:51AM -0700, Mitchell Hashimoto wrote: > Hello, > > I've done some research prior to this and the answer is clear that libvirtd > doesn't compile on BSD or OSX, but I'd like to know more details about this, > if I can have a bit of your time: > > * Are there any curre

Re: [libvirt-users] Status of libvirtd on BSD/OSX?

2010-09-08 Thread Daniel P. Berrange
On Wed, Sep 08, 2010 at 10:25:27AM -0700, Mitchell Hashimoto wrote: > Daniel, > > Thank you very much. Ah, I was under the impression that libvirtd was > required to control any hypervisors (local or remote). I'm purely interested > in local access to hypervisors right now. I'm sorry I admit that

Re: [libvirt-users] NFS4 + SELinux

2010-10-15 Thread Daniel P. Berrange
On Fri, Oct 15, 2010 at 04:04:13PM +0930, Mike Hall wrote: > All test machines are CentOS 5.5 (RHEL subscriptions purchased). > > We've had NFS3 storage working fine and decided to try NFS4. > > We can mount an NFS4 share on our KVM host, but the SELinux file context on > the mountpoint director

Re: [libvirt-users] (no subject)

2010-11-16 Thread Daniel P. Berrange
On Tue, Nov 16, 2010 at 11:51:25AM -0500, David M. Barlieb wrote: > HI, I've just begun using libvirt as part of my KVM installation and > have been having some confusion regarding networking of my virtual > guests. I'm not sure if I should even be sending this to this mailing > list and if not ple

Re: [libvirt-users] Changing default nic and storage types

2010-11-17 Thread Daniel P. Berrange
On Wed, Nov 17, 2010 at 02:38:49PM +0800, Osier Yang wrote: > 于 2010年11月16日 21:30, Chris Phillips 写道: > >Hi, > > > >Simple question that I can't track down any notable discussion about, > >let alone an answer... > > > >Is it possible to define what the "default" nic and storage types are? > >I am d

Re: [libvirt-users] Changing default nic and storage types

2010-11-17 Thread Daniel P. Berrange
On Wed, Nov 17, 2010 at 02:38:49PM +0800, Osier Yang wrote: > 于 2010年11月16日 21:30, Chris Phillips 写道: > >Hi, > > > >Simple question that I can't track down any notable discussion about, > >let alone an answer... > > > >Is it possible to define what the "default" nic and storage types are? > >I am d

Re: [libvirt-users] libvirt filters

2010-11-22 Thread Daniel P. Berrange
On Sat, Nov 20, 2010 at 01:42:36PM +0300, Anton Gorlov wrote: > I used filters like clean-traffic. The filters are working, but I > can not see the rules in iptables -L. How can I look through the > rules? It uses ebtables for 95% of its functionality. See this doc for more info http://libvirt

Re: [libvirt-users] busy loop in libvirtd (cpu usage 100%)

2010-12-06 Thread Daniel P. Berrange
On Fri, Dec 03, 2010 at 04:58:23AM -0600, Igor Serebryany wrote: > Hi! > > Occasionally of late, I've seen a few cases where libvirtd cpu usage > shoots up to 100% and stays there indefinitely. This seems to happen > when a QEMU VM is starting up, although on one occasion I *thin

Re: [libvirt-users] LXC Live Migration possible?

2010-12-13 Thread Daniel P. Berrange
On Sat, Dec 11, 2010 at 06:33:51PM +0100, Dan Lüdtke wrote: > Hallo everyone, > > in March 2010 there was a discussion[1] about live migration of LXC > Containers using libvirt. I was just wondering if there are any updates > to this? Nope, and I wouldn't expect it to arrive anytime in the forsee

Re: [libvirt-users] KVM Virtualisation, Console output no longer working

2010-12-15 Thread Daniel P. Berrange
On Wed, Dec 15, 2010 at 12:06:27PM -, t...@specialistdevelopment.com wrote: > Hi, > > I used to use KVM for virtualisation and have now moved back to it, but I > have a problem. > > When i used to install the guest machine with virt-install i used to use > the -x "extra args" part to set the

Re: [libvirt-users] host to VM serial device configuration

2011-01-14 Thread Daniel P. Berrange
On Fri, Jan 14, 2011 at 11:50:01AM +0800, Osier Yang wrote: > 于 2011年01月12日 23:11, John Paul Walters 写道: > >Hi, > > > >I'm trying to get a virtual serial device up and running between my host > >and virtual machine with a device name on the host. I'm using libvirt > >0.8.3 and qemu 0.13.0. The chal

Re: [libvirt-users] host to VM serial device configuration

2011-01-14 Thread Daniel P. Berrange
On Sat, Jan 15, 2011 at 01:09:07AM +1100, Justin Clift wrote: > On 14/01/2011, at 9:39 PM, Daniel P. Berrange wrote: > > On Fri, Jan 14, 2011 at 11:50:01AM +0800, Osier Yang wrote: > >> 于 2011年01月12日 23:11, John Paul Walters 写道: > >>> Hi, > >>> > >

Re: [libvirt-users] invalid argument error when using cache parameter

2011-01-24 Thread Daniel P. Berrange
On Sat, Jan 22, 2011 at 12:49:55AM -0600, Igor Serebryany wrote: > hi, > > i tried to add a 'cache' argument to the 'driver' element in my > domainxml for qemu/kvm. i tried adding cache="none" as well as > "writethrough" and "writeback", but every time i get these errors: > > l

Re: [libvirt-users] Cgroup

2011-01-24 Thread Daniel P. Berrange
On Sun, Jan 23, 2011 at 05:38:33PM +0300, Nikita A Menkovich wrote: > Hello, > > I'm running Debian Sid with libvirt/qemu/kvm packages from experimental: > $ qemu --version > QEMU emulator version 0.13.0 (Debian 0.13.0+dfsg-2), Copyright (c) > 2003-2008 Fabrice Bellard > $ kvm --version > QEMU emu

Re: [libvirt-users] git repository access via HTTPS

2011-01-24 Thread Daniel P. Berrange
On Mon, Jan 24, 2011 at 11:33:28PM +1100, Justin Clift wrote: > On 24/01/2011, at 11:06 PM, Fyodor Kupchik wrote: > > I can make a checkout from https://github.org and there exist several repos > > with the libvirt sources but I don't know if I can safely use them. > > > > Unfortunately I can't u

Re: [libvirt-users] git repository access via HTTPS

2011-01-24 Thread Daniel P. Berrange
On Mon, Jan 24, 2011 at 03:20:47PM +0200, Fyodor Kupchik wrote: > still no luck with it :( > I precede git command by proxychains one since git does not respect any kind > of proxy settings (nor system wide or those I set via git config http.proxy) > and it only works in such way. > ==

Re: [libvirt-users] multi-user libvirt / virsh?

2011-01-28 Thread Daniel P. Berrange
On Thu, Jan 27, 2011 at 09:20:24PM +0100, Tomasz Chmielewski wrote: > I was wondering if libvirt / virsh was designed for multi-user environments. > > I.e. I was thinking of the "roles", i.e. root would be able to do > everything, but regular users would only be able to > stop/start/suspend, or us

Re: [libvirt-users] libvirtd + vir-manager + kerberos

2011-01-28 Thread Daniel P. Berrange
On Fri, Jan 28, 2011 at 12:59:28AM +0100, Thomas Schweikle wrote: > Hi! > > Having two hosts installed with libvirtd, kvm, qemu on (Ubuntu > 10.10). Now I have one big problem and one less: > > I have set up kerberos for both hosts. Created the principal > "libvirt/srv1.example@example.org" a

Re: [libvirt-users] network-performance

2011-02-02 Thread Daniel P. Berrange
On Tue, Feb 01, 2011 at 02:33:28PM -0500, Brian K. White wrote: > On 2/1/2011 12:39 PM, Orion Poplawski wrote: > >I'm just starting to take a look at guest networking performance and am > >a little disappointed. I'm comparing two setups: > > > >Host: Windows Server 2008 R2 Hyper-V > >Guest: CentOS

Re: [libvirt-users] Disk atomicity...

2011-02-04 Thread Daniel P. Berrange
On Fri, Feb 04, 2011 at 04:29:35AM -0500, Dale Amon wrote: > I suspect the answer is no, as the very idea makes > my head hurt, but a confirmation would be nice: > > Am I correct in assuming that it is a very bad idea > to mount a physical disk on both the physical machine > and on a hosted VM at

Re: [libvirt-users] Making multiple connections from an application using libvirt-0.6.3-20.1.el5_4

2011-02-09 Thread Daniel P. Berrange
On Wed, Feb 09, 2011 at 11:58:04AM +0800, Daniel Veillard wrote: > On Fri, Feb 04, 2011 at 12:04:07AM -0500, Nandini Chandra wrote: > > I came across a thread in the archives that seems to suggest that > > multiple connections can be made from a single application,although > > I am unsure what vers

Re: [libvirt-users] LXC libvirt support

2011-02-18 Thread Daniel P. Berrange
On Thu, Feb 17, 2011 at 05:47:43PM -0800, Nirmal Guhan wrote: > 2011/2/11 Nirmal Guhan : > > On Fri, Feb 11, 2011 at 9:05 PM, Osier Yang wrote: > >> 于 2011年02月12日 11:52, Nirmal Guhan 写道: > >>> > >>> Hi, > >>> > >>> Has anyone used libvirt to start/stop/manage LXC (linux containers) ? > >>> Is it s

Re: [libvirt-users] RH6 qemu expects driver name

2011-03-17 Thread Daniel P. Berrange
On Wed, Mar 16, 2011 at 12:45:45PM +0100, Robert Šmol wrote: > Hi, > I am trying to start machine on RH6. > > virsh # start ulp-001 > error: Failed to start domain ulp-001 > error: internal error process exited while connecting to monitor: > char device redirected to /dev/pts/1 > qemu-kvm: -device

Re: [libvirt-users] RH6 qemu expects driver name

2011-03-17 Thread Daniel P. Berrange
On Thu, Mar 17, 2011 at 06:03:13PM +0100, Robert Šmol wrote: > On 03/17/2011 12:17 PM, Daniel P. Berrange wrote: > >On Wed, Mar 16, 2011 at 12:45:45PM +0100, Robert Šmol wrote: > >>Hi, > >>I am trying to start machine on RH6. > >> > >>virsh # start ulp-

Re: [libvirt-users] stage of data upload/download patch

2011-03-28 Thread Daniel P. Berrange
On Mon, Mar 28, 2011 at 10:11:11AM -0400, James Barkley wrote: > Hey all, > I'm looking at ways to upload/download to/from a datastore. I see it is on > the todo roadmap wiki (http://libvirt.org/todo.html) and also on bugzilla at > https://bugzilla.redhat.com/show_bug.cgi?id=636130. It looks to be

Re: [libvirt-users] How to disconnect the ISO image using virsh

2011-03-31 Thread Daniel P. Berrange
On Thu, Mar 31, 2011 at 05:46:47PM +0800, Osier Yang wrote: > 于 2011年03月31日 15:17, Masanari Iida 写道: > >Somebody sent me a tips. > >Following command do what I wanted to do. > >Thanks. > > > >attach-disk guest01 " " hdc --driver file --type cdrom > >--mode readonly > > Also using "update-device" w

Re: [libvirt-users] LIBVIRT migration

2011-04-01 Thread Daniel P. Berrange
On Fri, Apr 01, 2011 at 02:28:36PM +0200, jurgen.depic...@let.be wrote: > > From: Marcela Castro León > > To: libvirt-users@redhat.com > > Date: 01/04/2011 13:11 > > Subject: [libvirt-users] LIBVIRT migration > > Sent by: libvirt-users-boun...@redhat.com > > > > Hello > > I''m developing a system

Re: [libvirt-users] [libvirt] Error: unable to connect to '/var/run/libvirt/libvirt-sock'

2011-05-05 Thread Daniel P. Berrange
On Thu, May 05, 2011 at 08:07:30PM +0800, guan qin wrote: > Hi, > I meet with the problem that "Error: unable to connect to > '/var/run/libvirt/libvirt-sock' ". > I do as Error: unable to connect to '/var/run/libvirt/libvirt-sock' >

Re: [libvirt-users] converting save/dump output into physical memory image

2011-05-06 Thread Daniel P. Berrange
On Thu, May 05, 2011 at 01:56:10PM -0400, Andrew Tappert wrote: > > A lot of people in the security community, myself included, are > interested in memory forensics these days. Virtualization is a natural > fit with memory forensics because it allows one to get access to a > guest's memory withou

Re: [libvirt-users] 2 virsh consoles on the same hypervisor causes conflicts

2011-06-16 Thread Daniel P. Berrange
On Wed, Jun 15, 2011 at 01:43:14PM -0400, David Lane wrote: > Anyone encountered this? Anyone have a solution? Seeing it in Fedora15 > with KVM > > If 2 consoles are opened to the same guest from the hypervisor they will > interfere with each other. keystrokes are lost and returned information

Re: [libvirt-users] Starting libvirtd cuts off host access to external network

2011-06-24 Thread Daniel P. Berrange
On Fri, Jun 24, 2011 at 12:14:50AM +0100, PLD wrote: > I've spent some hours on this without success - any help greatly > appreciated. > > I've just done a new RHEL6 setup, with a KVM guest (first time). The > basic installation works fine until I start libvirtd; at this point, > the host machine

[libvirt-users] ANNOUNCE: libvirt Perl bindings Sys::Virt 0.2.7 release

2011-06-29 Thread Daniel P. Berrange
I am happy to announce a new release of the libvirt Perl bindings, Sys::Virt 0.2.7 is available for download: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Sys-Virt-0.2.7.tar.gz Changes in this release - Honour flags parameter when dumping XML - Use thread local error APIs exclusively

[libvirt-users] ANNOUNCE: libvirt Perl bindings Sys::Virt 0.2.8 release

2011-06-30 Thread Daniel P. Berrange
I am happy to announce a new release[1] of the libvirt Perl bindings, Sys::Virt 0.2.8 is available for download: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Sys-Virt-0.2.8.tar.gz Changes in this release - Add all new APIs in libvirt 0.9.0 - Add examples for different ways of using st

[libvirt-users] ANNOUNCE: libvirt Perl bindings Sys::Virt 0.9.2 release

2011-07-11 Thread Daniel P. Berrange
I am happy to announce a new release[1] of the libvirt Perl bindings, Sys::Virt 0.9.2 is available for download: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Sys-Virt-0.9.2.tar.gz Changes in this release - Changed version numbering to track the corresponding minimum required libvirt

[libvirt-users] [libvirt] ANNOUNCE: libvirt Perl bindings Sys::Virt 0.9.3 release

2011-07-15 Thread Daniel P. Berrange
I am happy to announce a new release[1] of the libvirt Perl bindings, Sys::Virt 0.9.3 is available for download: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Sys-Virt-0.9.3.tar.gz Changes in this release - Add all new APIs in libvirt 0.9.3 - Requires libvirt >= 0.9.3 The permanent li

Re: [libvirt-users] cannot perform tunnelled migration without using peer2peer flag

2011-07-19 Thread Daniel P. Berrange
On Mon, Jul 18, 2011 at 01:11:42PM -0600, Eric Blake wrote: > On 07/18/2011 04:11 AM, Osier Yang wrote: > >于 2011年07月18日 10:07, zhang xintao 写道: > >>Dear All > >>I try to migration a kvm guest os to another host failed > >>server: ubuntu 11.04 server > >>virsh:migrate --live --tunnelled vm1 qemu+ss

Re: [libvirt-users] cannot perform tunnelled migration without using peer2peer flag

2011-07-19 Thread Daniel P. Berrange
On Tue, Jul 19, 2011 at 06:19:13AM -0600, Eric Blake wrote: > On 07/19/2011 03:23 AM, Daniel P. Berrange wrote: > >On Mon, Jul 18, 2011 at 01:11:42PM -0600, Eric Blake wrote: > >>On 07/18/2011 04:11 AM, Osier Yang wrote: > >>>于 2011年07月18日 10:07, zhang xintao 写道:

Re: [libvirt-users] python-libvirt for 0.9.3 leaking file descriptors

2011-07-26 Thread Daniel P. Berrange
duce this with libvirt 0.9.3, but not with current git. > Therefore, this problem seems to be fixed in git. I've you want to > backport the fix to libvirt 0.9.3 you should be able to find it using > git bisect. > > That one of the FDs is a socket suggests that this is relat

Re: [libvirt-users] lock managers

2011-07-27 Thread Daniel P. Berrange
On Tue, Jul 26, 2011 at 04:15:45PM -0400, Whit Blauvelt wrote: > On Mon, Jul 25, 2011 at 03:32:32PM -0600, Eric Blake wrote: > > > Yes, both useful lock managers (sanlock and fcntl) work best with > > the use of a shared lock directory, at which point they correctly > > handle live migration betwe

[libvirt-users] ANNOUNCE: libvirt Perl bindings Sys::Virt 0.9.4 release

2011-08-04 Thread Daniel P. Berrange
I am happy to announce a new release[1] of the libvirt Perl bindings, Sys::Virt 0.9.4 is available for download: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Sys-Virt-0.9.4.tar.gz Changes in this release - Add all new APIs in libvirt 0.9.4 - Requires libvirt >= 0.9.4 - Add missing VI

Re: [libvirt-users] the naming convention libvirt names a block based storage volume

2011-08-10 Thread Daniel P. Berrange
On Tue, Aug 09, 2011 at 03:28:50PM -0700, Yih-Herng Chuang wrote: > > > Seems like different libvirt versions generate a storage volume name in > different format. We would like to learn how libvirt names a storage > volume under a block based storage pool. So that we may properly extract > the

Re: [libvirt-users] the naming convention libvirt names a block based storage volume

2011-08-10 Thread Daniel P. Berrange
On Wed, Aug 10, 2011 at 10:02:41AM -0400, Dave Allan wrote: > On Wed, Aug 10, 2011 at 10:20:10AM +0100, Daniel P. Berrange wrote: > > On Tue, Aug 09, 2011 at 03:28:50PM -0700, Yih-Herng Chuang wrote: > > > > > > > > > Seems like different libvirt versio

Re: [libvirt-users] iscsi w/ libvirt

2011-08-11 Thread Daniel P. Berrange
On Wed, Aug 10, 2011 at 11:28:51PM +0200, Stefan G. Weichinger wrote: > > "Playing" with a NAS capable of iscsi ... trying to make use of it > within the virtual machine manager. > > Could someone point me at or provide me an example/screenshot of adding > iscsi to my KVM-host? > > I think I sti

Re: [libvirt-users] virInitialize dumps core intermittently.

2011-08-12 Thread Daniel P. Berrange
On Thu, Aug 11, 2011 at 11:36:51AM -0700, Sharad Mishra wrote: > Hi, > >I have a host with 6 VMs set to autostart. When this host reboots, it > starts libvirtd, pegasus cimom and libvirt-cim. It also restarts the VMs. > Intermittently we noticed a core during start up that points to the last >

Re: [libvirt-users] virStoragePoolRefresh() returns before or after all new vols on path discovered?

2011-08-12 Thread Daniel P. Berrange
On Thu, Aug 11, 2011 at 07:11:48PM -0700, Gareth S Bestor wrote: > Basically, does virStoragePoolRefresh() api 'block' until the pool has > refreshed itself (eg added any/all new volumes found in the pool path) or > can it return early before the refresh is fully 'done' ? It is a blocking API ca

Re: [libvirt-users] which vols added to storage pool during refresh?

2011-08-17 Thread Daniel P. Berrange
On Wed, Aug 17, 2011 at 10:36:26AM -0700, Gareth S Bestor wrote: > As you can see, this pool maps to /dev/disk/by-id. There may be a large > number of actual volume entries in /dev/disk/by-id, however it appears > only a distinct subset of them are actually added into the libvirt pool > when you

Re: [libvirt-users] which vols added to storage pool during refresh?

2011-08-17 Thread Daniel P. Berrange
On Wed, Aug 17, 2011 at 10:59:50AM -0700, Gareth S Bestor wrote: > Thanks for the quick response Daniel. > > >What value is in > > > > /sys/bus/scsi/devices/X/type > > > >for the LUN in question ? And is that value different for all the > >other LUNs in that HBA ? > > I'll check. > > In

Re: [libvirt-users] pool assumed to have 512B sector

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 08:52:56AM +0300, David Cohen wrote: > Hi, > When creating a dedicated storage pool on a FC attached storage with sector > size of 4096B and size of 2TB, the storage pool is created but reported as > 1/8 > of it's size, the same follows for any volume created in the same

  1   2   3   4   5   6   >