using virsh and virt-manager for XEN on FreeBSD

Roman Bogorodskiy novel at freebsd.org
Thu Feb 21 14:52:47 UTC 2019


  Eric Bautsch wrote:

> Hi All
> 
> 
> And one more:
> 
> root at bianca # virsh -V
> Virsh command line tool of libvirt 4.10.0
> See web site at https://libvirt.org/
> 
> Compiled with support for:
>   Hypervisors: VMware PHYP VirtualBox ESX Bhyve Test
>   Networking: Remote Network Bridging
>   Storage: Dir ZFS
>   Miscellaneous: Daemon Secrets Debug Readline
> root at bianca # virsh -c xen:///system
> error: failed to connect to the hypervisor
> error: no connection driver available for xen:///system
> 
> 
> Based on this output, I'm assuming that virsh (and virt-manager, too) wasn't 
> compiled with XEN support on FreeBSD.
> 
> 
> However, this page (from 2015):
> https://forums.freebsd.org/threads/libvirt-libxl-on-freebsd.51862/
> 
> 
> Would seem to suggest that it should work.
> 
> 
> Should I just stop trying and compile my own virsh and virt-manager?
> 
> 
> Sorry, this seems like a stupid question again.
> 
> Eric

Hi Eric,

virsh comes from the devel/libvirt port (or respectful package). On
amd64, it has XEN option available which adds Xen support through libxl.
However, it's not enabled by default (therefore if you're installing
libvirt from an official repo, it won't be enabled), so you'll have to
build your own version with this option enabled.

IIRC, virt-manager supports Xen by default and does not need any
additional configuration.
> 
> 
> -- 
>   
>        ____
>       /          .                           Eric A. Bautsch
>      /--   __       ___                ______________________________________
>     /     /    /   /                  /
>    (_____/____(___(__________________/       email: eric.bautsch at pobox.com
> 



Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20190221/277232d4/attachment.sig>


More information about the freebsd-xen mailing list