[Qemu-devel] Qemu 0.7.2 on Windows - Serial port communication

2005-11-01 Thread Glenn Gagné
I installed Qemu 0.7.2 on Windows 2000 Pro and I run a Windows 95 in the 
virtual environement of Qemu. I have an old
MS-DOS application to use who communicate on serial port... But it's not 
working in the virtual environement.

Qemu is able to translate serial port data in the virtual environement through 
the real serial port (hardware) on my PC
?

Glenn Gagne
[EMAIL PROTECTED]




___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] Sound in qemu

2005-11-01 Thread Julien Lancien
Hi,

I installed qemu under linux. I launch it using -enable-audio, but I
can't get any sound. Running alsaconf or the hardware detector doesn't
find any sound card.

Is there something special I should do, and what can I do to provide
more infos ?

Thanks for the help.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Qemu 0.7.2 on Windows - Serial port communication

2005-11-01 Thread John R. Hogerhuis
On Tue, 2005-11-01 at 10:29 -0500, Glenn Gagné wrote:
 I installed Qemu 0.7.2 on Windows 2000 Pro and I run a Windows 95 in the 
 virtual environement of Qemu. I have an old
 MS-DOS application to use who communicate on serial port... But it's not 
 working in the virtual environement.
 
 Qemu is able to translate serial port data in the virtual environement 
 through the real serial port (hardware) on my PC
 ?
 

It's not working in the host or the guest?

The -serial option works fine for me with FreeDOS. I run a few DOS apps
which do serial comm. Windows should work just as well.

-- John.



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Sound in qemu

2005-11-01 Thread malc

On Tue, 1 Nov 2005, Julien Lancien wrote:


Hi,

I installed qemu under linux. I launch it using -enable-audio, but I
can't get any sound. Running alsaconf or the hardware detector doesn't
find any sound card.

Is there something special I should do, and what can I do to provide
more infos ?



Which version of qemu? Do you run any sound server (esd, arts), if yes
disable them.

--
mailto:[EMAIL PROTECTED]


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Qemu 0.7.2 on Windows - Serial port communication

2005-11-01 Thread Fabrice Bellard

Hi,

It will be supported in the next release, but only on a Linux host.

Fabrice.

Glenn Gagné wrote:

I installed Qemu 0.7.2 on Windows 2000 Pro and I run a Windows 95 in the 
virtual environement of Qemu. I have an old
MS-DOS application to use who communicate on serial port... But it's not 
working in the virtual environement.

Qemu is able to translate serial port data in the virtual environement through 
the real serial port (hardware) on my PC
?

Glenn Gagne
[EMAIL PROTECTED]




___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel







___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] Partition editing, is this a qemu / bochsbios issue?

2005-11-01 Thread Jan Grant
Running qemu 0.6.1+20050407 with bochsbios 2.1.1+20041109, under Debian 
running the 2.6.8 kernel (debian calls this 2.6.8-16) on x86 as both 
host and the on the emulated machine.

I am seeing an odd issue with parted, fdisk, etc, and anything else that 
uses the BLKRRPART ioctl to reread the partition table.

The issue is this: if I use (any) partition editor to edit the partition 
table, then primary and extended partition changes are not visible to 
the guest OS until after a virtual reboot. However, if I edit 
logical partitions (/dev/hda5 etc) within a preexisting extended 
partition, the BLKRRPART ioctl correctly picks up the changes.

There are a number of pieces to this puzzle so I'm looking for expert 
input as to whether this is an expected artifact of running under qemu.

Many thanks for any help,
jan

PS. I'd appreciate a direct CC: on any responses.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
It's a sad fact that the word semantics seems to have lost all meaning.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Qemu 0.7.2 on Windows - Serial port communication

2005-11-01 Thread John Hogerhuis
On 11/1/05, Glenn Gagné [EMAIL PROTECTED] wrote:
I installed Qemu 0.7.2 on Windows 2000 Pro and I run a Windows 95 in the virtual environement of Qemu. I have an oldMS-DOS application to use who communicate on serial port... But it's not working in the virtual environement.
Qemu is able to translate serial port data in the virtual environement through the real serial port (hardware) on my PC?Glenn Gagne[EMAIL PROTECTED]

Yeah, I didn't notice you are running QEMU on Windows. I guess serial
port is not redirectable under Windows and there are no current plans
to.

Under Linux I use -serial to redirect to a pty. Then you can use other
apps or emulators that will talk to a pty device. The most interesting
application here is probably socat or netcat since these will let you
shunt the serial channel onto pretty much any kind of two-way channel
(for example you could connect the pty to a real serial port, or a TCP
connection to an instance of socat on another machine, etc.)

For anyone who hasn't played with socat it's really an amazing tool.

-- John.
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] [patch] Thumb blx broken

2005-11-01 Thread Paul Brook
The patch below fixes a bug in the decoding of the Thumb BLX instruction.

