From owner-freebsd-xen@freebsd.org Thu Feb 21 14:52:47 2019 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1054814E35D9 for ; Thu, 21 Feb 2019 14:52:47 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5A1876237 for ; Thu, 21 Feb 2019 14:52:45 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lj1-x242.google.com with SMTP id f24-v6so24251069ljk.0 for ; Thu, 21 Feb 2019 06:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=J/wPYW3n2VL4utPb+qEgav8exm6LtKqfcovNE/72pQc=; b=Rx5beXCOvNfe3LYEOem0gusW4lak38r3DPzSc1EvubUDONmABHF6fxwf/ugTlD5uDz ucd+uhykjTKFi9m2A3oDbRcgIPPdI3ywN6y9jRUAK4ombVc6NVcBpbEn9GT+d2J7zcVP /6DFkKPu1RL7FavVoLq5IIaJg70d+rfkPUw/5j4hh1/kZBLG68iSAwXnWiXKKcA1DcVH wEsH3X+/9Ah0xSIL98SAGT+GwdR6m0wI+G5824Cb0FpFOpJSr6H5jlhiAC6qncHPbpRb Qx90Ofwfm2wtgN1+WRaZZGayQVeWUcwKOLy1S40dgk9DH5uvWSk11ZE9ObE54OFDRRMP bW/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=J/wPYW3n2VL4utPb+qEgav8exm6LtKqfcovNE/72pQc=; b=frL9TdyuBLVuX1nob6hAyzVOFWNy7L8/MKdcqkJYnhTH93DYjTp9NxH1vh+OV99RCw rYgXg3uSb6vXPBltjJfFGIsxeGZXUEFoczuggtwzf5pAP7SeKLc8Gju/Z6s76cegvmR9 6w/KD2vGastszIDJ9ndUBhnOmsCy7+A+s3s8bWX+UDKVE/uxRGR7nPjNfQhvXqYuRgyp VPvNtDvRhawYwBg2oRdZeY9RJqxrgxULs43mSLk1JZ7gmnm3BcPlXOCBbPzDohVxe0Cv rs6rCHfIrD3DIlX1RRRHVLZwhFdZX2DLpHfvvW3Eetv3GvsXnUWiF6PICwpYy1oYB09n L3VQ== X-Gm-Message-State: AHQUAuaBqnAB6ObwEJHvMud9bHtFHlEMGvynidIqX1kX2J2ot9m0Spk6 PYCtzoGXzqDzhjUtZ+/rM0s= X-Google-Smtp-Source: AHgI3IZeJ2bu+nGrEKowsnEa63zjZBaFAEAa8/85GeMXJTP4wFmhZu+pJxcmxye1F3I3rFw0JUuQ/w== X-Received: by 2002:a2e:9204:: with SMTP id k4mr7064591ljg.0.1550760763381; Thu, 21 Feb 2019 06:52:43 -0800 (PST) Received: from kloomba ([213.147.206.165]) by smtp.gmail.com with ESMTPSA id a3-v6sm5809181ljd.20.2019.02.21.06.52.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Feb 2019 06:52:42 -0800 (PST) Sender: Roman Bogorodskiy Date: Thu, 21 Feb 2019 18:52:36 +0400 From: Roman Bogorodskiy To: Eric Bautsch Cc: freebsd-xen@freebsd.org Subject: Re: using virsh and virt-manager for XEN on FreeBSD Message-ID: <20190221145235.GB1676@kloomba> References: <273ab747-00bf-0985-5be0-8a098f34ecb1@pobox.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: <273ab747-00bf-0985-5be0-8a098f34ecb1@pobox.com> User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: E5A1876237 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Rx5beXCO; spf=pass (mx1.freebsd.org: domain of bogorodskiy@gmail.com designates 2a00:1450:4864:20::242 as permitted sender) smtp.mailfrom=bogorodskiy@gmail.com X-Spamd-Result: default: False [-4.83 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[novel@freebsd.org,bogorodskiy@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[165.206.147.213.zen.spamhaus.org : 127.0.0.11]; IP_SCORE(-0.25)[ip: (3.05), ipnet: 2a00:1450::/32(-2.26), asn: 15169(-1.99), country: US(-0.07)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[novel@freebsd.org,bogorodskiy@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.77)[-0.771,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-xen@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 14:52:47 -0000 --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Eric Bautsch wrote: > Hi All >=20 >=20 > And one more: >=20 > root@bianca # virsh -V > Virsh command line tool of libvirt 4.10.0 > See web site at https://libvirt.org/ >=20 > Compiled with support for: > Hypervisors: VMware PHYP VirtualBox ESX Bhyve Test > Networking: Remote Network Bridging > Storage: Dir ZFS > Miscellaneous: Daemon Secrets Debug Readline > root@bianca # virsh -c xen:///system > error: failed to connect to the hypervisor > error: no connection driver available for xen:///system >=20 >=20 > Based on this output, I'm assuming that virsh (and virt-manager, too) was= n't=20 > compiled with XEN support on FreeBSD. >=20 >=20 > However, this page (from 2015): > https://forums.freebsd.org/threads/libvirt-libxl-on-freebsd.51862/ >=20 >=20 > Would seem to suggest that it should work. >=20 >=20 > Should I just stop trying and compile my own virsh and virt-manager? >=20 >=20 > Sorry, this seems like a stupid question again. >=20 > 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. >=20 >=20 > --=20 > =20 > ____ > / . Eric A. Bautsch > /-- __ ___ __________________________________= ____ > / / / / / > (_____/____(___(__________________/ email: eric.bautsch@pobox.com >=20 Roman Bogorodskiy --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcbrszAAoJEMltX/4IwiJqd7IH/RDGVS755FJJtPXcEwoLGxtm oegX5X3Z+e1gFOQVg3EXO4HJnK2OU3d2lrufUuiFYk/es2C9XnhGSHxzd7JGJogC 1ZZfaLVpzi5UYnUqwLO4ww9UxS0Jz6XTrFTCvmUPf198TIv2Wj9v6/AkyMfxDjNx IJ5Qd9XsrgTx9Cn0WCA2C0BQgL++Mu4NB826svu80tw/2fdaUggPZRBg8PdB+B7q EVV5Rq9R5LDeLpjMQ/tIR7L4gPYU0onHj0qIyztojL/91IjakcIsoNgtMstdt/GW +EA2iKTa+2DyVrxCtMJ/zkeG0Vv4LBElwCVZDAyt8noyT7TjTdmTrBmL7XflYko= =HBPk -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj--