Re: [libvirt] regarding libvirtd start

2009-10-05 Thread Andreas Sommer
The command should be libvirtd -d -l. I think d for daemonize and l for creating a server (e.g. local connections to the daemon need this option). In the Debian package, there's a init.d script which does the job for you (options can be defined in /etc/default/libvirt...) - maybe there's someth

Re: [libvirt] HVM startup problem"unknown root elementi for storage pool"

2009-09-09 Thread Andreas Sommer
Okay I found out what the problem was. I stumbled over the bug in the creation of the Python interface that I filed some weeks ago (https://bugzilla.redhat.com/show_bug.cgi?id=518029). Andreas Sommer wrote: Hi, I'm having a problem with starting a HVM virtual machine on Xen-3.4 with p

[libvirt] HVM startup problem"unknown root elementi for storage pool"

2009-09-08 Thread Andreas Sommer
Hi, I'm having a problem with starting a HVM virtual machine on Xen-3.4 with python-libvirt. This is the XML: b07d6538-60f5-44a9-90e7-761304968e17 b07d6538-60f5-44a9-90e7-761304968e17 destroy restart destroy 131072 1 hvm Then

[libvirt] Support for XCI (Xen Client)

2009-09-02 Thread Andreas Sommer
Hi, I just wondered whether the Xen Client project (http://www.xen.org/products/xci.html) has been tested, or is supported by libvirt at all? I'm not sure if it has a different Xen API, but it definitely has different domain configuration files - that's why I ask. Best regards -- Libvir-lis

Re: [libvirt] vTPM support in libvirt

2009-07-01 Thread Andreas Sommer
I'm still experimenting around with the vTPM patch, and I want to install my version of libvirt on a Debian system - not in my $HOME directory but on the default paths. I followed the autogen command below and also did "make install", but now virsh for example searches for the certificates in /

Re: [libvirt] vTPM support in libvirt

2009-06-27 Thread Andreas Sommer
issing. I did already try "./virsh domxml-from-native xen-xm some_config_file_that_contains_the_vtpm_line" and it gave me the correct XML answer :) Please find attached the unified diff. Best regards Andreas Daniel P. Berrange wrote: On Fri, Jun 26, 2009 at 09:30:53AM +0100,

Re: [libvirt] vTPM support in libvirt

2009-06-26 Thread Andreas Sommer
make make install then virsh is installed but cannot find libvirt.so.0. Can you help me with that or edit the installation instructions on the website? Dave Allan wrote: Andreas Sommer wrote: Hi again, I found out that the important files for the patch will be - domain_conf.c - u

Re: [libvirt] vTPM support in libvirt

2009-06-25 Thread Andreas Sommer
Hi again, I found out that the important files for the patch will be - domain_conf.c - util.h - domain_conf.h - xm_internal.c Guess I could figure out how to code it, but I still need to know how to install libvirt from sources. There's no documentation about it... Andreas Sommer wro

Re: [libvirt] vTPM support in libvirt

2009-06-25 Thread Andreas Sommer
rce code? Oh, and how do I need to configure it in order to install it on a machine (I guess "./configure --prefix=???" is important?!). Best regards Andreas Daniel P. Berrange wrote: On Thu, Jun 25, 2009 at 09:16:26AM +0100, Andreas Sommer wrote: I'm wondering if there will be

[libvirt] vTPM support in libvirt

2009-06-25 Thread Andreas Sommer
I'm wondering if there will be vTPM support in libvirt in the near future?! Xen does support it already with the configuration "vtpm = ['instance=1,backend=0']", for example. So it would be great if the libvirt XML format supported it, too... For example like this: Both attributes are

Re: [libvirt] domain.info() sometimes returns state zero for running machines

2009-06-18 Thread Andreas Sommer
aseConnect (release connection 0x9b49048 xen:///) - This is pretty weird because there are no debugging messages from Xen functions?! Daniel P. Berrange wrote: On Wed, Jun 17, 2009 at 04:04:20PM +0100, Andr

Re: [libvirt] domain.info() sometimes returns state zero for running machines

2009-06-17 Thread Andreas Sommer
= None self.lastStatus = status self.emit("status-changed", status) VIR_DOMAIN_NOSTATE doesn't make much sense in that case?! Andreas Sommer wrote: I'm using Xen-3.2-1 o

[libvirt] domain.info() sometimes returns state zero for running machines

2009-06-17 Thread Andreas Sommer
I'm using Xen-3.2-1 on Debian 5.0.1-lenny and retrieve information about running domains using domain.info()[0] The domain object is retrieved via connection.lookupByUUIDString(...) and stored as a variable called "domain". Usually the running domains have the state 1 (VIR_DOMAIN_RUNNING) or

Re: [libvirt] Xen: How to describe bridged network adapter in libvirt-XML?

2009-06-16 Thread Andreas Sommer
Fortunately I found the problem myself. Maybe I should use schema checking from now on, because I put the element outside by mistake... A small tip: "virsh dumpxml" is very good for finding out the configuration of Xen domains. Regards Andreas Hi, I'm looking for a solution to convert t

[libvirt] Xen: How to describe bridged network adapter in libvirt-XML?

2009-06-16 Thread Andreas Sommer
Hi, I'm looking for a solution to convert the Xen configuration line vif = ["bridge=eth0"] to the libvirt XML description format which can be used by the createLinux() function (using Python). I tried several things like but they didn't work. Everytime I start up the guest