Paul

=== target-arm/translate.c
==
--- target-arm/translate.c  (revision 1789)
+++ target-arm/translate.c  (local)
@@ -2035,7 +2035,7 @@
 gen_movl_reg_T1(s, 14);
 
 val += offset  1;
-if (insn  (1  11)) {
+if (insn  (1  12)) {
 /* bl */
 gen_jmp(s, val);
 } else {


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Bug report

2005-11-01 Thread Mike Kronenberg

Julien Lancien wrote:


Hi,

I am unable to compile qemu on my machine :p. I've attached the result
of the configure and make.

My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.

I used the CVS snapshot, but I got mostly the same problem with the
0.7.2 version.
Tell me if you want more infos, and thanks for any help.
 




___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel
 


about compiling QEMU with gcc 4.x.x
http://lists.gnu.org/archive/html/qemu-devel/2005-10/msg00312.html

Greetings
Mike


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Bug report

2005-11-01 Thread Karl Magdsick
gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.

Also, the current qemu code generator is an ugly hack that relies on some
specifics of gcc 3.x function implementation.  There is work being done
on a _real_ code generator for qemu.


-Karl

On 11/1/05, Julien Lancien [EMAIL PROTECTED] wrote:
 Hi,

 I am unable to compile qemu on my machine :p. I've attached the result
 of the configure and make.

 My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.

 I used the CVS snapshot, but I got mostly the same problem with the
 0.7.2 version.
 Tell me if you want more infos, and thanks for any help.


 ___
 Qemu-devel mailing list
 Qemu-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/qemu-devel






___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Bug report

2005-11-01 Thread Julien Lancien
On 11/1/05, Karl Magdsick [EMAIL PROTECTED] wrote:
 gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.

 Also, the current qemu code generator is an ugly hack that relies on some
 specifics of gcc 3.x function implementation.  There is work being done
 on a _real_ code generator for qemu.

I saw that there is a binary distribution for linux-i386, however,
I'ld like to also get kqemu. Is there a way to do that without getting
gcc 3 ?

Thanks.

Ps: this is a forward, I forgot to copy the ml.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Bug report

2005-11-01 Thread Philip Machanick
Find out how to run gcc 3.x if you have it installed, e.g., on mine  
(Mac OS X), gcc-3.3 does it, then:


./configure --cc=gcc-3.3

This seems to be enough (HOST_CC left as gcc doesn't break anything  
but it may be safer to set that too as 3.x).


On 02/11/2005, at 10:00 AM, Karl Magdsick wrote:

gcc 4.x is known not to compile qemu, due to a register allocation  
bug in gcc.


Also, the current qemu code generator is an ugly hack that relies  
on some
specifics of gcc 3.x function implementation.  There is work being  
done

on a _real_ code generator for qemu.


-Karl

On 11/1/05, Julien Lancien [EMAIL PROTECTED] wrote:

Hi,

I am unable to compile qemu on my machine :p. I've attached the  
result

of the configure and make.

My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.

I used the CVS snapshot, but I got mostly the same problem with the
0.7.2 version.
Tell me if you want more infos, and thanks for any help.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel







___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel




Philip Machanick School of ITEE, University of  
Queensland
Brisbane, Qld 4072, Australia  http://www.itee.uq.edu.au/ 
~philip/
phone +61(7) 3365 2766 fax +61(7) 3365 4999   
mailto:[EMAIL PROTECTED]





___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] Bug report

2005-11-01 Thread Jim C. Brown
On Tue, Nov 01, 2005 at 07:08:19PM -0500, Julien Lancien wrote:
 I saw that there is a binary distribution for linux-i386, however,
 I'ld like to also get kqemu. Is there a way to do that without getting
 gcc 3 ?
 
 Thanks.
 

kqemu is immune to the gcc 3 problem that qemu has. You can use gcc 3 qemu
with gcc 4 kqemu and gcc 4 kernel, no problems there.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] SPARC patch for OS X (big endian machines)

2005-11-01 Thread Jose Renau


 The new patch is clearly nicer (I did not know the interface), it 
solved

the bug that I reported, but It still crashes booting Linux.

 Hopefully one of my students will take a look.

On Oct 30, 2005, at 12:53 PM, Fabrice Bellard wrote:


Jose Renau wrote:
 Without the following patch, I was unable to start the Linux boot 
process
on OS X (powerPC bigendian). I tried on ia64 (Linux) and works fine 
too.


I made a more generic patch. Tell me if it still works...

Fabrice.


--
Excellence is not a skill. It is an attitude. - Ralph Marston



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] problem to build...

2005-11-01 Thread Marc Collin
hi 
 
 when i build qemu 0.7.2 i get: 
 
 qemu-0.7.2/softmmu_header.h:188: error: can't find a register in class 
‘GENERAL_REGS’ while reloading ‘asm’ 
 
 any idea? 
 
 thanks
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel