* HEADS UP: Imported Xen 4.7 and blkback changes
@ 2016-06-03 12:10 Roger Pau Monné
0 siblings, 0 replies; 5+ messages in thread
From: Roger Pau Monné @ 2016-06-03 12:10 UTC (permalink / raw)
To: freebsd-xen; +Cc: xen-devel, freebsd-virt
Hello,
First of all, this message is only relevant to those that use FreeBSD as
Dom0 (host), not as a DomU (guest), so don't panic.
I've imported the latest Xen version (4.7-rc4) into the ports tree, it's
still not the final version, but it's quite close, so we better start
testing it to make sure it works fine with FreeBSD.
One of the more relevant changes in 4.7 regarding FreeBSD is the support for
block hotplug scripts. This means that we now have the option to use
backends different than simple block or regular files, provided that someone
writes the proper hotplug scripts to attach them (I've heard there are some
iSCSI hotplug scripts around). This however requires changes in blkback, so
if you plan to use the Xen 4.7 port, please make sure that you are running a
kernel that contains revision r301269 (or any later version). The same also
works the other way around, if you update your kernel past r301269, you will
have to run Xen 4.7 or else disks are not going to work.
Also, and depending on your hardware, you will also need to add
hw.pci.mcfg=0 to your /boot/loader.conf file after updating to Xen 4.7.
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HEADS UP: Imported Xen 4.7 and blkback changes
[not found] ` <alpine.BSF.2.11.1606102140290.2130@z.fncre.vasb>
@ 2016-06-13 9:22 ` Roger Pau Monné
0 siblings, 0 replies; 5+ messages in thread
From: Roger Pau Monné @ 2016-06-13 9:22 UTC (permalink / raw)
To: Marcin Cieslak; +Cc: freebsd-xen, freebsd-virt, xen-devel
On Fri, Jun 10, 2016 at 09:41:04PM +0000, Marcin Cieslak wrote:
> On Thu, 9 Jun 2016, Roger Pau Monné wrote:
>
> > On Wed, Jun 08, 2016 at 10:18:09PM +0000, Marcin Cieslak wrote:
> > > On Fri, 3 Jun 2016, Roger Pau Monné wrote:
> > >
> > > > Hello,
> > > >
> > > > First of all, this message is only relevant to those that use FreeBSD as
> > > > Dom0 (host), not as a DomU (guest), so don't panic.
> > > >
> > > > I've imported the latest Xen version (4.7-rc4) into the ports tree, it's
> > > > still not the final version, but it's quite close, so we better start
> > > > testing it to make sure it works fine with FreeBSD.
> > >
> > > Thank you Roger, this is excellent. Are xen-tools-devel 4.5 now?
> > > Looks confusing.
> > >
> > > I have also tried building xen-tools (4.7) without python
> > > and qemu configure reported this.
> >
> > Python is required, you cannot get rid of it.
>
> Strange, seems USES= python in the port's Makefile didn't work for me and
> continued happily after.
Have you been able to build the tools successfully? I'm afraid I cannot
provide much help regarding this, since I don't know that much about the
ports build system :(.
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HEADS UP: Imported Xen 4.7 and blkback changes
[not found] ` <20160609074021.uqtjio2vn7wo5h4m@mac>
@ 2016-06-10 21:41 ` Marcin Cieslak
[not found] ` <alpine.BSF.2.11.1606102140290.2130@z.fncre.vasb>
1 sibling, 0 replies; 5+ messages in thread
From: Marcin Cieslak @ 2016-06-10 21:41 UTC (permalink / raw)
To: Roger Pau Monné; +Cc: freebsd-xen, freebsd-virt, xen-devel
On Thu, 9 Jun 2016, Roger Pau Monné wrote:
> On Wed, Jun 08, 2016 at 10:18:09PM +0000, Marcin Cieslak wrote:
> > On Fri, 3 Jun 2016, Roger Pau Monné wrote:
> >
> > > Hello,
> > >
> > > First of all, this message is only relevant to those that use FreeBSD as
> > > Dom0 (host), not as a DomU (guest), so don't panic.
> > >
> > > I've imported the latest Xen version (4.7-rc4) into the ports tree, it's
> > > still not the final version, but it's quite close, so we better start
> > > testing it to make sure it works fine with FreeBSD.
> >
> > Thank you Roger, this is excellent. Are xen-tools-devel 4.5 now?
> > Looks confusing.
> >
> > I have also tried building xen-tools (4.7) without python
> > and qemu configure reported this.
>
> Python is required, you cannot get rid of it.
Strange, seems USES= python in the port's Makefile didn't work for me and
continued happily after.
Marcin
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HEADS UP: Imported Xen 4.7 and blkback changes
[not found] ` <alpine.BSF.2.11.1606082204080.2130@z.fncre.vasb>
@ 2016-06-09 7:40 ` Roger Pau Monné
[not found] ` <20160609074021.uqtjio2vn7wo5h4m@mac>
1 sibling, 0 replies; 5+ messages in thread
From: Roger Pau Monné @ 2016-06-09 7:40 UTC (permalink / raw)
To: Marcin Cieslak; +Cc: freebsd-xen, freebsd-virt, xen-devel
On Wed, Jun 08, 2016 at 10:18:09PM +0000, Marcin Cieslak wrote:
> On Fri, 3 Jun 2016, Roger Pau Monné wrote:
>
> > Hello,
> >
> > First of all, this message is only relevant to those that use FreeBSD as
> > Dom0 (host), not as a DomU (guest), so don't panic.
> >
> > I've imported the latest Xen version (4.7-rc4) into the ports tree, it's
> > still not the final version, but it's quite close, so we better start
> > testing it to make sure it works fine with FreeBSD.
>
> Thank you Roger, this is excellent. Are xen-tools-devel 4.5 now?
> Looks confusing.
>
> I have also tried building xen-tools (4.7) without python
> and qemu configure reported this.
Python is required, you cannot get rid of it.
> Also got this:
>
> ===> Registering installation for xen-tools-4.7.0
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/python2.7/site-packages/xen/lowlevel/xc.so - required shared library libxenctrl.so.4.5 not found
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/python2.7/site-packages/xen/lowlevel/xc.so - required shared library libxenguest.so.4.5 not found
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/xen/bin/qemu-system-i386 - required shared library libxenctrl.so.4.5 not found
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/xen/bin/qemu-system-i386 - required shared library libxenguest.so.4.5 not found
> Installing xen-tools-4.7.0...
>
> Adding Python manually and rebuilding seems to fix those issues.
AFAICT, this is caused by compiling the new xen-tools-4.7 port while still
having the xen-tools-4.5 port installed. Due to the ports build environment
the first path searched for libraries is /usr/local/lib instead of the one
passed on the command line by the Xen build system.
> It seems to work, I only wish we've had ports from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192012 committed...
My plate is completely full right now, so I cannot really pick this up.
However if you manage to get the ports committed I should be able to add
them to the xen-tools package.
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HEADS UP: Imported Xen 4.7 and blkback changes
[not found] <20160603120921.y5l362zgrhf4fdcb@mac>
@ 2016-06-08 22:18 ` Marcin Cieslak
[not found] ` <alpine.BSF.2.11.1606082204080.2130@z.fncre.vasb>
1 sibling, 0 replies; 5+ messages in thread
From: Marcin Cieslak @ 2016-06-08 22:18 UTC (permalink / raw)
To: Roger Pau Monné; +Cc: freebsd-xen, freebsd-virt, xen-devel
On Fri, 3 Jun 2016, Roger Pau Monné wrote:
> Hello,
>
> First of all, this message is only relevant to those that use FreeBSD as
> Dom0 (host), not as a DomU (guest), so don't panic.
>
> I've imported the latest Xen version (4.7-rc4) into the ports tree, it's
> still not the final version, but it's quite close, so we better start
> testing it to make sure it works fine with FreeBSD.
Thank you Roger, this is excellent. Are xen-tools-devel 4.5 now?
Looks confusing.
I have also tried building xen-tools (4.7) without python
and qemu configure reported this.
Also got this:
===> Registering installation for xen-tools-4.7.0
(xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/python2.7/site-packages/xen/lowlevel/xc.so - required shared library libxenctrl.so.4.5 not found
(xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/python2.7/site-packages/xen/lowlevel/xc.so - required shared library libxenguest.so.4.5 not found
(xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/xen/bin/qemu-system-i386 - required shared library libxenctrl.so.4.5 not found
(xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/xen/bin/qemu-system-i386 - required shared library libxenguest.so.4.5 not found
Installing xen-tools-4.7.0...
Adding Python manually and rebuilding seems to fix those issues.
It seems to work, I only wish we've had ports from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192012 committed...
Marcin
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-13 9:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-03 12:10 HEADS UP: Imported Xen 4.7 and blkback changes Roger Pau Monné
[not found] <20160603120921.y5l362zgrhf4fdcb@mac>
2016-06-08 22:18 ` Marcin Cieslak
[not found] ` <alpine.BSF.2.11.1606082204080.2130@z.fncre.vasb>
2016-06-09 7:40 ` Roger Pau Monné
[not found] ` <20160609074021.uqtjio2vn7wo5h4m@mac>
2016-06-10 21:41 ` Marcin Cieslak
[not found] ` <alpine.BSF.2.11.1606102140290.2130@z.fncre.vasb>
2016-06-13 9:22 ` Roger Pau Monné
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).