> On 25 Jul 2016, at 11:44, Benjamin Herrenschmidt
> wrote:
>
> Hi folks !
>
> I could use a bit of help determining if something is quite right in
> TCG emulation of FP ops.
>
> Fabien, Tristan, you submitted a patch back in 2013:
>
> db72c9f256ae70b30c5d5985234f085df4226c55 "powerpc: corre
On 03 Jun 2014, at 12:02, Alexander Graf wrote:
> On 06/03/2014 11:14 AM, Tristan Gingold wrote:
>> Remove the code that reduce the result to float32 as the frsqrte
>> instruction is defined to return a double-precision estimate of
>> the reciprocal square root.
>>
),
reducing the exponent range is not correct.
Signed-off-by: Tristan Gingold
---
target-ppc/fpu_helper.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/target-ppc/fpu_helper.c b/target-ppc/fpu_helper.c
index cd8f015..da93d12 100644
--- a/target-ppc/fpu_helper.c
+++ b/target-ppc/fpu_helper.c
On Nov 24, 2011, at 11:44 AM, Andreas Färber wrote:
> Am 23.11.2011 22:59, schrieb Richard Henderson:
>> On 11/20/2011 12:51 PM, Andreas Färber wrote:
>>> * Part of the problem is that common CPUState fields are not at the
>>> start of the struct. I have therefore been playing with a
>>> CPU_COMM
On May 6, 2011, at 11:48 AM, Ben Leslie wrote:
> Hi all,
>
> Are there any objections to adding a --disable-cocoa configure option?
> For simulating ARM microcontrollers I have no desire or need for graphics.
Seconded. I think I have once posted such a patch.
Tristan.
On Apr 21, 2011, at 3:37 PM, Brian Wheeler wrote:
> On Thu, 2011-04-21 at 14:31 +0200, Tristan Gingold wrote:
>> On Apr 20, 2011, at 5:54 PM, Richard Henderson wrote:
>>
>>> On 04/20/2011 08:46 AM, Tristan Gingold wrote:
>>>> Right, but you could crea
On Apr 20, 2011, at 5:54 PM, Richard Henderson wrote:
> On 04/20/2011 08:46 AM, Tristan Gingold wrote:
>> Right, but you could create an ev67 machine with a single PCI
>> controller (or put all the devices on the same PCI controller).
>
> Even the lowly ds10 has two hos
On Apr 20, 2011, at 4:46 PM, Richard Henderson wrote:
> On 04/20/2011 02:06 AM, Tristan Gingold wrote:
>> * sx164 is ev56 based, isn't it ? It would be nice if cpu version specific
>> code is clearly marked.
>
> Yes, but most importantly it is the most evolved
On Apr 19, 2011, at 5:04 PM, Richard Henderson wrote:
> Changes from v1 to v2:
> - Split patch 5 up into little pieces. These pieces were compile
>tested by applying patch 23 (Enable alpha-softmmu) out of sequence
>so that both softmmu and linux-user targets were built. But in
>the
On Mar 19, 2011, at 2:44 PM, Andreas Färber wrote:
> Hello Tristan,
>
> Am 15.03.2011 um 14:18 schrieb Tristan Gingold:
>
>> When invoked with -version, qemu will exit just after displaying the version,
>> so there is no need to create a window.
>> Also handles --
On Mar 17, 2011, at 11:28 AM, François Revol wrote:
> Hi,
>
> Le 16 mars 2011 à 08:57, Tristan Gingold a écrit :
>
>>> It should fix the build issue.
>>> But QEMU is unreliable on OSX even when it gets built.
>>> I tried to bisect but lost some time tryin
On Mar 15, 2011, at 2:58 PM, Paolo Bonzini wrote:
> On 03/15/2011 02:47 PM, Tristan Gingold wrote:
>>
>> On Mar 15, 2011, at 2:34 PM, Paolo Bonzini wrote:
>>
>>> On 03/15/2011 02:16 PM, Tristan Gingold wrote:
>>>> Some POSIX OSes (such as Darwi
On Mar 15, 2011, at 2:34 PM, Paolo Bonzini wrote:
> On 03/15/2011 02:16 PM, Tristan Gingold wrote:
>> Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch
>> falls back on gettimeofday if clock_gettime is not available.
>
> This may be okay as a sto
Signed-off-by: Tristan Gingold
---
net.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index ddcca97..b2dfaa8 100644
--- a/net.c
+++ b/net.c
@@ -1305,9 +1305,10 @@ void net_check_clients(void)
{
VLANState *vlan;
VLANClientState *vc;
-int
When invoked with -version, qemu will exit just after displaying the version,
so there is no need to create a window.
Also handles --XXX options.
Signed-off-by: Tristan Gingold
---
ui/cocoa.m | 15 ---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/ui/cocoa.m b/ui
Some POSIX OSes (such as Darwin) doesn't have clock_gettime. This patch
falls back on gettimeofday if clock_gettime is not available.
Signed-off-by: Tristan Gingold
---
configure | 11 ---
qemu-thread-posix.c | 17 +++--
2 files changed, 23 insertions(
On Mar 3, 2011, at 7:43 AM, vagran wrote:
> I am using TianoCore EFI by Tristan Gingold which is published
> on http://wiki.qemu.org/download/efi-bios.tar.bz2. If you would try
> to load it on Qemu 0.14.0 (built either for i386 or x86_64) you will
> see nothing on VGA display or se
On Feb 21, 2011, at 9:14 AM, Paolo Bonzini wrote:
> On 02/21/2011 07:42 AM, Tristan Gingold wrote:
>> Mostly a style issue. It is common to always protect header files
>> against multiple inclusion, unless the header is meant to be included
>> several times (which is n
On Feb 20, 2011, at 7:14 PM, Aurelien Jarno wrote:
> On Mon, Feb 07, 2011 at 04:21:40PM +0100, Tristan Gingold wrote:
>> To avoid redefinition warnings.
> config-host.h only contains #define entries, and GCC doesn't choke when
> as long as the definitions are the same. Wha
On Feb 18, 2011, at 4:34 PM, Jan Kiszka wrote:
>
> This and the above handling of sigwait return codes changes the error
> handling strategy.
Did it ? I don't think so.
> So far we silently skipped errors, now we silently
> terminate the compatfd thread. I think none of both approaches is good
Fix compilation failure on Darwin.
Signed-off-by: Tristan Gingold
---
compatfd.c | 36 ++--
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/compatfd.c b/compatfd.c
index a7cebc4..bd377c4 100644
--- a/compatfd.c
+++ b/compatfd.c
@@ -26,45 +26,45
Fix compilation failure on Darwin.
Signed-off-by: Tristan Gingold
---
compatfd.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compatfd.c b/compatfd.c
index a7cebc4..5f7f355 100644
--- a/compatfd.c
+++ b/compatfd.c
@@ -33,9 +33,9 @@ static void *sigwait_compat(void
On Feb 15, 2011, at 11:22 AM, Peter Maydell wrote:
> On 15 February 2011 08:59, Tristan Gingold wrote:
>> @@ -770,7 +770,8 @@ static int cpu_gdb_write_register(CPUState *env, uint8_t
>> *mem_buf, int n)
>> /* fpscr */
>> if (gdb_has_xml)
From: Fabien Chouteau
Although the support of this register may be uncomplete, there are no
reason to prevent the debugger from reading or writing it.
Signed-off-by: Tristan Gingold
---
gdbstub.c |5 +++--
target-ppc/translate_init.c |5 ++---
2 files changed, 5
From: gingold
According to the PowePC 750 user's manual, the vector offset for system reset
(both /HRESET and /SRESET) is 0x00100.
Signed-off-by: Tristan Gingold
---
target-ppc/translate_init.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/targe
Handle option '-icount X' on powerpc targets.
Signed-off-by: Tristan Gingold
---
target-ppc/translate_init.c | 42 ++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
ind
On Feb 14, 2011, at 12:46 PM, Edgar E. Iglesias wrote:
> On Mon, Feb 14, 2011 at 12:34:05PM +0100, Alexander Graf wrote:
>> Tristan Gingold wrote:
>>> Potential reviewers CC:
>>>
>>> On Feb 8, 2011, at 10:59 AM, Tristan Gingold wrote:
>>>
>>&
Potential reviewers CC:
On Feb 8, 2011, at 10:59 AM, Tristan Gingold wrote:
> Handle option '-icount X' on powerpc targets.
>
> Signed-off-by: Tristan Gingold
> ---
> target-ppc/translate_init.c | 36
> 1 files changed, 3
On Feb 11, 2011, at 1:47 PM, Paolo Bonzini wrote:
> ps: HP-UX also uses IL32 on ia64. Now _that_ is hard to understand.
Backward compatibility with hppa...
VMS also uses IL32 on alpha and ia64, but it has both P32 and P64.
stan.
This function is only used within exec.c, so no need to make it public.
Signed-off-by: Tristan Gingold
---
exec-all.h |1 -
exec.c | 52 ++--
2 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/exec-all.h b/exec-all.h
i
This function is only used within exec.c, so no need to make it public.
Signed-off-by: Tristan Gingold
---
exec-all.h |1 -
exec.c |4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/exec-all.h b/exec-all.h
index 81497c0..c062693 100644
--- a/exec-all.h
+++ b
On Feb 8, 2011, at 6:58 PM, Anthony Liguori wrote:
> On 02/08/2011 04:06 AM, Aurelien Jarno wrote:
>> Yes, it's slow. But is it a problem? You assume that people use QEMU
>> only for emulating SMP platforms. This is a wrong assumption. Beside the
>> x86 target, only sparc really supports SMP emul
Handle option '-icount X' on powerpc targets.
Signed-off-by: Tristan Gingold
---
target-ppc/translate_init.c | 36
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
ind
On Feb 7, 2011, at 4:08 PM, Markus Armbruster wrote:
> Anthony Liguori writes:
>
>> On 02/07/2011 08:05 AM, Tristan Gingold wrote:
>>> In order to allow user to override cflags, predefined flags must be inserted
>>> before user cflags.
>>>
>>&
To avoid redefinition warnings.
Signed-off-by: Tristan Gingold
---
rules.mak |2 +-
scripts/create_config | 12
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/rules.mak b/rules.mak
index ed59c9e..fb38f96 100644
--- a/rules.mak
+++ b/rules.mak
In order to allow user to override cflags, predefined flags must be inserted
before user cflags.
Signed-off-by: Tristan Gingold
---
configure |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 598e8e1..f18ed0d 100755
--- a/configure
+++ b
The function qemu_next_alarm_deadline is needed by windows.
Signed-off-by: Tristan Gingold
---
qemu-timer.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/qemu-timer.c b/qemu-timer.c
index 658f637..f81300b 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -708,8 +708,6
Minor clean-up in isa-bus.c. Using hw_error is more consistent.
There is a difference however: hw_error dumps the cpu state.
Signed-off-by: Tristan Gingold
---
hw/isa-bus.c | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index
On Sep 7, 2010, at 12:22 PM, Alexander Graf wrote:
>
> On 07.09.2010, at 09:38, Tristan Gingold wrote:
>
>>
>> On Sep 7, 2010, at 12:44 AM, Andreas Färber wrote:
>>
>>> Am 05.09.2010 um 17:57 schrieb Anthony Liguori:
>>>
>>>> On 09/
On Sep 7, 2010, at 12:44 AM, Andreas Färber wrote:
> Am 05.09.2010 um 17:57 schrieb Anthony Liguori:
>
>> On 09/05/2010 10:10 AM, Avi Kivity wrote:
As a baby step, is there any chance of publishing an automatic nightly
Windows (cross-)build as a .zip file on qemu.org? That might give
On Jan 15, 2010, at 8:56 AM, Paolo Bonzini wrote:
> These are unused since edea5f0 (no need to define global registers in
> cpu-exec.c, 2008-05-10).
Why not removing env_to_regs and regs_to_env ?
On Jan 6, 2010, at 6:04 PM, Andreas Färber wrote:
>
> Am 06.01.2010 um 17:29 schrieb Richard Henderson:
>
>> since (1) ROMs other than the few supported by MILO are probably not
>> redistributable
>
> Tristan's trick here was to provide a way for the user to extract a
> non-distributable ROM
On Jan 4, 2010, at 8:19 PM, Richard Henderson wrote:
> The existing set of IPRs is totally irrelevant to user-mode emulation.
> Indeed, they most are irrelevant to implementing kernel-mode emulation,
> and would only be relevant to PAL-mode emulation, which I suspect that
> no one will ever attem
On Dec 29, 2009, at 4:30 PM, Stefan Weil wrote:
> Hi,
>
> When qemu-system-ppc is started with argument "-icount auto"
> (needed for running qemu in the emulated system),
> it will print lots of "Bad clock read" on stderr.
>
> env->can_do_io toggles between 0 and 1.
I have a patch to enable -i
On Dec 10, 2009, at 1:05 AM, Richard Henderson wrote:
>
> The following patch series results in an emulator that's good enough
> to run a good bit of the GCC testsuite, dynamic linking and all.
> There are more failures than native hardware. At first glance they
> appear to be fpu related, but
Hi,
there is no need to alloc and free a buffer in guess_disk_lchs.
io_buffer can be used instead.
This slightly simplify the code.
ide.diff
Description: Binary data
On Jan 7, 2008, at 9:19 PM, Stefan Weil wrote:
Hi,
I just wanted to run QEMU CVS with EFI BIOS:
i386-softmmu/qemu -snapshot -L efi-bios -hda efi-bios/efi.disk
linux.img -net nic,model=i82551 -net user
i82551 is part of the E100 emulator (eepro100.c).
It does not work - no output on serial
Hi,
when the length of a LFN is a multiple of 13 (ie 26 bytes), no
padding (0x or 0x) is added.
[ Linux vfat fs follows this policy: in namei.c:xlat_to_uni
*longlen = *outlen;
if (*outlen % 13) {
*op++ = 0;
*op++ = 0;
*ou
Hi,
this patch updates ppc_prep.c. It now uses qemu_ram_alloc.
The original purpose of this patch was being able to use a bios
bigger than 1MB. And updating ppc_prep.c
was a better way than increasing BIOS_SIZE.
Tristan.
qemu.diff
Description: Binary data
Hi,
this very simple patch allows to suppress the (virtual) mbr of block-
vvfat. Without an mbr, the fat filesystem
starts obviously at block 0. Some simple OS doesn't support mbr.
Tristan.
qemu.diff
Description: Binary data
Index: hw/ide.c
===
RCS file: /sources/qemu/qemu/hw/ide.c,v
retrieving revision 1.72
diff -u -r1.72 ide.c
--- hw/ide.c18 Nov 2007 01:44:37 - 1.72
+++ hw/ide.c30 Nov 2007 14:02:33 -
@@ -2042,6 +2053,7 @@
On Dec 6, 2007, at 5:58 AM, Kuniyasu Suzaki wrote:
Hello,
We tried EFI BIOS on QEMU.
http://bellard.org/qemu/efi-bios.tar.bz2
It' fine but the network is not effective. The "devices" command of
EFI
does not find a NIC.
# Linux can not set up also network.
Please tell me how to solve th
On Nov 30, 2007, at 3:12 PM, Carlo Marcelo Arenas Belon wrote:
right my bad, missed that on my copy of ATA-4 while looking for a
match to
your description of the mis-implementation, but why are you
asserting one
also for the reset?
My fault. I tried to make code common too quickly!
If I
On Nov 29, 2007, at 4:07 PM, Carlo Marcelo Arenas Belon wrote:
On Thu, Nov 29, 2007 at 02:05:36PM +0100, Tristan Gingold wrote:
according to ATA std:
which ATA std?
A rather old one: ATA-3
The pending interrupt condition shall be set by:
??? the completion of a command; or
This
Hi,
according to ATA std:
The pending interrupt condition shall be set by:
− the completion of a command; or
This patch sends an irq for WIN_DIAGNOSE (and WIN_SRST)
Tristan.
qemu.diff
Description: Binary data
On Nov 28, 2007, at 11:24 AM, Mike Frysinger wrote:
On Monday 26 November 2007, Tristan Gingold wrote:
$^ is all dependencies (ie the .c and .h files in dyngen case).
Because there is only one .c file to compile, this patch will work in
all cases.
why not simply upgrade your make to
$^ is all dependencies (ie the .c and .h files in dyngen case).
Because there is only one .c file to compile, this patch will work in
all cases.
Tristan.
diff -c -r1.136 Makefile
*** Makefile24 Nov 2007 23:35:07 - 1.136
--- Makefile26 Nov 2007 13:17:41 -
***
Hi,
when the -nographic switch is set, the input can be blocked if the OS
doesn't read bytes. This can be
boring especially when the OS is frozen and you'd like to quit qemu
or inspect registers.
I propose a solution for this issue: add input buffers to the mux
chr. Characters are accep
On Nov 8, 2007, at 5:35 PM, Eduardo Felipe wrote:
Have a look to the vvfat block device.
Thanks, I was not aware of it. I think it will fill my requirements.
Hi,
has anyone already implemented a fake device to access to the host FS ?
I am planning to implement one soon, but if it is already available...
Thanks,
Tristan.
Two side comments:
Note that most (all ?) embedded Freescale PowerPC microcontrollers
implement those extensions and that some ones are greatly interrested
with having an usable emulation avaible for those CPUs.
Has anyone started to implement spe ?
- someone provide an open-source hyperviso
On Jul 12, 2007, at 11:30 AM, Thiemo Seufer wrote:
Tristan Gingold wrote:
Hi,
any comment/review on this patch ?
Is there any interest for Win32 ? I have patches (serial input from
console) to port to the current version.
Committed.
Thanks!
Hi,
any comment/review on this patch ?
Is there any interest for Win32 ? I have patches (serial input from
console) to port to the current version.
TIA,
Tristan.
On Jul 3, 2007, at 3:03 PM, Tristan Gingold wrote:
this patch fixes two minors issue for cygwin:
* --disable-kqemu didn't
Hi,
this patch fixes two minors issue for cygwin:
* --disable-kqemu didn't work for this configuration (because
overridden)
* -mno-cygwin was missing in the final link.
Tristan.
qemu-mingw.diff
Description: Binary data
On May 4, 2007, at 3:34 PM, Wessel, Jason wrote:
Tristan,
I do not believe that is actually the problem, and arguably QEMU is
correct with timing accuracy set aside. The root of the issue is a
more
of a timing problem because the clear/set can happen atomically in
QEMU
with respect to the
Hi,
According to the documentation, reading IIR does not reset any
pending interrupt.
This issue caused VxWorks to freeze.
Tristan.
*** hw/serial.c 31 Mar 2007 16:54:14 - 1.15
--- hw/serial.c 4 May 2007 12:49:34 -
***
*** 233,242
break;
case 2:
66 matches
Mail list logo