Mark Williamson | 1 Apr 03:32 2005
Picon
Picon

Re: Re: qemu ELF Loader Kernel integration

> > If you have a binfmt_misc compiled to your kernel and you have
> > registered qemu as a ppc interpreter then qemu will be started
> > automatically when executing the ppc binaries. You will need to register
> > qemu as your interprer in proc interface
> > (/proc/sys/fs/binfmt_misc/register).
>
> Would this work for for exemple the flash player plugin or is it only
> for executables ?
> I am interested in doing that the other way around, for i386 code on
> linux ppc.

Shared libraries (like Netscape plugins) are a different matter: they need to 
interface intimately with the native code - you can't run part of an app. in 
QEmu.

Last time this came up, somebody suggested that you might be OK with x86 
Mozilla, with the x86 flash plugin, all under QEmu.  I've not tried this, 
YMMV ;-)

HTH,
Mark
Marian-Nicolae V. Ion | 1 Apr 10:00 2005
Picon

How to stop Windows 2K?

Hello,

I've managed to install Win2K as a guest OS (the host being Linux Fedora 
Core 3) - the
install is OK, and in the end I shutdown Win2K, then I switched to the 
Qemu (0.6.1) monitor and
typed "quit".... and then, rebooting from the hard-disk image (qcow 
format) I have "Err. lecture disque"
(error reading disk - in French). Is there something that could be done? 
(rebooting again from
the CD-ROM then trying to recover the installation does not seem to work).

BTW how could I use the accelerated module? I have compiled it, I have 
created the device
/dev/kqemu .... but it seems that nobody uses it! Even when I load the 
kqemu.ko by hand it seems
that no application uses it (and Qemu is as slow as when not loading the 
module)!

Regards,

Marian Ion
Miguel Filipe | 1 Apr 14:04 2005
Picon

Re: Running DragonFlyBSD on qemu, network device problems.

Hi again, 

On Apr 1, 2005 12:57 PM, Miguel Filipe <miguel.filipe <at> gmail.com> wrote:
> Sorry about that...
> 
> On Apr 1, 2005 12:53 PM, Miguel Filipe <miguel.filipe <at> gmail.com> wrote:
> > Hi there,
> >
> > I'm running dragonflyBSD on a qemu virtual PC on top of linux.
> > Instalation went fine.
> >
> > Configuring the ethernet is the problem:
> > 1 - dhclient ed0 gives no valid address
> > 1.a - when using tun0 for the ethernet interface to qemu
> >        dhclient results in the following kernel error/warning message:
>        date kernel: ed0: device timeout
>  - acording to qemu docs, the network interface is a ne2000 pci
> 
> 1.b - when using qemu with -user-net the error doesn't occurr..
> 
> 2 - how should one set-up a lan between the host OS (linux) and the
> guest OS in qemu (dragonflyBSD) ?

I've tried putting a dhcp server on the host OS running in the tun0
device and trying dhclient on dragonfly, but cannot tell if its ed0
device problems or me being stupid...

tcpdump tells me this:
tun0 is on host machine 10.0.0.254, and dhcpd.conf is configured for
10.0.0.5-10.
(Continue reading)

Miguel Filipe | 1 Apr 13:57 2005
Picon

Re: Running DragonFlyBSD on qemu, network device problems.

Sorry about that...

On Apr 1, 2005 12:53 PM, Miguel Filipe <miguel.filipe <at> gmail.com> wrote:
> Hi there,
> 
> I'm running dragonflyBSD on a qemu virtual PC on top of linux.
> Instalation went fine.
> 
> Configuring the ethernet is the problem:
> 1 - dhclient ed0 gives no valid address
> 1.a - when using tun0 for the ethernet interface to qemu
>        dhclient results in the following kernel error/warning message:
       date kernel: ed0: device timeout
 - acording to qemu docs, the network interface is a ne2000 pci 

1.b - when using qemu with -user-net the error doesn't occurr..

2 - how should one set-up a lan between the host OS (linux) and the
guest OS in qemu (dragonflyBSD) ?

I cannot send the dmesg or any other dragonfly info since I can't
access it besides the console, and I cannot copy&paste it.

TIA.

> 
> 
> --
> Miguel Sousa Filipe
> 
(Continue reading)

Miguel Filipe | 1 Apr 13:53 2005
Picon

Running DragonFlyBSD on qemu, network device problems.

Hi there,

I'm running dragonflyBSD on a qemu virtual PC on top of linux.
Instalation went fine.

Configuring the ethernet is the problem:
1 - dhclient ed0 gives no valid address 
1.a - when using tun0 for the ethernet interface to qemu
       dhclient results in the following kernel error/warning message:

--

-- 
Miguel Sousa Filipe
Jérôme Bouat | 1 Apr 15:05 2005
Picon

x86 emulated hardware : which make.conf options ?

I would like to install Gentoo Linux on QEmu.
I want to compile some programs in order to fit QEmu emulated hardware.

Here are the flags I assume to fit emulated hardware :
I choosed -Os to optimize global speed (with emulation). Is it true ?
---
CFLAGS="-Os -fomit-frame-pointer -pipe -march=i386 -mno-mmx -mno-3dnow
-mno-sse2"
CXXFLAGS="${CFLAGS}"
---

What do you think about it ?

Thanks,
Jérôme
Karel Gardas | 1 Apr 15:14 2005

Re: x86 emulated hardware : which make.conf options ?

On Fri, 1 Apr 2005, [ISO-8859-1] Jrme Bouat wrote:

> I would like to install Gentoo Linux on QEmu.
> I want to compile some programs in order to fit QEmu emulated hardware.
>
> Here are the flags I assume to fit emulated hardware :
> I choosed -Os to optimize global speed (with emulation). Is it true ?

-Os provides resulting binary size optimizations. If you would like to
optimize for speed then you should probably use -O2 (which is general) or
-O3 (which is quite code specific and sometimes leads to slowdown)

Cheers,
Karel
--
Karel Gardas                  kgardas <at> objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com
Miguel Filipe | 1 Apr 17:27 2005
Picon

problems with kqemu module.

I've downloaded the kqemu package yesterday, and tried to build qemu
from CVS today with that kqemu.

I've followed the instructions and the build went fine, I have
/dev/kqemu, and kqemu in /lib/modules/kernel-version/misc/kqemu.ko

My kernel is 2.6.10-5-686-smp from the ubuntu distro.
trying to modprobe kqemu gives me this:

miguel <at> garfield:/lib/modules$ sudo modprobe kqemu
FATAL: Error inserting kqemu
(/lib/modules/2.6.10-5-686-smp/misc/kqemu.ko): Invalid module format
miguel <at> garfield:/lib/modules$ sudo insmod ./2.6.10-5-686-smp/misc/kqemu.ko
insmod: error inserting './2.6.10-5-686-smp/misc/kqemu.ko': -1 Invalid
module format

Can you ppl give me any advice?

TIA, and best regards

--

-- 
Miguel Sousa Filipe
Paul Brook | 1 Apr 17:51 2005

Re: problems with kqemu module.

On Friday 01 April 2005 16:27, Miguel Filipe wrote:
> I've downloaded the kqemu package yesterday, and tried to build qemu
> from CVS today with that kqemu.
>
> I've followed the instructions and the build went fine, I have
> /dev/kqemu, and kqemu in /lib/modules/kernel-version/misc/kqemu.ko
>
> My kernel is 2.6.10-5-686-smp from the ubuntu distro.
> trying to modprobe kqemu gives me this:
>
> miguel <at> garfield:/lib/modules$ sudo modprobe kqemu
> FATAL: Error inserting kqemu
> (/lib/modules/2.6.10-5-686-smp/misc/kqemu.ko): Invalid module format
> miguel <at> garfield:/lib/modules$ sudo insmod ./2.6.10-5-686-smp/misc/kqemu.ko
> insmod: error inserting './2.6.10-5-686-smp/misc/kqemu.ko': -1 Invalid
> module format
>
> Can you ppl give me any advice?

Most likely you used the wrong kernel sources/headers. The kernel sources you 
use when building kqemu must *exactly* match the kernel you're running.

Paul
Andreas Bollhalder | 1 Apr 18:45 2005

RE: Current state of RFB patch

Hola

I have successfully testet the rfb10 patch on Mandrake 10.0 with the
current build of QEMU. It's that great, to start any guest OS using a
GUI on a Linux with only a CLI ;-) That's a big thing. As known, the
mouse behavior is a little bit odd. I use the de-ch keymap, it needs
some research for having the whole swiss german keyboard function
correctly.

Many thanks to all helping on this project.

Andreas

> -----Original Message-----
> From: qemu-devel-bounces+bolle=geodb.org <at> nongnu.org 
> [mailto:qemu-devel-bounces+bolle=geodb.org <at> nongnu.org] On 
> Behalf Of Johannes Schindelin
> Sent: Tuesday, March 22, 2005 2:13 AM
> To: qemu-devel <at> nongnu.org
> Subject: Re: [Qemu-devel] Current state of RFB patch
> 
> 
> *This message was transferred with a trial version of 
> CommuniGate(tm) Pro*
> Hi,
> 
> On Mon, 21 Mar 2005, Struan Bartlett wrote:
> 
> > This patches, but compile breaks:
> >
(Continue reading)


Gmane