View previous topic :: View next topic |
Author |
Message |
Atom2 Apprentice
Joined: 01 Aug 2011 Posts: 185
|
Posted: Fri Jul 05, 2013 1:24 pm Post subject: xen-tools-4.2.2-r3 and hardware virtualization |
|
|
Hallo Forum,
I have installed xen-tools using the latest stable version 4.2.2-r3. I do require hvm and qemu, but those USE flags are obviously masked somewhere:
Code: | vm-host base # USE="hvm qemu" emerge -av xen-tools
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-misc/screen-4.0.3-r6 USE="pam -debug -multiuser -nethack (-selinux)" 821 kB
[ebuild R ] app-emulation/xen-tools-4.2.2-r3 USE="screen* -api -custom-cflags -debug -doc -flask (-hvm) (-ocaml) -pygrub (-qemu) -static-libs -xend" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
Total: 2 packages (1 new, 1 reinstall), Size of downloads: 821 kB
Would you like to merge these packages? [Yes/No] |
In the previous stable release 4.2.1-r3 the masking of USE-Flags hvm and qemu seemed to be linked to a dependency on texinfo-5 (which is unstable and which I therefore did not want to pull in) if I read the ebuild (xen-tools-4.2.1-r3.ebuild) correctly:
Code: | REQUIRED_USE="hvm? ( qemu )"
[...]
DEPEND="${CDEPEND}
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto )
qemu? ( >=sys-apps/texinfo-5 )"
|
In the latest ebuild (xen-tools-4.2.2-r3.ebuild), this dependency however seems to have gone, but nevertheless qemu and subsequently hvm are still masked resulting in hardware virtualization not working:
Code: | REQUIRED_USE="hvm? ( qemu )"
[...]
DEPEND="${CDEPEND}
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto )"
|
Could anybody provide me some help in tracking down the culprit that prevents the USE-Flags qemu and hvm to be honoured. Clearly I am happy to provide further details.
Many thanks Atom2 |
|
Back to top |
|
|
Atom2 Apprentice
Joined: 01 Aug 2011 Posts: 185
|
Posted: Sun Jul 07, 2013 11:57 am Post subject: |
|
|
O.K., I have managed to find a way around the problem as follows:
I created a file under /etc/portage/profile/use.mask
I don't know whether that's the recommended way to overcome the issues and I still do not understand, why qemu and hvm have been hardmasked during the emerge process in the first instance.
Clearly I am still interested in an explanation of emerge's reasoning to hardmask use flags. So if somebody could shed some light on that, I might be able to tackle the problem from the root and not solving it through a workaround.
Atom2 |
|
Back to top |
|
|
Flow__ n00b
Joined: 10 Jul 2007 Posts: 25
|
Posted: Tue Sep 10, 2013 7:13 pm Post subject: |
|
|
app-emulation/xen-tools qemu depends on sys-apps/texinfo-5.1 with is not stable yet. Therefore USE=qemu was masked and since hvm depends on qemu it was masked to. More info can be found at https://bugs.gentoo.org/show_bug.cgi?id=471122 and in the bugs marked as duplicate of this one. |
|
Back to top |
|
|
Atom2 Apprentice
Joined: 01 Aug 2011 Posts: 185
|
Posted: Tue Sep 10, 2013 7:47 pm Post subject: |
|
|
Thanks for your reply.
Your bug-report seems to refer to the previous version 4.2.1-r3 which indeed had that dependency in its ebuild: That is what I quoted in one of my posts above.
The ebuild for latest stable version (xen-tools-4.2.2-r3.ebuild) seems to have dropped that dependency (the relevant ebuild code is also quoted in the same post above) and that's what confused me and to be honest, it still does. To me it looks as if sys-apps/texinfo-5.1 is no longer a dependency for xen-tools-4.2.2-r3
I might however be missing something though ... |
|
Back to top |
|
|
Flow__ n00b
Joined: 10 Jul 2007 Posts: 25
|
|
Back to top |
|
|
Dr Croubie Apprentice
Joined: 21 Nov 2006 Posts: 159
|
Posted: Tue Jan 06, 2015 3:47 am Post subject: |
|
|
Atom2 wrote: | O.K., I have managed to find a way around the problem as follows:
I created a file under /etc/portage/profile/use.mask
|
FYI: This problem still exists in Xen 4.3.3-*. I got no HVM until fixing it with that use.mask kludge-around.
Code: |
> cat /etc/portage/profile/use.mask
-hvm
> grep -i hvm /etc/portage/make.conf
hvm qemu xen"
> equery l xen-tools
* Searching for xen-tools ...
[IP-] [ ] app-emulation/xen-tools-4.3.3-r1:0
> equery l xen
* Searching for xen ...
[IP-] [ ] app-emulation/xen-4.3.3-r3:0 |
|
|
Back to top |
|
|
|