* [Qemu-devel] [Bug 1790260] [NEW] binfmt support not working for x86 host and x86_64 guest
@ 2018-09-01 3:20 elypter
2021-05-02 5:48 ` [Bug 1790260] " Thomas Huth
2021-07-02 4:17 ` Launchpad Bug Tracker
0 siblings, 2 replies; 3+ messages in thread
From: elypter @ 2018-09-01 3:20 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
this is a problem in the qemu-binfmt-conf.sh script and maybe somewhere
else. the version i checked is the current github mirror
https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
i am running linux mint 19 32bit on a 32bit x86 cpu and i want to run
some applications that are only available as x86_64 packages. i use
multiarch and qemu and it works for simple applications like cacafire.
however i want to run the application natively from the shell without
having to use qemu-x86_64 <path>. i also installed the binfmt-support
package. when i run update-binfmts --display then an extry for x86_64 is
missing and transparent execution is not working.
the problem seems to be in the qemu-binfmt-conf.sh script. it disables
the creation of entries for cpus of the same family. this is not a
problem if you are using a 64bit cpu because 32bit binaries run on it
natively but it doesnt work in the opposite way. hacking line 310 from
if [ "$host_family" != "$family" ] ; then
to
if [ "$cpu" = "x86_64" ] || [ "$host_family" != "$family" ] ;
then
and running it with the --systemd ALL parameter causes a x86_64 config
file to be created. it still doesnt work but that might have different
causes.
** Affects: qemu
Importance: Undecided
Status: New
** Description changed:
this is a problem in the qemu-binfmt-conf.sh script and maybe somewhere
else. the version i checked is the current github mirror
https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
i am running linux mint 19 32bit on a 32bit x86 cpu and i want to run
some applications that are only available as x86_64 packages. i use
multiarch and qemu and it works for simple applications like cacafire.
however i want to run the application natively from the shell without
having to use qemu-x86_64 <path>. i also installed the binfmt-support
package. when i run update-binfmts --display then an extry for x86_64 is
missing and transparent execution is not working.
the problem seems to be in the qemu-binfmt-conf.sh script. it disables
the creation of entries for cpus of the same family. this is not a
problem if you are using a 64bit cpu because 32bit binaries run on it
- natively but it doesnt work in the opposite way. hacking line 310 to
+ natively but it doesnt work in the opposite way. hacking line 310 from
- if [ "$cpu" = "x86_64" ] || [ "$host_family" != "$family" ] ;
+ if [ "$host_family" != "$family" ] ; then
+
+ to
+
+ if [ "$cpu" = "x86_64" ] || [ "$host_family" != "$family" ] ;
then
and running it with the --systemd ALL parameter causes a x86_64 config
file to be created. it still doesnt work but that might have different
causes.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1790260
Title:
binfmt support not working for x86 host and x86_64 guest
Status in QEMU:
New
Bug description:
this is a problem in the qemu-binfmt-conf.sh script and maybe
somewhere else. the version i checked is the current github mirror
https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
i am running linux mint 19 32bit on a 32bit x86 cpu and i want to run
some applications that are only available as x86_64 packages. i use
multiarch and qemu and it works for simple applications like cacafire.
however i want to run the application natively from the shell without
having to use qemu-x86_64 <path>. i also installed the binfmt-support
package. when i run update-binfmts --display then an extry for x86_64
is missing and transparent execution is not working.
the problem seems to be in the qemu-binfmt-conf.sh script. it disables
the creation of entries for cpus of the same family. this is not a
problem if you are using a 64bit cpu because 32bit binaries run on it
natively but it doesnt work in the opposite way. hacking line 310 from
if [ "$host_family" != "$family" ] ; then
to
if [ "$cpu" = "x86_64" ] || [ "$host_family" != "$family" ] ;
then
and running it with the --systemd ALL parameter causes a x86_64 config
file to be created. it still doesnt work but that might have different
causes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1790260/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 1790260] Re: binfmt support not working for x86 host and x86_64 guest
2018-09-01 3:20 [Qemu-devel] [Bug 1790260] [NEW] binfmt support not working for x86 host and x86_64 guest elypter
@ 2021-05-02 5:48 ` Thomas Huth
2021-07-02 4:17 ` Launchpad Bug Tracker
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2021-05-02 5:48 UTC (permalink / raw)
To: qemu-devel
The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.
If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.
Thank you and sorry for the inconvenience.
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1790260
Title:
binfmt support not working for x86 host and x86_64 guest
Status in QEMU:
Incomplete
Bug description:
this is a problem in the qemu-binfmt-conf.sh script and maybe
somewhere else. the version i checked is the current github mirror
https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
i am running linux mint 19 32bit on a 32bit x86 cpu and i want to run
some applications that are only available as x86_64 packages. i use
multiarch and qemu and it works for simple applications like cacafire.
however i want to run the application natively from the shell without
having to use qemu-x86_64 <path>. i also installed the binfmt-support
package. when i run update-binfmts --display then an extry for x86_64
is missing and transparent execution is not working.
the problem seems to be in the qemu-binfmt-conf.sh script. it disables
the creation of entries for cpus of the same family. this is not a
problem if you are using a 64bit cpu because 32bit binaries run on it
natively but it doesnt work in the opposite way. hacking line 310 from
if [ "$host_family" != "$family" ] ; then
to
if [ "$cpu" = "x86_64" ] || [ "$host_family" != "$family" ] ;
then
and running it with the --systemd ALL parameter causes a x86_64 config
file to be created. it still doesnt work but that might have different
causes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1790260/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 1790260] Re: binfmt support not working for x86 host and x86_64 guest
2018-09-01 3:20 [Qemu-devel] [Bug 1790260] [NEW] binfmt support not working for x86 host and x86_64 guest elypter
2021-05-02 5:48 ` [Bug 1790260] " Thomas Huth
@ 2021-07-02 4:17 ` Launchpad Bug Tracker
1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-02 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1790260
Title:
binfmt support not working for x86 host and x86_64 guest
Status in QEMU:
Expired
Bug description:
this is a problem in the qemu-binfmt-conf.sh script and maybe
somewhere else. the version i checked is the current github mirror
https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
i am running linux mint 19 32bit on a 32bit x86 cpu and i want to run
some applications that are only available as x86_64 packages. i use
multiarch and qemu and it works for simple applications like cacafire.
however i want to run the application natively from the shell without
having to use qemu-x86_64 <path>. i also installed the binfmt-support
package. when i run update-binfmts --display then an extry for x86_64
is missing and transparent execution is not working.
the problem seems to be in the qemu-binfmt-conf.sh script. it disables
the creation of entries for cpus of the same family. this is not a
problem if you are using a 64bit cpu because 32bit binaries run on it
natively but it doesnt work in the opposite way. hacking line 310 from
if [ "$host_family" != "$family" ] ; then
to
if [ "$cpu" = "x86_64" ] || [ "$host_family" != "$family" ] ;
then
and running it with the --systemd ALL parameter causes a x86_64 config
file to be created. it still doesnt work but that might have different
causes.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1790260/+subscriptions
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-02 4:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-01 3:20 [Qemu-devel] [Bug 1790260] [NEW] binfmt support not working for x86 host and x86_64 guest elypter
2021-05-02 5:48 ` [Bug 1790260] " Thomas Huth
2021-07-02 4:17 ` Launchpad Bug Tracker
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).