Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread ajishrao
You need to take care of only two parameters ID and VNC port, other things will remain. If you want to put different path for disk you can do that as well. API is already available to define by you own xml. Even if you don't modify the id/vnc it doesn't matter, everything is taken care by libvirt.

Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread Stefan de Konink
On Thu, 14 Aug 2008, ajishrao wrote: You need to take care of only two parameters ID and VNC port, other things will remain. If you want to put different path for disk you can do that as well. API is already available to define by you own xml. Even if you don't modify the id/vnc it doesn't

Re: [libvirt] [PATCH] Fix serial console telnet protocol support

2008-08-14 Thread Guido Günther
Hi Mark, On Wed, Aug 13, 2008 at 06:44:28PM +0100, Mark McLoughlin wrote: With e.g.: serial type='tcp' source mode='bind' host='127.0.0.1' service=''/ protocol type='telnet'/ target port='0'/ /serial You currently get: Unknown option: listen qemu: could not

[libvirt] fail to run virsh

2008-08-14 Thread Jun Koi
Hi, I installed libvirt (cvs version), and can confirm that libvirtd is running. However, virsh failed to work. I got the below message when running virsh with debugging information. How to fix this problem? Many thanks, Jun # LIBVIRT_DEBUG=1 virsh DEBUG: libvirt.c: virInitialize (register

Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread ajishrao
On Thu, 2008-08-14 at 09:42 +0200, Stefan de Konink wrote: On Thu, 14 Aug 2008, ajishrao wrote: You need to take care of only two parameters ID and VNC port, other things will remain. If you want to put different path for disk you can do that as well. API is already available to define

Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread Daniel P. Berrange
On Thu, Aug 14, 2008 at 09:42:09AM +0200, Stefan de Konink wrote: On Thu, 14 Aug 2008, ajishrao wrote: You need to take care of only two parameters ID and VNC port, other things will remain. If you want to put different path for disk you can do that as well. API is already available to

Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread Stefan de Konink
On Thu, 14 Aug 2008, Daniel P. Berrange wrote: On Thu, Aug 14, 2008 at 01:04:56AM +0200, Stefan de Konink wrote: I would like to reuse configurations that have been edited using the libvirt api. For example by attaching interfaces. Now the output that dumpxml generates, is very

Re: Bug with bootloader / (Re: [libvirt] Reusing dumpxml output)

2008-08-14 Thread Daniel P. Berrange
On Thu, Aug 14, 2008 at 10:48:20AM +0200, Stefan de Konink wrote: Output from dumpxml: domain type='xen' id='-1' nameunittest_200808081319_00010/name uuid380ac319-6b7c-a471-305c-e467c1672c73/uuid bootloader/ os typelinux/type

Re: Bug with bootloader / (Re: [libvirt] Reusing dumpxml output)

2008-08-14 Thread Stefan de Konink
On Thu, 14 Aug 2008, Stefan de Konink wrote: On Thu, 14 Aug 2008, Daniel P. Berrange wrote: Then we can see about fixing it adding another test case to ensure it doesn't break again I'm going to upgrade to the latest git to be sure, I'll report back soon. New version fixes the issue. I

[libvirt] [PATCH] Delete veth devices during lxcVMCleanup

2008-08-14 Thread Dan Smith
This makes sure to delete veth devices after we've killed the container. In the case of a destroy or crash, this ensures the system is cleaned up properly. To be applied atop Daniel Berrange's current LXC patch stack. diff -r b18ae864eb98 -r cd0bd9a6288a src/lxc_driver.c --- a/src/lxc_driver.c

Re: [libvirt] [PATCH] get memory in openvz driver

2008-08-14 Thread Evgeniy Sokolov
On Thu, Aug 14, 2008 at 06:08:31PM +0400, Evgeniy Sokolov wrote: On Wed, Aug 13, 2008 at 12:50:33PM +0400, Evgeniy Sokolov wrote: OpenVZ has several parameters for memory management. All of them can be configured independetly. Summing all the different memory limits together is wrong - this

[libvirt] breaking out of virsh console?

2008-08-14 Thread Schroeder, Paul
Hello all... In my VM's inittab, I set agetty to run on ttyS0 so I could do virsh console myvm and log in from the host machine's command line. It works perfectly. Trouble is, I don't know how to break out of it to get back to the command line on my host. I've only been able to do so by

Re: [libvirt] breaking out of virsh console?

2008-08-14 Thread Andrew Cathrow
On Thu, 2008-08-14 at 11:23 -0700, Schroeder, Paul wrote: Hello all... In my VM's inittab, I set agetty to run on ttyS0 so I could do virsh console myvm and log in from the host machine's command line. It works perfectly. Trouble is, I don't know how to break out of it to get back to the

Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread Andrew Cathrow
On Thu, 2008-08-14 at 10:12 +0100, Daniel P. Berrange wrote: There is also the option to request the 'inactive' XML dump for a running domain which removes any auto-allocated params. This is just a convenience though, and not required for re-creating the VM later. What version is this in I

[libvirt] VMWare support, any news?

2008-08-14 Thread Yushu Yao
Hi All, I noticed there are some discussion about VMWare support of libvirt several back in April-May. Just wondering is there a prototype yet? The function I¹m interested in is to stop/start a VM by VMWare player/workstation/free server. Thanks, -Yushu -- Libvir-list mailing list

Re: [libvirt] Reusing dumpxml output

2008-08-14 Thread Daniel P. Berrange
On Thu, Aug 14, 2008 at 03:31:04PM -0400, Andrew Cathrow wrote: On Thu, 2008-08-14 at 10:12 +0100, Daniel P. Berrange wrote: There is also the option to request the 'inactive' XML dump for a running domain which removes any auto-allocated params. This is just a convenience though, and

Re: [libvirt] breaking out of virsh console?

2008-08-14 Thread Daniel P. Berrange
On Thu, Aug 14, 2008 at 02:26:57PM -0400, Andrew Cathrow wrote: On Thu, 2008-08-14 at 11:23 -0700, Schroeder, Paul wrote: Hello all... In my VM's inittab, I set agetty to run on ttyS0 so I could do virsh console myvm and log in from the host machine's command line. It works

Re: [libvirt] VMWare support, any news?

2008-08-14 Thread Daniel P. Berrange
On Thu, Aug 14, 2008 at 02:11:33PM -0700, Yushu Yao wrote: Hi All, I noticed there are some discussion about VMWare support of libvirt several back in April-May. Just wondering is there a prototype yet? This is no code that I'm aware of. With the recent libvirt code refactoring it should

Re: [libvirt] breaking out of virsh console?

2008-08-14 Thread Stefan de Konink
On Thu, 14 Aug 2008, Daniel P. Berrange wrote: On Thu, Aug 14, 2008 at 02:26:57PM -0400, Andrew Cathrow wrote: On Thu, 2008-08-14 at 11:23 -0700, Schroeder, Paul wrote: Hello all... In my VM's inittab, I set agetty to run on ttyS0 so I could do virsh console myvm and log in from

Re: [libvirt] VMWare support, any news?

2008-08-14 Thread Yushu Yao
Thanks Daniel, Could you point me to the simplest example of one other back-end? (I looked into test one but don't know if it has been different after refactoring). So, consider VMPlayer as an example, I need simply do a system call vmplayer --xxx yyy.vmx in the driver implementation?

Re: [libvirt] VMWare support, any news?

2008-08-14 Thread Stefan de Konink
On Thu, 14 Aug 2008, Yushu Yao wrote: Thanks Daniel, Could you point me to the simplest example of one other back-end? (I looked into test one but don't know if it has been different after refactoring). So, consider VMPlayer as an example, I need simply do a system call vmplayer

Re: [libvirt] VMWare support, any news?

2008-08-14 Thread Michael March
Vmware has an api the vmware server, vmware workstation and esx all (mostly) share. -- march -Original Message- From: Stefan de Konink [EMAIL PROTECTED] Date: Fri, 15 Aug 2008 00:33:20 To: Yushu Yao[EMAIL PROTECTED] Cc: libvir-list@redhat.com Subject: Re: [libvirt] VMWare support,

Re: [libvirt] VMWare support, any news?

2008-08-14 Thread acue
Hello, even though it might probably not be exactly what you expect, I released a GPL3-Tool, the UnifiedSessionsManager, what functionally exactly does this. It supports transparently VMware-workstation+server+player and utilizes either vmrun or vmware-cmd. For new VMs the inventory entries are

Re: [libvirt] breaking out of virsh console?

2008-08-14 Thread acue
Hello, even though this might probably not be exactly what you expect, I released a GPL3-Tool, the UnifiedSessionsManager, what functionally supports the splitted management of Clients and Servers including Headless-Mode and allows for disconnect and reconnect by a simplified addressing schema

[libvirt] Re: fail to run virsh

2008-08-14 Thread Jun Koi
Please can somebody help? I am kind of stucked here. Thanks, Jun On Thu, Aug 14, 2008 at 5:27 PM, Jun Koi [EMAIL PROTECTED] wrote: Hi, I installed libvirt (cvs version), and can confirm that libvirtd is running. However, virsh failed to work. I got the below message when running virsh with

Re: [libvirt] [PATCH] fix minor typo

2008-08-14 Thread Atsushi SAKAI
Hi, John Thank you for your suggestion. I am looking around the libvirt.pot and found 4 typos additionally. I am pushing these fixes. Thanks Atsushi SAKAI John Levon [EMAIL PROTECTED] wrote: Fix a typo in the message for the 'dump' command in virsh. Signed-off-by: John Levon [EMAIL