On Fri, Feb 24, 2006 at 01:43:23AM -0800, Diwaker Gupta wrote: > > Are you running a recent version of xen ? My guess is that you don't > > have http enabled in /etc/xen/xend-config.sxp > > Yep, I track unstable. The HTTP server was off. Thanks, it works now! > You might want to add this to the documentation (if its already there, > I might have missed it). I checked, it's there in point #3 of the Installation part of the FAQ http://libvirt.org/FAQ.html#Installati > > Most of the operations are now carried though Xend HTTP interface. > > Just out of curiosity, why is the HTTP server a requirement? From > xen-devel, it seems people are trying to move away from running a HTTP > server. Its possible to get all the information directly from xenstore > anyways right? Well, the problem is if you're running as a user. If running as root I think the connection to xend goes though a local socket not an IP HTTP server, and should work even if the server is off. If you run as an user accessing to the xen store need to tweak the permissions on the read only socket anyway. More generally most of the operation from libvirt are safer being carried over the xend control I was told, if I access directly the hypervisor (and this mandates root permissions on Dom 0) then I will confuse xend internal state about the running domains. There is also some APIs like Create/Save/Restore that can't be done easilly within libvirt even with xen store access, and get close to trivial if you go though xend. Basically at the moment Xend sits on the domain management, and it's nearly unavoidable to go though it. > Also, since libvirt is going to track Xen development, I hope its safe > to assume that libvirt will move to XML-RPC when Xend does? Yes Anthony is leading this, as as far as I understand he already has patches which could be added to libvirt once the upstream version of xend will have XML-RPC included. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@xxxxxxxxxx | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/