Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Richard W.M. Jones
Marco Sinhoreli wrote: Hello all, I have a problem to compile the virt-manager in a Debian etch (64 bit version). I got the virt-manager source from mercurial repository. Bellow the output autogen.sh command: ./autogen.sh libtoolize: `config.guess' exists: use `--force' to overwrite

Re: [Libvir] CPU pinning of domains at creation time

2007-10-18 Thread Daniel Veillard
On Thu, Oct 18, 2007 at 10:10:59AM +0900, Saori Fukuta wrote: On Wed, 17 Oct 2007 10:53:17 -0400 Daniel Veillard wrote: On Thu, Oct 11, 2007 at 10:45:44AM -0500, Ryan Harper wrote: I think we should support the same cpuset notation that Xen supports, which means including ranges (1-4) and

[Libvir] Is it possible to add an interface to intercept the migration process?

2007-10-18 Thread Meng Ran
Hi All, I'm thinking about if it possible to add an interface to let user specified action to happen on destination during the migration, this should be useful for migrating things that have different paths on source and destination. Allowing specified action(callback) to happen at a time

Re: [Libvir] Is it possible to add an interface to intercept the migration process?

2007-10-18 Thread Jack Meng
Hi Richard, Thanks for your reply. Actually I'm thinking about how to recognize the same storage (probably external), not things on them. Sometimes storages are shared between hosts but have different paths to access, e.g., for fibre channel storages. So an update to the conf file is probably

Re: [Libvir] Is it possible to add an interface to intercept the migration process?

2007-10-18 Thread Richard W.M. Jones
Jack Meng wrote: Hi Richard, Thanks for your reply. Actually I'm thinking about how to recognize the same storage (probably external), not things on them. Sometimes storages are shared between hosts but have different paths to access, e.g., for fibre channel storages. So an update to the

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Marco Sinhoreli
Hello Rickard, Thanks a lot for your attention. :-) Reporting: It seems fixed the problems. autogen.sh command is worked without any errors, and warnings messages, however it isn't creating the configure script. Best regards, -- Marco Sinhoreli -- Libvir-list mailing list

Re: [Libvir] avoid reading uninitialized memory in test program

2007-10-18 Thread Daniel Veillard
On Wed, Oct 17, 2007 at 01:34:21PM +0200, Jim Meyering wrote: valgrind complained about the printf in conftest.c. Here's the fix: * src/conf.c (__virConfWriteMem): Fix typos in comment. * tests/conftest.c (main): Use fwrite, not printf, since the result buffer is not

Re: [Libvir] memory error in another test

2007-10-18 Thread Daniel Veillard
On Wed, Oct 17, 2007 at 03:45:42PM +0200, Jim Meyering wrote: Avoid memory error in a test program. * tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Initialize vm.migrateFrom[0], to avoid read-uninitialized error from within qemudBuildCommandLine. Index:

Re: [Libvir] PATCH: Remote protocol receive+dispatch cleanup

2007-10-18 Thread Daniel Veillard
On Wed, Oct 17, 2007 at 09:26:36PM +0100, Daniel P. Berrange wrote: Dating the from time when we had both the QEMU generic remote protocol there are tiny qemud/protocol.{x,c,h} files basically just containing one struct for the packet header. This is more or less duplicated in the remote

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Richard W.M. Jones
Marco Sinhoreli wrote: Hello Rickard, Thanks a lot for your attention. :-) Reporting: It seems fixed the problems. autogen.sh command is worked without any errors, and warnings messages, however it isn't creating the configure script. Not sure ... It definitely worked for me when I tried it

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Marco Sinhoreli
Hi, On 10/18/07, Richard W.M. Jones [EMAIL PROTECTED] wrote: Marco Sinhoreli wrote: Hello Rickard, Thanks a lot for your attention. :-) Reporting: It seems fixed the problems. autogen.sh command is worked without any errors, and warnings messages, however it isn't creating the

Re: [Libvir] Is it possible to add an interface to intercept the migration process?

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 05:29:53PM +0800, Jack Meng wrote: Thanks for your reply. Actually I'm thinking about how to recognize the same storage (probably external), not things on them. Sometimes storages are shared between hosts but have different paths to access, e.g., for fibre channel

Re: [Libvir] Concepts in storage management

2007-10-18 Thread Daniel P. Berrange
On Tue, Oct 16, 2007 at 04:19:29PM +0100, Daniel P. Berrange wrote: Application users = - virt-manager / virt-install - Enumerate available pools - Allocate volume from pool - Create guest with volume When we support migration the storage API should let us do

Re: [Libvir] CPU pinning of domains at creation time

