On 11/08/2011 08:40 AM, Peter Maydell wrote:
> On 8 November 2011 14:22, Jason Wessel wrote:
>> +#define FPU_MIN(size, a, b) float ## size ## _lt(a, b, &env->sse_status) ?
>> (a) : (b)
>> +#define FPU_MAX(size, a, b) float ## size ## _lt(b, a, &env->sse_statu
binding tests where it prints the message:
/binding/transform:
GLib-GObject-WARNING **: value "24.00" of type `gdouble' is invalid or out
of range for property `value' of type `gdouble'
aborting...
Using a signed comparison fixes the problem.
Signed-off-by: Jason Wessel
-
On 11/08/2011 07:48 AM, Laurent Desnogues wrote:
> On Tue, Nov 8, 2011 at 2:00 PM, Jason Wessel
> wrote:
>> The maxsd instruction needs to take into account the sign of the
>> numbers 64 bit numbers. This is a regression that was introduced in
>> 347ac8e356 (target-i
binding tests where it prints the message:
/binding/transform:
GLib-GObject-WARNING **: value "24.00" of type `gdouble' is invalid or out
of range for property `value' of type `gdouble'
aborting...
Using a signed comparison fixes the problem.
Signed-off-by: Jason Wessel
-
On 08/22/2011 11:55 PM, Alexander Graf wrote:
> When I bumped into Jason on Linuxcon, we tried out to run the e500 target
> on his Windriver build that used SPE and immediately ran into emulation
> issues. Fortunately there weren't too many, so here are the patches to get
> a guest using SPE instru
On 06/07/2010 04:03 AM, hadi motamedi wrote:
> Dear All
> Can you please let me know if the qemu emulating PowerPC (I mean
> qemu-system-ppc.exe) can accept VxWork kernet for boot up?
> Thank you
>
As is, the QEMU PowerPC platform will definitely not boot a VxWorks image.
It is possible to boot a
is possible to work around the problem by restoring the value of
env before calling raise_exception() using a new helper function that
takes (CPUState *) as one of the arguments.
Signed-off-by: Jason Wessel
---
target-i386/exec.h |1 +
target-i386/helper.c|6 +++---
target-i386
86 linux host.
If there is a better way to solve this, please let me know.
Thanks,
Jason.
---
Jason Wessel (1):
target-i386: fix crash on x86 32bit linux host with hw breakpoint
exceptions
target-i386/exec.h |1 +
target-i386/helper.c|6 +++---
target-i386/op_helper.c |
Implement sysrq for the pl011. This was tested on
the ARM Versatile AB + kernel.org 2.6.X kernel.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
---
hw/pl011.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
--- a/hw/pl011.c
+++ b/hw/pl011.c
@@ -208,7 +
ebugger is occasionally missing debug
exceptions on all archs.
Jason.
- Fix generic single step problem in vl.c
* Overwriting the ret code when there was
and interrupt pending causes the debugger
to miss exceptions
- For ppc, split run-time single stepping from the
deb
J. Mayer wrote:
> On Fri, 2007-11-02 at 08:04 -0500, Jason Wessel wrote:
>
>> The typical kernel + user space I boot on the prep machine no longer
>> boots due to an issue accessing the PVR special purpose register. When
>> the PVR is accessed from user space, it shou
aking a user space PVR access exception.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
---
target-ppc/translate_init.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -92,6 +92,13 @@ static void spr_
chembr wrote:
I'm seeing the same rtc error but my systems are not hanging. I can
still get to them and they seem to handle a good load from time to
time, 4 running proc.
Is this a stability or performance issue?
If it is a stability issue how do I test it?
- Original Message
Fro
Recover from an interupt flood by propagating the end of interrupt state.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
---
hw/apic.c | 23 +--
hw/pc.c |2 +-
2 files changed, 22 insertions(
The MoonSeeker wrote:
Hi everyone,
I'm on gentoo 2.6.20-gentoo-r8 and I'm trying to send the serial port
of my linux guest to a tcp server. To do that, i use this command :
qemu -hda linux.img -serial tcp::4000,server,nowait
And I get this error :
qemu: could not open serial device 'tcp::40
Thiemo Seufer wrote:
Jason Wessel wrote:
The attached patch adds loadvm and savevm support to the e100 driver.
One note about this patch is that the image is not portable across
big/little endian hosts. Since it already appeared that the save/load
images in general are not portable
than one way to fix problem. I opted to add the
check for the halted state to the store msr routine which is called from
the the translated code or the gdb stub. The halted state is always set
when the stub is active.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Jason.
---
targ
short cut of pushing the struct members that were not
being saved directly into the save buffer. If it is the case that the
save/load images are supposed to be endian agnostic, there is definitely
some more work that needs to be done in all the simulated hw drivers.
Signed-off-by: Jason
valid interface that packets can be sent on.
Using the attached patch, a pxe boot can be used with more than one nic,
in particular using nics of different types. I also tested to make sure
it still worked with a single nic as well.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
-loadvm from the
command line while still having the gdb stub support active.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Jason.
---
vl.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qemu/vl.c
===
--- qem
Aurelien Jarno wrote:
As discussed on IRC, the problem is only present on 32-bit hosts. It is
due to the do_ddivu which is falsely implemented using lldiv and then by
casting the result. The patch below uses / and % as on the 64-bit host
code. It is maybe slower than lldiv, but at least it gives
Aurelien Jarno wrote:
Jason Wessel a écrit :
The ethernet device does not come up correctly on a 64 MIPS target with
a 64 bit kernel.
Which Ethernet card are you using? The pcnet one is working correctly
here. I am using a 2.6.21.1 kernel.
It works perfectly fine if I boot a 32bit
The ethernet device does not come up correctly on a 64 MIPS target with
a 64 bit kernel.
I narrowed it down a bit, so I thought I might mention it.
If I add to the kernel the line:
printk("\nTest ~0UL == %lx\n", (~0UL));
It will print correctly on the real HW:
Test ~0UL == fff
This patch allows gdb to debug a 64 bit kernel running on the mips64 target.
signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Jason.
---
gdbstub.c | 80 +++---
1 file changed, 40 insertions(+), 40 deletions(-)
Index: qemu/gdb
The monitor mux code calls uses the wrong opaque structure and crashes
qemu. This patch fixes it such that the sysrq support works correctly.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Jason.
---
vl.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qem
It seems there is an issue with the translation block flushing when
writing to the code regions in the MIPS full system emulation. Using a
2.6 kernel which is basically running in single user mode, I use an
extremely simple program:
main () {
int i;
for (i = 0; i < 10; i++) {
p
J. Mayer wrote:
On Thu, 2007-04-12 at 10:49 -0500, Jason Wessel wrote:
A kernel > 4 MB ? Even on my amd64 I usually have kernels smaller than
this. Is there any need to have such a big kernel for anyone ?
Maybe no one else has the need but me... I built a kernel with nearly
all bu
Jason Wessel wrote:
There is a new regression between Apr 9 and Apr 10 in the QEMU CVS
HEAD where tcp checksums are failing again. :-(
I stand corrected it not the TCP check sums. The new PPC pic code does
not work so as to allow the ethernet device driver to receive packets.
I guess
t_config.gz
Description: GNU Zip compressed data
Adjust prep loader to deal with larger kernel images.
signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Index: linux-2.6.21-rc3/arch/ppc/boot/simple/misc.c
===
--- linux-2.6.21-rc
CONFIG_PPC_CHRP=y
CONFIG_SWAP=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LSF=y
CONFIG_BINFMT_ELF=y
CONFIG_PM=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
CONFIG_NE2K_PCI=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_SQUASHFS=y
--
Jason Wessel, SMTS Linux Products, Wind River direct +1.630.971.6420
mobile +1.630.715.4615 fax +1.630.971.6433
This patch implements a simple 24mhz clock for the versatile board such
that functions in the linux kernel can make use of these stamps. An
example user of this is the printk time stamps when using the "time"
parameter on the kernel boot line.
signed-off-by: [EMAIL PROTECTED]
Cheers,
Jason
Attached is a patch as well as an example program, where I took the code
from the from the linux kernel and made a call in with a dummy packet.
It appears the problem is the addic translation does not correctly
set/reset the carry bit, and this is a regression vs the source base on
3/7/2007.
Attached is a simple patch to enable the 2nd serial port on the malta
board. Testing shows it even allows the use of KGDB over the second
serial port.
signed-off-by: [EMAIL PROTECTED]
Jason.
Index: qemu/hw/mips_malta.c
===
---
I would like to submit the monitor multiplexing patch again. It is
ported against the latest CVS.
It allows adding monitor capabilities like stdio but with tcp for
instance, and the escape character can be changed from the default.
signed-off-by: [EMAIL PROTECTED]
Index: monitor.c
Paul the code change that was checked in here causes the zImage files I
generate not to work anymore.
Please consider the small patch which fixes the problem. The load_elf()
function is returning -1.
signed-off-by: [EMAIL PROTECTED]
Paul Brook wrote:
CVSROOT:/sources/qemu
Module n
I posted a similar patch last year, but it was not accepted for some
reason. Making this change allows UDP nfs to work to a remote file
server as well.
I would recommend, making one further change as included in this patch.
It allows KGDBOE to operate on the local host or from a remote host
Please add this patch to CVS.
The patch has two purposes:
1) The NIP needs to be updated for a tw instruction.
I found that when executing protected mode traps
the PC was always set to the begining of the code
generation block instead of the instruction the trap
occurred on.
T
When using the gcc34 compiler in FC6 QEMU will not build. It seems that
linux/compiler.h is not actually used for anything, as it continues to
build fine on other linux varients.
signed-off-by: [EMAIL PROTECTED]
Jason.
Index: qemu-101806/usb-linux.c
===
This patch fixes the registers for the 'g' and 'G' packets for the
qemu-system-x86_64 target. It allows gdb 6.5 to debug a linux kernel
and get a stack back trace.
signed-off-by: [EMAIL PROTECTED]
Thanks,
Jason.
Index: qemu/gdbstub.c
===
I have occasionally found that I have killed off gdb, and had no way to
recover a debug session to QEMU. Also the detach/kill sequence does not
work correctly protocol wise in the QEMU gdb-stub. This patch addresses
these problems.
I implemented the serial protocol commands the same way as
This patch set has been brought up to date with cvs and the time stamp
feature is abstracted now. This means you can do something like:
-serial mon:vc
Or my favorite:
-serial mon:telnet::,server
There are two patches attached to show the logical progress of the code
and
Following up to my last patch, I noticed a break; statement was missing
and cause a bit of a problem with the -echr option.
Fix is attached.
signed-off-by: [EMAIL PROTECTED]
Jason Wessel wrote:
There are two patches attached to show the logical progress of the
code and in the case that one
There are two patches attached to show the logical progress of the code
and in the case that one is not accepted the work is more easily broken
down.
The serial_mux_driver.patch must be applied first. It adds a generic
mux support for the I/O drivers internal to vl.c. The main purpose is
to
This patch simplifies the syntax of the tcp and udp options, as well as
adding the telnet protocol.
signed-off-by: [EMAIL PROTECTED]
Jason.
Index: qemu/vl.c
===
--- qemu.orig/vl.c
+++ qemu/vl.c
@@ -2203,16 +2203,16 @@ static void u
ket.
Thanks,
Jason.
Fabrice Bellard wrote:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard 06/06/25 14:49:44
Modified files:
. : vl.c qemu-doc.texi
Log message:
UDP char device (initial patch by Jason Wessel) - TCP char devic
This patch adds support for the gdb-stub to work on the Win32 host and
compile in by default. I retested to make sure everything was
compatible so as not to break the unix side.
signed-off-by: [EMAIL PROTECTED]
Thanks,
Jason.
Index: qemu/configure
===
Attached is a patch to always set the from address and port when using
slirp "-net user" type networking. It fixes the case so that the target
can boot from udp NFS as well as the case where different instances of
an application over time go through the same redirection port with
different s
Daniel,
Here is the revised patch (against CVS HEAD 5/21/06). The docs are
updated as well.
signed-off-by: [EMAIL PROTECTED]
Cheers,
Jason.
Daniel Jacobowitz wrote:
Hi Jason,
Not that I'm always good about this myself, but could I ask you to
follow this paragraph from the GDB manual, sinc
This patch add support for remote net consoles via udp similar to what
you would do with a net console with u-boot or a linux kernel.
Typically you use the netcat tool for this.
This patch also partially abstracts the ability to switch between the
monitor and the main focus of a port. I say
) 2006 Wind River Systems, Inc.
+ * Written by Alex deVries and Jason Wessel
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
deal
+ * in the Software without restriction,
This patch fixes the execution of undefined instructions for ARM. With
out it the virtualized CPU incorrectly executes the do_abort vector instead.
signed-off-by: [EMAIL PROTECTED]
Jason.
Index: qemu/target-arm/translate.c
===
-
This patch adds breakpoint and single stepping support for PPC via the
gdb stub.
signed-off-by: [EMAIL PROTECTED]
Jason.
Index: qemu/target-ppc/translate.c
===
--- qemu.orig/target-ppc/translate.c
+++ qemu/target-ppc/translate.c
This patch adds the functionality to the gdb-stub to single step with
the IRQs and timers disabled. It greatly improves gdb's ability to
perform run control while running a linux kernel and stepping off of
breakpoints or stepping into certain types of functions. I have also
included individ
I am submitting 5 different patches for improvements to qemu as separate
e-mails so as to get feedback and further change the patches if needed
in the hope they will be accepted. I will make further changes to the
docs if needed as well.
Each feature has been tested on a linux 2.6 kernel and
stepping (Jason Wessel)
version 0.8.0:
Index: target-arm/translate.c
===
RCS file: /sources/qemu/qemu/target-arm/translate.c,v
retrieving revision 1.41
diff -u -r1.41 translate.c
--- target-arm/translate.c 9 Apr 2006 14:38:57 -
Has anyone seen user land page fault problems where gdb does not work
with the qemu-system-arm ?
I compile my kernel with CONFIG_DEBUG_USER so as to add a debug hook for
user land page faults, which you can see in the case of running gdb below.
I ran gdb on /bin/ls just as a simple case, IE
Paul Brook did all the hard work for the Versatile PB.
The Versatile AB is quite similar to the PB but has a different
expansion bus and flash. This patch adds Versatile AB support so you can
boot an unmodified ARM Versatile AB kernel.
signed-off-by: [EMAIL PROTECTED]
Thanks,
Jason.
Index:
Attached is a patch to add the case for interrupting the gdbstub and
sending the correct signal to gdb.
The gdb serial protocol states that if you interrupt the stub with a
"control-c" in gdb that it should stop with S02 (SIGINT) to indicate
that it was interrupted. I also added the tlb flus
58 matches
Mail list logo