Re: [libvirt] win32

2009-04-06 Thread Daniel P. Berrange
On Sat, Apr 04, 2009 at 02:52:49PM +0200, Brecht Sanders wrote:
> Hi,
> Is there any way to compile libvirt with xen some support without 
> depending on libxenstore?
> The reason I ask is that libxen can be built on Windows, but libxenstore 
> seems to depend on the linux kernel, so I doubt it can be built for Windows.

Why do you want to build the Xen driver on Windows ? Windows isn't a
Xen host, so it seems rather pointless. For a Windows client all you
need to build is the 'remote' driver. Our recommended configure options
for a Windows build are:

  ./configure \
--without-sasl \
--without-avahi \
--without-polkit \
--without-python \
--without-xen \
--without-qemu \
--without-lxc \
--without-uml \
--without-openvz \
--without-libvirtd

This gives you a libvirt.so containing the remote client that can talk
to libvirtd on any UNIX host.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] win32

2009-04-04 Thread Brecht Sanders

Daniel Veillard wrote:

On Sat, Apr 04, 2009 at 02:52:49PM +0200, Brecht Sanders wrote:
  

Hi,
Is there any way to compile libvirt with xen some support without  
depending on libxenstore?
The reason I ask is that libxen can be built on Windows, but libxenstore  
seems to depend on the linux kernel, so I doubt it can be built for 
Windows.



  Honnestly I don't think anybody ever tried. The only drivers usually
compiled on Win32 are remote and possibly test. Basically so far we expected
libvirt on Windows to be only a way to access libvirtd remotely. But
patches to improve/extend this are as usual welcome !
  
Well, I have tried in the past, and I think I actually got libvirt 0.4.4 
to build with MinGW/MSYS on Windows, but unfortunately only static 
libraries.

Bet back then only libxen was needed, not libxenstore.
Shouldn't it - in theory - be possible to build a libvirt for Windows 
without the need for a remote libvirtd?
What made me optimistical was the possibility to build libxen and the 
fact that Qemu also runs on Windows.

Regards
   Brecht
--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] win32

2009-04-04 Thread Daniel Veillard
On Sat, Apr 04, 2009 at 02:52:49PM +0200, Brecht Sanders wrote:
> Hi,
> Is there any way to compile libvirt with xen some support without  
> depending on libxenstore?
> The reason I ask is that libxen can be built on Windows, but libxenstore  
> seems to depend on the linux kernel, so I doubt it can be built for 
> Windows.

  Honnestly I don't think anybody ever tried. The only drivers usually
compiled on Win32 are remote and possibly test. Basically so far we expected
libvirt on Windows to be only a way to access libvirtd remotely. But
patches to improve/extend this are as usual welcome !

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] win32

2009-04-04 Thread Brecht Sanders

Hi,
Is there any way to compile libvirt with xen some support without 
depending on libxenstore?
The reason I ask is that libxen can be built on Windows, but libxenstore 
seems to depend on the linux kernel, so I doubt it can be built for Windows.

Regards
   Brecht Sanders

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list