2007-10-18 Thread Daniel Veillard
On Thu, Oct 18, 2007 at 04:53:15AM -0400, Daniel Veillard wrote: On Wed, Oct 17, 2007 at 10:14:56PM -0400, beth kon wrote: This is certainly a nit, but I might change parseCpuNumber to parseNumber, since it looks a little odd that you are getting the cell id from the cpu number. A nit to

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Richard W.M. Jones
Marco Sinhoreli wrote: The autogen.sh output: ./autogen.sh libtoolize: `config.guess' exists: use `--force' to overwrite libtoolize: `config.sub' exists: use `--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force' to overwrite hecking for a BSD-compatible install...

[Libvir] Proposal for the storage API (for discussion only)

2007-10-18 Thread Richard W.M. Jones
This is an outline for the storage API, for discussion only. It is mostly unimplemented, but presented as a kind of literate patch, so you can read the API calls and how they could be implemented. I've tried to follow as far as possible operations which are needed in order to make

Re: [Libvir] PATCH: RFC supporting SASL authentication

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 10:44:57AM -0400, Daniel Veillard wrote: On Wed, Oct 17, 2007 at 10:21:56PM +0100, Daniel P. Berrange wrote: A legacy client getting back REMOTE_AUTH code will just quit the connection attempt since they don't support authentication. If the admin so desires they can

答复: [Libvir] Is it possible to add an interface to intercept themigration process?

2007-10-18 Thread Jack.Meng
Hi Dan, Thanks for the info, /Jack -邮件原件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表 Daniel P. Berrange 发送时间: 2007年10月18日 23:28 收件人: Jack Meng 抄送: libvir-list@redhat.com; [EMAIL PROTECTED] 主题: Re: [Libvir] Is it possible to add an interface to intercept themigration

Re: [Libvir] Proposal for the storage API (for discussion only)

2007-10-18 Thread Richard W.M. Jones
John Levon wrote: On Thu, Oct 18, 2007 at 06:11:48PM +0100, Richard W.M. Jones wrote: virStorageListGroups virStorageCreateVolume - for discovering and creating partitions, LVs, LUNs, c. So a ZFS pool would be a Group in this API, and a zvol a 'Volume'? I'm afraid I don't know

[Libvir] storage API and ZFS

2007-10-18 Thread John Levon
Accidentally deleted your reply Richard, sorry. ZFS 'pools' are aggregates composed of some number of real devices. LVM confuses me so I don't know what they map on to, but the basic idea is that you can carve filesystems out of such pools at will. You can also carve out 'volumes' - these

Re: [Libvir] Proposal for the storage API (for discussion only)

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 06:11:48PM +0100, Richard W.M. Jones wrote: This is an outline for the storage API, for discussion only. It is mostly unimplemented, but presented as a kind of literate patch, so you can read the API calls and how they could be implemented. I've tried to follow as

Re: [Libvir] storage API and ZFS

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 06:58:38PM +0100, John Levon wrote: Accidentally deleted your reply Richard, sorry. ZFS 'pools' are aggregates composed of some number of real devices. LVM confuses me so I don't know what they map on to, but the basic idea is that you can carve filesystems out of

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Marco Sinhoreli
Okay, Reporting all steps: # hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel # cd virt-manager--devel # patch -p1 ../virt-manager-no-portability-warning.patch # patch -p1 ../virt-manager-no-sources.patch # autoreconf -f -i -Wno-portability | tee /tmp/autoreconf.log

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 03:46:09PM -0300, Marco Sinhoreli wrote: Okay, Reporting all steps: # hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel # cd virt-manager--devel # patch -p1 ../virt-manager-no-portability-warning.patch # patch -p1

Re: [Libvir] Proposal for the storage API (for discussion only)

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 07:30:22PM +0100, Richard W.M. Jones wrote: Daniel P. Berrange wrote: Virt-manager may currently handle these two concepts of block files separately, but this is only because we had no choice due to lack of any storage API. I have long wanted to clean this up to just

Re: [Libvir] Proposal for the storage API (for discussion only)

2007-10-18 Thread Richard W.M. Jones
Daniel P. Berrange wrote: Virt-manager may currently handle these two concepts of block files separately, but this is only because we had no choice due to lack of any storage API. I have long wanted to clean this up to just have the concept of storage pools volumes within it. I did notice

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Richard W.M. Jones
Marco Sinhoreli wrote: The configure script was found, but the Makefile hasn't been created. Need to see the full messages. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire,

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Marco Sinhoreli
Virt-manager is compiled from mercurial tree but it isn't working. I don't know why. After run the virt-manager command, it was finished without output error and the window wasn't created. If you need more informations about ask me what informations I should sent. regards -- Marco Sinhoreli --

Re: [Libvir] PATCH: RFC supporting SASL authentication

2007-10-18 Thread Daniel Veillard
On Thu, Oct 18, 2007 at 06:22:17PM +0100, Daniel P. Berrange wrote: On Thu, Oct 18, 2007 at 10:44:57AM -0400, Daniel Veillard wrote: On Wed, Oct 17, 2007 at 10:21:56PM +0100, Daniel P. Berrange wrote: A legacy client getting back REMOTE_AUTH code will just quit the connection attempt

Re: [Libvir] Opening KVM guest in xterm rather than vnc

2007-10-18 Thread Daniel P. Berrange
On Thu, Oct 18, 2007 at 03:52:59PM -0700, David Mueller wrote: I'm trying to setup my virtual machines to display in an xterm window rather than a VNC window. The guests and host are Fedora 7; the guest only needs to run in a console mode (no X11). I see a bit on

Re: [Libvir] Problem to compile virt-manager in debian etch

2007-10-18 Thread Jim Paris
Virt-manager is compiled from mercurial tree but it isn't working. I don't know why. After run the virt-manager command, it was finished without output error and the window wasn't created. If you need more informations about ask me what informations I should sent. I ran into that too -- make

[Libvir] Opening KVM guest in xterm rather than vnc

2007-10-18 Thread David Mueller
I'm trying to setup my virtual machines to display in an xterm window rather than a VNC window. The guests and host are Fedora 7; the guest only needs to run in a console mode (no X11). I see a bit on http://libvirt.org/format.html about using a console tag instead of graphics in my XML, but I